Difference between revisions of "Common.css"
From Montana Tech High Performance Computing
(Created page with "→CSS placed here will be applied to all skins: <!-- No [view source] tab for users who can not edit --> <?php global $wgUser; if( !$wgUser->isAllowed('edit') ) { ?>...") |
|||
Line 2: | Line 2: | ||
<!-- No [view source] tab for users who can not edit --> | <!-- No [view source] tab for users who can not edit --> | ||
− | <?php global $wgUser; if( !$wgUser-> | + | <?php global $wgUser; if( !$wgUser->isLoggedin() ) { ?> |
<style type="text/css"> | <style type="text/css"> | ||
#ca-viewsource { display: none !important; } | #ca-viewsource { display: none !important; } | ||
</style> | </style> | ||
<?php } ?> | <?php } ?> |
Revision as of 19:12, 25 August 2017
/* CSS placed here will be applied to all skins */
<!-- No [view source] tab for users who can not edit -->
<?php global $wgUser; if( !$wgUser->isLoggedin() ) { ?>
<style type="text/css">
#ca-viewsource { display: none !important; }
</style>
<?php } ?>