]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-admins_mails.php
Referal levels for surfbar added (unfinished)
[mailer.git] / inc / modules / admin / what-admins_mails.php
index 724d2ae12b82eeb4dc9c42b7fc9ba33500b8af59..d10136d258657076558bb1cd3ac41284b7320623 100644 (file)
@@ -47,8 +47,8 @@ if (isset($_POST['edit']))
        if ($SEL > 0)
        {
                // Add option for userlog
-               $ADMINS = ADD_OPTION_LINES("admins", "id", "login", "", "email");
-               $SW = 2; $ROWS = "";
+               $cacheArray['admins'] = ADD_OPTION_LINES("admins", "id", "login", "", "email");
+               $SW = 2; $rowNameS = "";
                foreach ($_POST['sel'] as $template=>$sel)
                {
                        // First of all load data from DB
@@ -80,7 +80,7 @@ if (isset($_POST['edit']))
                                'id'      => $id,
                                'id2'     => $id2,
                                'tpl'     => $template,
-                               'admins'  => $ADMINS
+                               'admins'  => $cacheArray['admins']
                        );
 
                        if ($aid2 > 0)
@@ -92,10 +92,10 @@ if (isset($_POST['edit']))
                        $content['content'] = $OUT;
 
                        // Start outputing line
-                       $ROWS .= LOAD_TEMPLATE("admin_admins_mails_edit_row", true, $content);
+                       $rowNameS .= LOAD_TEMPLATE("admin_admins_mails_edit_row", true, $content);
                        $SW = 3 - $SW;
                }
-               define('__ADMINS_ROWS', $ROWS);
+               define('__ADMINS_ROWS', $rowNameS);
 
                // Edit checked entries
                LOAD_TEMPLATE("admin_admins_mails_edit");