Source of file NewsLeftAndMainExtension.php
Size: 0,482 Bytes - Last Modified: 2021-12-24T06:47:36+00:00
/var/www/docs.ssmods.com/process/src/code/extensions/NewsLeftAndMainExtension.php
1234567891011121314151617181920212223 | <?php /** * Decorate Left and Main with the CSS for the NewsAdmin * This is cleaner than including via _config. * * @package News/blog module * @author Simon 'Sphere' * @thanks FrozenFire for telling me this actually works this way. */ class NewsLeftAndMainExtension extends Extension { /** * OVERKILL? Yes, but at least it works most of the time. */ public function onAfterInit() { Requirements::css('newsmodule/css/news_icon.css'); } } |