PortableInfobox/PortableInfoboxHooks.class.php
nAndy 0fee93ec6d ADEN-1960 manually merged origin/dev
And resolved conflicts in:
* AdEngine/js/AdLogicPageDimensions.js,
* AdEngine/js/provider/directGpt.js,
* AdEngine/js/run/desktop.run.js.
2015-05-26 11:21:46 +00:00

14 lines
322 B
PHP

<?php
class PortableInfoboxHooks {
static public function onBeforePageDisplay( OutputPage $out, Skin $skin ) {
if ( F::app()->checkSkin( 'monobook', $skin ) ) {
Wikia::addAssetsToOutput( 'portable_infobox_monobook_scss' );
} else {
Wikia::addAssetsToOutput( 'portable_infobox_scss' );
}
return true;
}
}