/** * @see Module::assignVariables() */ public function assignVariables() { parent::assignVariables(); if (MODULE_USERS_ONLINE) { require_once WCF_DIR . 'lib/data/user/usersOnline/UsersOnlineList.class.php'; $usersOnlineList = new UsersOnlineList('', true); $usersOnlineList->renderOnlineList(); } }
/** * @see Module::assignVariables() */ public function assignVariables() { parent::assignVariables(); WCF::getTPL()->append('specialStyles', '<style type="text/css"> <!-- #teaser' . $this->instanceID . ' .teaserBoxContent, ul.teaserBoxTeaser li a { height: ' . $this->getOptions()->getGroup('general')->getOption('height')->getValue() . 'px; } #teaser' . $this->instanceID . ' ul.teaserBoxNavigation li a span { color: ' . $this->getOptions()->getGroup('general')->getOption('fontcolor')->getValue() . '; } #teaser' . $this->instanceID . ' ul.teaserBoxNavigation li.activeTeaser a span { color: ' . $this->getOptions()->getGroup('general')->getOption('fontcolorActive')->getValue() . '; } #teaser' . $this->instanceID . ' ul.teaserBoxNavigation li.teaserNav { background-color: ' . $this->getOptions()->getGroup('general')->getOption('backgroundColor')->getValue() . '; } #teaser' . $this->instanceID . ' ul.teaserBoxNavigation li.activeTeaser { background-color: ' . $this->getOptions()->getGroup('general')->getOption('backgroundColorActive')->getValue() . '; } --> </style>'); }