]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-list_doubler.php
Adding of network type handlers finished (listing is still work-in-progress)
[mailer.git] / inc / modules / admin / what-list_doubler.php
index ecd2457b4720fdbfdd8f0b68b0a64e83d1e3324a..b979debaa5e93ae9a21e181a707ae57959a1c44c 100644 (file)
@@ -46,10 +46,10 @@ addMenuDescription('admin', __FILE__);
 
 if (!isGetRequestElementSet('mode')) {
        // Chosse the overview page as default
-       setRequestGetElement('mode', 'overview');
+       setGetRequestElement('mode', 'overview');
 } else {
        // Set table title automatically
-       if (!isGetRequestElementSet('select')) setRequestGetElement('select', 'all');
+       if (!isGetRequestElementSet('select')) setGetRequestElement('select', 'all');
 
        // Prepare header
        $content['list_' . strtolower(getRequestElement('mode'))] = getMessage('ADMIN_DOUBLER_LIST_' . strtoupper(getRequestElement('mode')) . '_' . strtoupper(getRequestElement('select')).'');
@@ -75,7 +75,7 @@ switch (getRequestElement('mode')) {
                if ($cnt > 0) {
                        // Something was payed out
                        $sumAlready += $cnt;
-                       $content['already_direct_link'] = "<a href=\"{%url=modules.php?module=admin&amp;what=list_doubler&amp;mode=already&amp;select=direct%}\">".$cnt."</a>";
+                       $content['already_direct_link'] = '<a href="{%url=modules.php?module=admin&amp;what=list_doubler&amp;mode=already&amp;select=direct%}">' . $cnt . '</a>';
                } // END - if
 
                $cnt = countSumTotalData('Y','doubler','id','completed',true, " AND `is_ref`='Y'");
@@ -83,7 +83,7 @@ switch (getRequestElement('mode')) {
                if ($cnt > 0) {
                        // Something was payed out
                        $sumAlready += $cnt;
-                       $content['already_ref_link'] = "<a href=\"{%url=modules.php?module=admin&amp;what=list_doubler&amp;mode=already&amp;select=ref%}\">".$cnt."</a>";
+                       $content['already_ref_link'] = '<a href="{%url=modules.php?module=admin&amp;what=list_doubler&amp;mode=already&amp;select=ref%}">' . $cnt . '</a>';
                } // END - if
 
                // And the same for waiting pouts (direct and referal)
@@ -92,7 +92,7 @@ switch (getRequestElement('mode')) {
                if ($cnt > 0) {
                        // Something was payed out
                        $sumWaiting += $cnt;
-                       $content['waiting_direct_link'] = "<a href=\"{%url=modules.php?module=admin&amp;what=list_doubler&amp;mode=waiting&amp;select=direct%}\">".$cnt."</a>";
+                       $content['waiting_direct_link'] = '<a href="{%url=modules.php?module=admin&amp;what=list_doubler&amp;mode=waiting&amp;select=direct%}">' . $cnt . '</a>';
                } // END - if
 
                $cnt = countSumTotalData('N','doubler','id','completed',true, " AND `is_ref`='Y'");
@@ -100,12 +100,12 @@ switch (getRequestElement('mode')) {
                if ($cnt > 0) {
                        // Something was payed out
                        $sumWaiting += $cnt;
-                       $content['waiting_ref_link'] = "<a href=\"{%url=modules.php?module=admin&amp;what=list_doubler&amp;mode=waiting&amp;select=ref%}\">".$cnt."</a>";
+                       $content['waiting_ref_link'] = '<a href="{%url=modules.php?module=admin&amp;what=list_doubler&amp;mode=waiting&amp;select=ref%}">' . $cnt . '</a>';
                } // END - if
 
                // Links for all
-               $content['already_all_link'] = "<a href=\"{%url=modules.php?module=admin&amp;what=list_doubler&amp;mode=already&amp;select=all%}\">".$sumAlready."</a>";
-               $content['waiting_all_link'] = "<a href=\"{%url=modules.php?module=admin&amp;what=list_doubler&amp;mode=waiting&amp;select=all%}\">".$sumWaiting."</a>";
+               $content['already_all_link'] = '<a href="{%url=modules.php?module=admin&amp;what=list_doubler&amp;mode=already&amp;select=all%}">' . $sumAlready . '</a>';
+               $content['waiting_all_link'] = '<a href="{%url=modules.php?module=admin&amp;what=list_doubler&amp;mode=waiting&amp;select=all%}">' . $sumWaiting . '</a>';
 
                // All data is loaded here...
                break;