]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/user_functions.php
Several more constants rewritten to getConfig()
[mailer.git] / inc / libs / user_functions.php
index 194314edb15a3a7bac699a6aa51bd67ae05a8f16..75861062de939c864b922b2aa1e5398816cf4c53 100644 (file)
@@ -58,7 +58,7 @@ function alpha ($sortby, $colspan, $return=false) {
                        $OUT .= "<strong>".$ltr."</strong>";
                } else {
                        // Output link to letter
                        $OUT .= "<strong>".$ltr."</strong>";
                } else {
                        // Output link to letter
-                       $OUT .= "<a href=\"{!URL!}/modules.php?module=admin&amp;what=".getWhat();
+                       $OUT .= "<a href=\"{?URL?}/modules.php?module=admin&amp;what=".getWhat();
                        if (REQUEST_ISSET_GET('mode')) $OUT .= "&amp;mode=".REQUEST_GET('mode');
                        $OUT .= "&amp;letter=".$ltr."&amp;sortby=".$sortby.$add."\">".$ltr."</a>";
                }
                        if (REQUEST_ISSET_GET('mode')) $OUT .= "&amp;mode=".REQUEST_GET('mode');
                        $OUT .= "&amp;letter=".$ltr."&amp;sortby=".$sortby.$add."\">".$ltr."</a>";
                }
@@ -116,7 +116,7 @@ function SortLinks ($letter, $sortby, $colspan, $return=false) {
                if ($sortby == $sort) {
                        $OUT .= "<strong>" . $title . "</strong>&nbsp;|&nbsp;";
                } else {
                if ($sortby == $sort) {
                        $OUT .= "<strong>" . $title . "</strong>&nbsp;|&nbsp;";
                } else {
-                       $OUT .= "<a href=\"{!URL!}/modules.php?module=admin&amp;what=list_user&amp;letter=" . $letter . "&amp;sortby=" . $sort.$add . "\">" . $title . "</a>&nbsp;|&nbsp;";
+                       $OUT .= "<a href=\"{?URL?}/modules.php?module=admin&amp;what=list_user&amp;letter=" . $letter . "&amp;sortby=" . $sort.$add . "\">" . $title . "</a>&nbsp;|&nbsp;";
                }
        } // END - foreach
 
                }
        } // END - foreach
 
@@ -154,7 +154,7 @@ function ADD_PAGENAV ($PAGES, $offset, $show_form, $colspan,$return=false) {
                        if (!REQUEST_ISSET_GET('sortby')) REQUEST_SET_GET('sortby', 'userid');
 
                        // Base link
                        if (!REQUEST_ISSET_GET('sortby')) REQUEST_SET_GET('sortby', 'userid');
 
                        // Base link
-                       $OUT .= '<a href="{!URL!}/modules.php?module=admin&amp;what=' . getWhat();
+                       $OUT .= '<a href="{?URL?}/modules.php?module=admin&amp;what=' . getWhat();
 
                        // Add status or mode
                        if (REQUEST_ISSET_GET('status'))    $OUT .= '&amp;mode=' . REQUEST_GET('status');
 
                        // Add status or mode
                        if (REQUEST_ISSET_GET('status'))    $OUT .= '&amp;mode=' . REQUEST_GET('status');
@@ -209,7 +209,7 @@ LIMIT 1",
                list($uid) = SQL_FETCHROW($result);
 
                // Rewrite email address to contact link
                list($uid) = SQL_FETCHROW($result);
 
                // Rewrite email address to contact link
-               $email = '{!URL!}/modules.php?module=' . $mod . '&amp;what=user_contct&amp;uid=' . bigintval($uid);
+               $email = '{?URL?}/modules.php?module=' . $mod . '&amp;what=user_contct&amp;uid=' . bigintval($uid);
        } // END - if
 
        // Free memory
        } // END - if
 
        // Free memory