X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Flibs%2Fuser_functions.php;h=533dded2603b1c82f61b5a379ed236919d74ac4f;hb=8127c0351f2fe329e72d9fd302ba3c5f30d1fab0;hp=4701307d3df9eedb425d934a2faae55307a55abf;hpb=75ad748a68473ace540251427a74fb781b1145e9;p=mailer.git
diff --git a/inc/libs/user_functions.php b/inc/libs/user_functions.php
index 4701307d3d..533dded260 100644
--- a/inc/libs/user_functions.php
+++ b/inc/libs/user_functions.php
@@ -40,13 +40,13 @@ 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']);
/* Creates the list of letters and makes them a link. */
- $alphabet = array(_ALL2, "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", _OTHERS);
+ $alphabet = array(_ALL2, "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", 'N', "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", 'Y', "Z", _OTHERS);
$num = count($alphabet) - 1;
$OUT = "";
while (list($counter, $ltr) = each($alphabet))
@@ -63,9 +63,9 @@ function alpha($sortby, $colspan, $return=false)
if (!empty($_GET['mode'])) $OUT .= "&mode=".SQL_ESCAPE($_GET['mode']);
$OUT .= "&letter=".$ltr."&sortby=".$sortby.$ADD."\">".$ltr."";
}
- 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 .= " ]
[ ";
+ $OUT .= " ]
[ ";
}
elseif ( $counter != $num )
{
@@ -84,7 +84,7 @@ function alpha($sortby, $colspan, $return=false)
else
{
// Output generated code
- OUTPUT_HTML ($OUT);
+ OUTPUT_HTML($OUT);
}
}
//
@@ -130,7 +130,7 @@ function SortLinks($letter, $sortby, $colspan, $return=false)
else
{
// Output code
- OUTPUT_HTML ($OUT);
+ OUTPUT_HTML($OUT);
}
}
//
@@ -195,7 +195,7 @@ function ADD_PAGENAV($PAGES, $offset, $show_form, $colspan,$return=false)
else
{
// Output code
- OUTPUT_HTML ($OUT);
+ OUTPUT_HTML($OUT);
}
}
// Create email link to user's account