Difference between revisions of "Common.css"
From Guiliani
Line 2: | Line 2: | ||
+ | <!-- No [view source] tab for anonymous users --> | ||
<?php global $wgUser; if( $wgUser->isAnon() ) { ?> | <?php global $wgUser; if( $wgUser->isAnon() ) { ?> | ||
<style type="text/css"> | <style type="text/css"> | ||
− | #ca- | + | #ca-viewsource { display: none !important; } |
</style> | </style> | ||
<?php } ?> | <?php } ?> |
Revision as of 09:38, 12 January 2017
/* CSS placed here will be applied to all skins */
<!-- No [view source] tab for anonymous users -->
<?php global $wgUser; if( $wgUser->isAnon() ) { ?>
<style type="text/css">
#ca-viewsource { display: none !important; }
</style>
<?php } ?>