/** * @see \wcf\page\IPage::assignVariables() */ public function assignVariables() { parent::assignVariables(); $lastEventTime = $this->eventList->getLastEventTime(); // removes orphaned and non-accessable events UserActivityEventHandler::validateEvents($this->eventList); DashboardHandler::getInstance()->loadBoxes('com.woltlab.wcf.user.MembersListPage', $this); WCF::getTPL()->assign(array('eventList' => $this->eventList, 'lastEventTime' => $lastEventTime, 'sidebarCollapsed' => UserCollapsibleContentHandler::getInstance()->isCollapsed('com.woltlab.wcf.collapsibleSidebar', 'com.woltlab.wcf.user.MembersListPage'), 'sidebarName' => 'com.woltlab.wcf.user.MembersListPage', 'allowSpidersToIndexThisPage' => true)); }
/** * @see \wcf\page\IPage::assignVariables() */ public function assignVariables() { parent::assignVariables(); DashboardHandler::getInstance()->loadBoxes('com.woltlab.wcf.user.MembersListPage', $this); WCF::getTPL()->assign(array('sidebarCollapsed' => UserCollapsibleContentHandler::getInstance()->isCollapsed('com.woltlab.wcf.collapsibleSidebar', 'com.woltlab.wcf.user.MembersListPage'), 'sidebarName' => 'com.woltlab.wcf.user.MembersListPage', 'allowSpidersToIndexThisPage' => true)); }
public function assignVariables() { parent::assignVariables(); DashboardHandler::getInstance()->loadBoxes('de.codequake.cms.news.news', $this); WCF::getTPL()->assign(array('newsID' => $this->newsID, 'news' => $this->news, 'likeData' => MODULE_LIKE && $this->commentList ? $this->commentList->getLikeData() : array(), 'newsLikeData' => $this->likeData, 'commentCanAdd' => WCF::getUser()->userID && WCF::getSession()->getPermission('user.cms.news.canAddComment'), 'commentList' => $this->commentList, 'commentObjectTypeID' => $this->commentObjectTypeID, 'tags' => $this->tags, 'lastCommentTime' => $this->commentList ? $this->commentList->getMinCommentTime() : 0, 'attachmentList' => $this->news->getAttachments(), 'allowSpidersToIndexThisPage' => true, 'sidebarCollapsed' => UserCollapsibleContentHandler::getInstance()->isCollapsed('com.woltlab.wcf.collapsibleSidebar', 'de.codequake.cms.news.news'), 'sidebarName' => 'de.codequake.cms.news.news')); }
public function assignVariables() { parent::assignVariables(); DashboardHandler::getInstance()->loadBoxes('de.codequake.cms.news.newsList', $this); WCF::getTPL()->assign(array('category' => $this->category, 'categoryID' => $this->categoryID, 'controller' => 'NewsList', 'allowSpidersToIndexThisPage' => true, 'sidebarCollapsed' => UserCollapsibleContentHandler::getInstance()->isCollapsed('com.woltlab.wcf.collapsibleSidebar', 'de.codequake.cms.news.newsList'), 'sidebarName' => 'de.codequake.cms.news.newsList', 'categoryList' => $this->categoryList)); }
/** * @see \wcf\page\IPage::assignVariables() */ public function assignVariables() { parent::assignVariables(); // configuration for dashboard boxes DashboardHandler::getInstance()->loadBoxes('de.voolia.news.NewsOverviewPage', $this); WCF::getTPL()->assign(array('letters' => str_split(self::$availableLetters), 'letter' => $this->letter, 'stats' => $this->stats, 'categoryID' => $this->categoryID, 'category' => $this->category, 'categoryList' => $this->categoryList, 'sidebarCollapsed' => UserCollapsibleContentHandler::getInstance()->isCollapsed('com.woltlab.wcf.collapsibleSidebar', 'de.voolia.news.NewsOverviewPage'), 'sidebarName' => 'de.voolia.news.NewsOverviewPage', 'usersOnlineList' => $this->usersOnlineList, 'statistics' => $this->statistics, 'user' => $this->user, 'userID' => $this->userID, 'allowSpidersToIndexThisPage' => true)); }
/** * @see \wcf\page\IPage::assignVariables() */ public function assignVariables() { parent::assignVariables(); DashboardHandler::getInstance()->loadBoxes('com.woltlab.wcf.user.MembersListPage', $this); WCF::getTPL()->assign(array('letters' => str_split(self::$availableLetters), 'letter' => $this->letter, 'searchID' => $this->searchID, 'sidebarCollapsed' => UserCollapsibleContentHandler::getInstance()->isCollapsed('com.woltlab.wcf.collapsibleSidebar', 'com.woltlab.wcf.user.MembersListPage'), 'sidebarName' => 'com.woltlab.wcf.user.MembersListPage', 'allowSpidersToIndexThisPage' => true)); if (count($this->objectList) === 0) { @header('HTTP/1.0 404 Not Found'); } }
/** * @see \wcf\page\IPage::assignVariables() */ public function assignVariables() { parent::assignVariables(); DashboardHandler::getInstance()->loadBoxes('com.woltlab.wcf.user.MembersListPage', $this); WCF::getTPL()->assign(array('username' => $this->username, 'optionTree' => $this->optionTree, 'sidebarCollapsed' => UserCollapsibleContentHandler::getInstance()->isCollapsed('com.woltlab.wcf.collapsibleSidebar', 'com.woltlab.wcf.user.MembersListPage'), 'sidebarName' => 'com.woltlab.wcf.user.MembersListPage')); }
/** * @see \wcf\page\AbstractPage::assignVariables() */ public function assignVariables() { parent::assignVariables(); MessageQuoteManager::getInstance()->assignVariables(); // configuration for dashboard boxes DashboardHandler::getInstance()->loadBoxes('de.voolia.news.NewsPage', $this); WCF::getTPL()->assign(array('allowSpidersToIndexThisPage' => true, 'attachmentList' => $this->news->getAttachments(), 'commentCanAdd' => WCF::getSession()->getPermission('user.news.canWriteComment'), 'commentList' => $this->commentList, 'commentObjectTypeID' => $this->objectTypeID, 'lastCommentTime' => $this->commentList->getMinCommentTime(), 'likeData' => MODULE_LIKE ? $this->commentList->getLikeData() : array(), 'news' => $this->news, 'newsLikeData' => $this->newsLikeData, 'sidebarCollapsed' => UserCollapsibleContentHandler::getInstance()->isCollapsed('com.woltlab.wcf.collapsibleSidebar', 'de.voolia.news.NewsPage'), 'sidebarName' => 'de.voolia.news.NewsPage', 'tags' => $this->tags, 'moreNewsList' => $this->moreNewsList)); }