hlp = plugin_load('helper', 'tagging'); if ($_SERVER['REQUEST_METHOD'] === 'POST') { if (checkSecurityToken()) { if (isset($_POST['action']['rename'])) { $this->message = $this->hlp->renameTag($_POST['action']['formerTagName'], $_POST['action']['newTagName']); } } } } function html() { global $ID; $tags = $this->hlp->getAllTags(); include dirname(__FILE__) . '/admin_tpl.php'; } }