]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-adminedit.php
More EL used, this has fixed double calls of translateComma() in various places
[mailer.git] / inc / modules / admin / what-adminedit.php
index 874fa092f56376d3aa4da2598166701c2597d25c..95f2180a2db0886fd4318b641fd93d09875571de 100644 (file)
@@ -14,8 +14,6 @@
  * $Date::                                                            $ *
  * $Tag:: 0.2.1-FINAL                                                 $ *
  * $Author::                                                          $ *
- * Needs to be in all Files and every File needs "svn propset           *
- * svn:keywords Date Revision" (autoprobset!) at least!!!!!!            *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
  * Copyright (c) 2009, 2010 by Mailer Developer Team                    *
@@ -40,7 +38,7 @@
 // Some security stuff...
 if ((!defined('__SECURITY')) || (!isAdmin())) {
        die();
-}
+} // END - if
 
 // Add description as navigation point
 addMenuDescription('admin', __FILE__);
@@ -100,7 +98,7 @@ if ((isFormSent('edit')) && (ifPostContainsSelections()) && (!isDemoModeActive()
 
        // Load template
        loadTemplate('admin_edit_admin_menu_form', false, $content);
-} elseif ((isFormSent('del')) && (ifPostContainsSelections()) && (!isDemoModeActive())) {
+} elseif ((isFormSent('delete')) && (ifPostContainsSelections()) && (!isDemoModeActive())) {
        // Prepare misc content
        $content['sub'] = $SUB;
        $content['chk'] = countPostSelection();
@@ -122,7 +120,7 @@ if ((isFormSent('edit')) && (ifPostContainsSelections()) && (!isDemoModeActive()
                                        'cnt'  => $cnt,
                                        'sel'  => $sel,
                                );
-                               $OUT .= loadTemplate('admin_del_admin_menu_row', true, $data);
+                               $OUT .= loadTemplate('admin_delete_admin_menu_row', true, $data);
                        } else {
                                // Entry not found?
                                $data = array(
@@ -137,7 +135,7 @@ if ((isFormSent('edit')) && (ifPostContainsSelections()) && (!isDemoModeActive()
        $content['cnt'] = $cnt;
 
        // Load template
-       loadTemplate('admin_del_admin_menu', false, $content);
+       loadTemplate('admin_delete_admin_menu', false, $content);
 } elseif ((isFormSent()) && (!isDemoModeActive())) {
        // An action is done...
        switch (postRequestParameter('ok')) {
@@ -171,7 +169,7 @@ LIMIT 1",
                        loadTemplate('admin_settings_saved', false, '{--SETTINGS_SAVED--}');
                        break;
 
-               case 'del': // Delete menu
+               case 'delete': // Delete menu
                        foreach (postRequestParameter('sel') as $sel => $menu) {
                                SQL_QUERY_ESC("DELETE LOW_PRIORITY FROM `{?_MYSQL_PREFIX?}_admin_menu` WHERE ".$AND." AND `id`=%s LIMIT 1",
                                        array(bigintval($sel)), __FILE__, __LINE__);