Global rewrite of engine:
[mailer.git] / inc / modules / admin / what-list_doubler.php
index add9a8dfd566edd5d20511bfc8b6a96b7fc2c3e9..ecd2457b4720fdbfdd8f0b68b0a64e83d1e3324a 100644 (file)
@@ -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;