protected function setTitleEditZone()
    {
        if (isset($this->data_zone['zone_id'])) {
            $title = $this->text('Edit %name', array('%name' => $this->data_zone['title']));
        } else {
            $title = $this->text('Add zone');
        }

        $this->setTitle($title);
    }
protected function setTitleEditZone()
    {
        if (isset($this->data_zone['zone_id'])) {
            $title = $this->text('Edit %name', array('%name' => $this->data_zone['title']));
        } else {
            $title = $this->text('Add zone');
        }

        $this->setTitle($title);
    }
protected function setTitleEditZone ( ) { if ( isset ( $ this -> data_zone [ 'zone_id' ] ) ) { $ title = $ this -> text ( 'Edit %name' , array ( '%name' => $ this -> data_zone [ 'title' ] ) ) ; } else { $ title = $ this -> text ( 'Add zone' ) ; } $ this -> setTitle ( $ title ) ; }
Sets titles on the edit zone page
Sets titles on the edit zone page