X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Flibs%2Fuser_functions.php;h=012ff2c6b405016dcbad17e2245f1012d328f2cf;hp=549340dd24c98f67d265ce918a9abbd731bdad4a;hb=76fd13e5938a334f08e43893eb9a4ff49f72bf07;hpb=38a92ff3698a71039adcc05c0c63260c231ea1b5 diff --git a/inc/libs/user_functions.php b/inc/libs/user_functions.php index 549340dd24..012ff2c6b4 100644 --- a/inc/libs/user_functions.php +++ b/inc/libs/user_functions.php @@ -70,8 +70,14 @@ function alpha ($sortby, $colspan, $return=false) { } } // END - while + // Prepare content + $content = array ( + 'colspan2' => $colspan, + 'alpha_selection' => $OUT + ); + // Load template - $OUT = loadTemplate('admin_list_user_alpha', true, $OUT); + $OUT = loadTemplate('admin_list_user_alpha', true, $content); if ($return === true) { // Return generated code return $OUT; @@ -118,7 +124,9 @@ function addSortLinks ($letter, $sortby, $colspan, $return=false) { } } // END - foreach + // Add list and colspan $content['list'] = substr($OUT, 0, -13); + $content['colspan2'] = $colspan; // Load template $OUT = loadTemplate('admin_list_user_sort', true, $content);