X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-guestedit.php;h=d7543eaa8ae5c95fc4b371dd07074bdef2194c0a;hb=1410e014d23f244e73d3a7916a61c2473416bab9;hp=5465448686a6f29fb7f0ae10fdf525f1c8ed1bf2;hpb=2e715eb7f3f8ca8d259aacb4cbbddde7d9d18e01;p=mailer.git diff --git a/inc/modules/admin/what-guestedit.php b/inc/modules/admin/what-guestedit.php index 5465448686..d7543eaa8a 100644 --- a/inc/modules/admin/what-guestedit.php +++ b/inc/modules/admin/what-guestedit.php @@ -38,7 +38,7 @@ // Some security stuff... if ((!defined('__SECURITY')) || (!isAdmin())) { die(); -} +} // END - if // Add description as navigation point addYouAreHereLink('admin', __FILE__); @@ -179,7 +179,7 @@ if ((isFormSent('edit')) && (ifPostContainsSelections()) && (!isDemoModeActive() adminProcessMenuEditForm('guest', $subMenu); } else { // Handle weightning - doAdminProcessMenuWeightning('guest'); + doAdminProcessMenuWeightning('guest', $AND); // By default list menus if (empty($subMenu)) { @@ -211,13 +211,9 @@ if ((isFormSent('edit')) && (ifPostContainsSelections()) && (!isDemoModeActive() $NAVI = '{--HIGHER--}'; } elseif ($data['sort'] > 0) { // Anything else between highest and lowest - $NAVI = '{--HIGHER--}/{--LOWER--}'; + $NAVI = '{--HIGHER--}|{--LOWER--}'; } - if (empty($data['action'])) $data['action'] = ' '; - if (empty($data['what'])) $data['what'] = ' '; - if (empty($data['title'])) $data['title'] = ' '; - // Prepapre content $row = array( 'id' => $data['id'], @@ -242,7 +238,7 @@ if ((isFormSent('edit')) && (ifPostContainsSelections()) && (!isDemoModeActive() loadTemplate('admin_edit_guest_menu', false, $content); } else { // Menu entries are missing... (???) - loadTemplate('admin_settings_saved', false, '{--ADMIN_NO_MENUS_FOUND--}'); + displayMessage('{--ADMIN_NO_MENUS_FOUND--}'); } }