--- a/branches/2.5.4/cgi-bin/yabb2/Sources/TabMenu.pm
+++ b/branches/2.5.4/cgi-bin/yabb2/Sources/TabMenu.pm
@@ -1,6 +1,6 @@
 ###############################################################################
 # TabMenu.pm                                                                  #
-# $Date: 2013-06-25 15:33:13 +0000 (Tue, 25 Jun 2013) $
+# $Date: 2013-07-03 15:15:05 +0000 (Wed, 03 Jul 2013) $
 ###############################################################################
 # YaBB: Yet another Bulletin Board                                            #
 # Open-Source Community Software for Webmasters                               #
@@ -14,7 +14,7 @@
 ###############################################################################
 our $VERSION = '2.5.4';
 
-$tabmenupmver = 'YaBB 2.5.4 $Revision: 1081 $';
+$tabmenupmver = 'YaBB 2.5.4 $Revision: 1085 $';
 if ( $action eq 'detailedversion' ) { return 1; }
 
 LoadLanguage('TabMenu');
@@ -108,14 +108,20 @@
 qq~<li><span |><a href="$scripturl?action=ml" title = "$img_txt{'331'}">$img_txt{'331'}</a></span></li>~;
     }
     if ($iamadmin) {
+        if ($do_scramble_id) { $user = cloak($username); }
+        else { $user = $username;}
+
         $tab{'admin'} =
-qq~<li><span |><a href="$boardurl/AdminIndex.$yyaext" title = "$img_txt{'2'}">$img_txt{'2'}</a></span></li>~;
+qq~<li><span |><a href="$boardurl/AdminIndex.$yyaext?action=admincheck;username=$user" title = "$img_txt{'2'}">$img_txt{'2'}</a></span></li>~;
+#qq~<li><span |><a href="$boardurl/AdminIndex.$yyaext" title = "$img_txt{'2'}">$img_txt{'2'}</a></span></li>~;
     }
     if ($iamgmod) {
         get_gmod();
         if ($allow_gmod_admin) {
+            if ($do_scramble_id) { $user = cloak($username); }
+            else { $user = $username;}
             $tab{'admin'} =
-qq~<li><span |><a href="$boardurl/AdminIndex.$yyaext" title = "$img_txt{'2'}">$img_txt{'2'}</a></span></li>~;
+qq~<li><span |><a href="$boardurl/AdminIndex.$yyaext?action=admincheck;username=$user" title = "$img_txt{'2'}">$img_txt{'2'}</a></span></li>~;
         }
     }
     if ( $sessionvalid == 0 && !$iamguest ) {