MediaWiki:Common.css
From Layton Support
(Difference between revisions)
Line 8: | Line 8: | ||
<?php global $wgUser; if( !$wgUser->isAllowed('edit') ) { ?> | <?php global $wgUser; if( !$wgUser->isAllowed('edit') ) { ?> | ||
<style type="text/css"> | <style type="text/css"> | ||
− | #ca- | + | #ca-history { display: none !important; } |
</style> | </style> | ||
<?php } ?> | <?php } ?> |
Revision as of 19:23, 2 July 2010
.collapseButton { /* 'show'/'hide' buttons created dynamically by the */ float: left; /* CollapsibleTables JavaScript in [[MediaWiki:Common.js]] */ font-weight: 800; /* are styled here so they can be customised. */ text-align: right; width: auto; } <!-- No [view source] tab for users who can not edit --> <?php global $wgUser; if( !$wgUser->isAllowed('edit') ) { ?> <style type="text/css"> #ca-history { display: none !important; } </style> <?php } ?>