Difference between revisions of "Think.pedia:Common.css"

From think.pedia
Jump to: navigation, search
 
Line 2: Line 2:
 
#ca-history { display: none !important; }
 
#ca-history { display: none !important; }
 
#ca-viewsource { display: none !important; }
 
#ca-viewsource { display: none !important; }
 +
 +
<!-- No [view source] tab for anonymous users -->
 +
<?php global $wgUser; if( $wgUser->isAnon() ) { ?>
 +
      <style type="text/css">
 +
        #ca-viewsource { display: none !important; }
 +
      </style>
 +
    <?php } ?>
 +
 +
 +
<!-- No [view source] tab for anonymous users -->
 +
<?php global $wgUser; if( $wgUser->isAnon() ) { ?>
 +
      <style type="text/css">
 +
        #ca-history { display: none !important; }
 +
      </style>
 +
    <?php } ?>

Latest revision as of 12:28, 24 January 2014