* @todo document this\r
*/\r
function action_pluginupdate() {\r
- global $member, $manager;\r
+ global $member, $manager, $CONF;\r
\r
// check if allowed\r
$member->isAdmin() or $this->disallow();\r
}\r
}\r
\r
- redirect('?action=pluginlist');\r
+ redirect($CONF['AdminURL'] . '?action=pluginlist');\r
// $this->action_pluginlist();\r
}\r
\r
<input type="hidden" name="plugid" value="<?php echo $pid; ?>" />\r
<input type="submit" tabindex="10" value="<?php echo _DELETE_CONFIRM_BTN?>" />\r
</div></form>\r
- <?php $this->pagefoot();\r
+ <?php\r
+ $this->pagefoot();\r
}\r
\r
/**\r
* @todo document this\r
*/\r
function action_plugindeleteconfirm() {\r
- global $member, $manager;\r
+ global $member, $manager, $CONF;\r
\r
// check if allowed\r
$member->isAdmin() or $this->disallow();\r
$this->error($error);\r
}\r
\r
- redirect('?action=pluginlist');\r
+ redirect($CONF['AdminURL'] . '?action=pluginlist');\r
// $this->action_pluginlist();\r
}\r
\r
* @todo document this\r
*/\r
function action_pluginup() {\r
- global $member, $manager;\r
+ global $member, $manager, $CONF;\r
\r
// check if allowed\r
$member->isAdmin() or $this->disallow();\r
\r
//$this->action_pluginlist();\r
// To avoid showing ticket in the URL, redirect to pluginlist, instead.\r
- redirect('?action=pluginlist');\r
+ redirect($CONF['AdminURL'] . '?action=pluginlist');\r
}\r
\r
/**\r
* @todo document this\r
*/\r
function action_plugindown() {\r
- global $member, $manager;\r
+ global $member, $manager, $CONF;\r
\r
// check if allowed\r
$member->isAdmin() or $this->disallow();\r
\r
//$this->action_pluginlist();\r
// To avoid showing ticket in the URL, redirect to pluginlist, instead.\r
- redirect('?action=pluginlist');\r
+ redirect($CONF['AdminURL'] . '?action=pluginlist');\r
}\r
\r
/**\r