From Luca Bascetta
Line 5: | Line 5: | ||
.page-Luca_s_Home_Page #contentSub {display: none} | .page-Luca_s_Home_Page #contentSub {display: none} | ||
.page-Fondamenti_di_Automatica_per_ing_Aerospaziale #contentSub {display: none} | .page-Fondamenti_di_Automatica_per_ing_Aerospaziale #contentSub {display: none} | ||
+ | |||
+ | <!-- No [view source] tab for users who can not edit --> | ||
+ | <?php global $wgUser; if( !$wgUser->isAllowed('edit') ) { ?> | ||
+ | <style type="text/css"> | ||
+ | #ca-viewsource { display: none !important; } | ||
+ | </style> | ||
+ | <?php } ?> |
Revision as of 13:19, 19 September 2012
/* Gli stili CSS inseriti qui si applicano a tutte le skin */ #ca-talk {display: none !important;} #ca-nstab-main {display: none !important;} .page-Luca_s_Home_Page #contentSub {display: none} .page-Fondamenti_di_Automatica_per_ing_Aerospaziale #contentSub {display: none} <!-- No [view source] tab for users who can not edit --> <?php global $wgUser; if( !$wgUser->isAllowed('edit') ) { ?> <style type="text/css"> #ca-viewsource { display: none !important; } </style> <?php } ?>