public function gettitle()
 {
     if ($this->name == 'edit' && $this->idget() != 0) {
         return $this->lang->edit;
     }
     return parent::gettitle();
 }
示例#2
0
 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');
     }
 }