hlp = plugin_load('helper', 'tagging'); } /** * We allow use by managers * * @return bool always false */ function forAdminOnly() { return false; } /** * Handle tag actions */ function handle() { if (!empty($_REQUEST['cmd']['clean'])) { checkSecurityToken() && $this->hlp->deleteInvalidTaggings(); } if (!$this->hlp->getParams()) { $this->hlp->setDefaultSort(); return false; } $this->hlp->setDefaultSort(); if (!checkSecurityToken()) { return false; } } /** * Draw the interface */ public function html() { echo $this->locale_xhtml('intro'); echo $this->hlp->html_table(); echo $this->locale_xhtml('clean'); echo $this->hlp->html_clean(); } }