]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/user_functions.php
More rewrites/templates swapped out:
[mailer.git] / inc / libs / user_functions.php
index 549340dd24c98f67d265ce918a9abbd731bdad4a..012ff2c6b405016dcbad17e2245f1012d328f2cf 100644 (file)
@@ -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);