public function gettitle() { if ($this->name == 'edit' && $this->idget() != 0) { return $this->lang->edit; } return parent::gettitle(); }
public function gettitle() { if ($this->idpost == 0) { return parent::gettitle(); } else { if (isset(tlocal::admin()->ini[$this->name]['editor'])) { return tlocal::get($this->name, 'editor'); } return tlocal::get('editor', 'editor'); } }