diff --git a/admin/manage_custom_nav_elements.php b/admin/manage_custom_nav_elements.php index d1d78ae5..7d06e59c 100644 --- a/admin/manage_custom_nav_elements.php +++ b/admin/manage_custom_nav_elements.php @@ -4,6 +4,7 @@ define('IN_SCRIPT', 1); define('HESK_PATH', '../'); define('PAGE_TITLE', 'ADMIN_CUSTOM_NAV_ELEMENTS'); define('MFH_PAGE_LAYOUT', 'TOP_ONLY'); +define('EXTRA_JS', ''); /* Get all the required files and functions */ require(HESK_PATH . 'hesk_settings.inc.php'); @@ -18,12 +19,6 @@ hesk_isLoggedIn(); //hesk_checkPermission('can_man_custom_nav'); -// Are we saving? -if (isset($_POST['action'])) { - if ($_POST['action'] == 'save') { - save(); - } -} /* Print header */ require_once(HESK_PATH . 'inc/headerAdmin.inc.php'); @@ -68,113 +63,38 @@ require_once(HESK_PATH . 'inc/show_admin_nav.inc.php');