public function gettitle() { if ($this->name == 'edit' && $this->idget() != 0) { return $this->lang->edit; } return parent::gettitle(); }
protected function create() { parent::create(); $this->showcolumns = array(); //tfilestorage::loadvar(litepublisher::$paths->data . 'commentscolumns.php', $this->showcolumns); if (isset($_COOKIE['tablecolumns'])) { $this->showcolumns = unserialize($_COOKIE['tablecolumns']); } if (!in_array(true, $this->showcolumns)) { $this->showcolumns = array(); } }
public function gethead() { $result = parent::gethead(); if (!empty($_GET['plugin'])) { $name = $_GET['plugin']; if (in_array($name, $this->names)) { if ($admin = $this->getadminplugin($name)) { if (method_exists($admin, 'gethead')) { $result .= $admin->gethead(); } } } } return $result; }
public function gethead() { return parent::gethead() . tuitabs::gethead(); }
public static function i($id = 0) { return parent::iteminstance(__CLASS__, $id); }
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'); } }