]> git.mxchange.org Git - mailer.git/blobdiff - inc/template-functions.php
Same color for admin action links
[mailer.git] / inc / template-functions.php
index 37b557fb741e2579b534345888789b4deabab528..1c2fac4d400b81209db643c3a5114be1dcc515b2 100644 (file)
@@ -654,7 +654,7 @@ function compileRawCode ($code, $simple = false, $constants = true, $full = true
 }
 
 //
-function addSelectionBox ($type, $default, $prefix = '', $id = '0', $class = 'register_select') {
+function addSelectionBox ($type, $default, $prefix = '', $id = '0', $class = 'guest_select') {
        $OUT = '';
 
        if ($type == 'yn') {
@@ -1040,7 +1040,7 @@ function generateMemberAdminActionLinks ($userid) {
        $OUT = '[';
 
        foreach ($targetArray as $tar) {
-               $OUT .= '<span class="admin_user_link"><a href="{%url=modules.php?module=admin&amp;what=' . $tar . '&amp;userid=' . $userid . '%}" title="{--ADMIN_LINK_';
+               $OUT .= '<span class="admin_user_link"><a href="{%url=modules.php?module=admin&amp;what=' . $tar . '&amp;userid=' . $userid . '%}" title="{--ADMIN_USER_ACTION_LINK_';
                //* DEBUG: */ debugOutput('*' . $tar.'/' . $status.'*');
                if (($tar == 'lock_user') && ($status == 'LOCKED')) {
                        // Locked accounts shall be unlocked
@@ -1049,7 +1049,7 @@ function generateMemberAdminActionLinks ($userid) {
                        // All other status is fine
                        $OUT .= strtoupper($tar);
                }
-               $OUT .= '_TITLE--}">{--ADMIN_';
+               $OUT .= '_TITLE--}">{--ADMIN_USER_ACTION_LINK_';
                if (($tar == 'lock_user') && ($status == 'LOCKED')) {
                        // Locked accounts shall be unlocked
                        $OUT .= 'UNLOCK_USER';