]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-list_country.php
Admin menu has now a JavaScript "effect":
[mailer.git] / inc / modules / admin / what-list_country.php
index 069d2ea0b113fb5914ce04e419d6c214fcb8cc27..2523a39fe130f4b84638341d2a92997284007791 100644 (file)
@@ -83,7 +83,7 @@ if ((isFormSent('add')) && (isPostRequestElementSet('code')) && (isPostRequestEl
                if (isFormSent('edit')) {
                        // Edit template
                        $row    = 'admin_edit_country_row';
-                       $post   = 'modify';
+                       $do     = 'modify';
                        $class  = 'form_submit';
                        $submit = '{--ADMIN_COUNTRY_EDIT_NOW--}';
                        $title  = '{--ADMIN_COUNTRY_EDIT_TITLE--}';
@@ -91,7 +91,7 @@ if ((isFormSent('add')) && (isPostRequestElementSet('code')) && (isPostRequestEl
                } else {
                        // Delete template
                        $row    = 'admin_delete_country_row';
-                       $post   = 'remove';
+                       $do     = 'remove';
                        $class  = 'form_delete';
                        $submit = '{--ADMIN_COUNTRY_DELETE_NOW--}';
                        $title  = '{--ADMIN_COUNTRY_DELETE_TITLE--}';
@@ -122,7 +122,7 @@ if ((isFormSent('add')) && (isPostRequestElementSet('code')) && (isPostRequestEl
                // Prepare content for template
                $content = array(
                        'rows'   => $OUT,
-                       'mode'   => $post,
+                       'do'     => $do,
                        'class'  => $class,
                        'title'  => $title,
                        'submit' => $submit,