/** * Output our dedicated stylesheet * * @param Action $action Action being shown * * @return boolean hook flag */ function onEndShowStatusNetStyles($action) { // XXX: allow override by theme $action->cssLink('css/uap.css', 'base', 'screen, projection, tv'); return true; }
public function onEndShowStylesheets(Action $action) { $action->cssLink($this->path('css/sharenotice.css')); return true; }
/** * Link in a styelsheet for the onboarding actions * * @param Action $action Action being shown * * @return boolean hook flag */ function onEndShowStatusNetStyles($action) { if (in_array($action->trimmed('action'), array('userdirectory', 'groupdirectory'))) { $action->cssLink($this->path('css/directory.css')); } return true; }
public function onEndShowStylesheets(Action $action) { $action->cssLink($this->path('css/modplus.css')); return true; }
/** * Output our dedicated stylesheet * * @param Action $action Action being shown * * @return boolean hook flag */ public function onEndShowStylesheets(Action $action) { // XXX: allow override by theme $action->cssLink('css/uap.css', 'base', 'screen, projection, tv'); return true; }
/** * Show the CSS necessary for this plugin * * @param Action $action the action being run * * @return boolean hook value */ function onEndShowStyles($action) { $action->cssLink($this->path('css/poll.css')); return true; }
public function onEndShowStylesheets(Action $action) { $action->cssLink($this->path('theme/base/css/ostatus.css')); return true; }
/** * Show the CSS necessary for this plugin * * @param Action $action the action being run * * @return boolean hook value */ function onEndShowStyles($action) { $action->cssLink($this->path('bookmark.css')); return true; }
public function onEndShowStylesheets(Action $action) { $urlpath = self::staticPath(str_replace('Plugin', '', __CLASS__), 'css/realtimeupdate.css'); $action->cssLink($urlpath, null, 'screen, projection, tv'); return true; }
public function onStartShowStylesheets(Action $action) { if (!$this->serveMobile) { return true; } $action->primaryCssLink(); $action->cssLink($this->path('mp-screen.css'), null, 'screen'); if (file_exists(Theme::file('css/mp-screen.css'))) { $action->cssLink('css/mp-screen.css', null, 'screen'); } $action->cssLink($this->path('mp-handheld.css'), null, 'handheld'); if (file_exists(Theme::file('css/mp-handheld.css'))) { $action->cssLink('css/mp-handheld.css', null, 'handheld'); } // Allow other plugins to load their styles. Event::handle('EndShowStylesheets', array($action)); return false; }
function onEndShowStyles(Action $action) { if ($this->isSocial() && common_logged_in()) { $action->cssLink($this->path('css/bootstrap.min.css')); $action->cssLink($this->path('css/chartist.min.css')); $action->cssLink($this->path('css/ol.css')); $action->cssLink($this->path('css/sa.css')); } return true; }