Difference between revisions of "Think.pedia:Common.css"
From think.pedia
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 } ?> |