wernis extension is now alpha code (only listing in admin area is missing), naming...
[mailer.git] / inc / libs / user_functions.php
index cf44c26d78d3253107dbc67cbbc5be088769f77e..533dded2603b1c82f61b5a379ed236919d74ac4f 100644 (file)
@@ -40,7 +40,7 @@ if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))
 
 function alpha($sortby, $colspan, $return=false)
 {
-       global $CONFIG;
+       global $_CONFIG;
        if (empty($_GET['offset'])) $_GET['offset'] = "0";
        $ADD = "&page=".$_GET['page']."&offset=".$_GET['offset'];
        if (!empty($_GET['mode'])) $ADD .= "&mode=".SQL_ESCAPE($_GET['mode']);
@@ -63,7 +63,7 @@ function alpha($sortby, $colspan, $return=false)
                        if (!empty($_GET['mode'])) $OUT .= "&mode=".SQL_ESCAPE($_GET['mode']);
                        $OUT .= "&amp;letter=".$ltr."&amp;sortby=".$sortby.$ADD."\">".$ltr."</A>";
                }
-               if ((($counter / $CONFIG['user_alpha']) == round($counter / $CONFIG['user_alpha'])) && ($counter > 0))
+               if ((($counter / $_CONFIG['user_alpha']) == round($counter / $_CONFIG['user_alpha'])) && ($counter > 0))
                {
                        $OUT .= "&nbsp;]<br />[&nbsp;";
                }