From TechnoDocs
Technoadmin (Talk | contribs) |
Technoadmin (Talk | contribs) |
||
| Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
| + | <?php global $wgUser; if( !$wgUser->isAllowed('edit') ) { ?> | ||
| + | <style type="text/css"> | ||
| + | |||
| + | //#p-cactions { display: none !important; } | ||
| + | #ca-talk { display:none!important; } | ||
| + | #ca-viewsource { display:none!important; } | ||
| + | #ca-history { display:none!important; } | ||
| + | |||
| + | #p-tb { display:none!important; } | ||
| + | |||
| + | </style> | ||
| + | <?php } ?> | ||
Revision as of 17:14, 14 September 2010
/* CSS placed here will be applied to all skins */ <?php global $wgUser; if( !$wgUser->isAllowed('edit') ) { ?> <style type="text/css"> //#p-cactions { display: none !important; } #ca-talk { display:none!important; } #ca-viewsource { display:none!important; } #ca-history { display:none!important; } #p-tb { display:none!important; } </style> <?php } ?>