/** * @see Page::show() */ public function show() { if (!MODULE_PM) { throw new IllegalLinkException(); } parent::show(); // send content WCF::getTPL()->display($this->format == 'atom' ? 'pmFeedAtom' : 'pmFeedRss2', false); }
/** * @see Page::show() */ public function show() { // check permission WCF::getUser()->checkPermission('user.contest.canViewContest'); if (!MODULE_CONTEST) { throw new IllegalLinkException(); } parent::show(); // send content WCF::getTPL()->display($this->format == 'atom' ? 'contestOverviewFeedAtom' : 'contestOverviewFeedRss2', false); }
/** * @see Page::show() */ public function show() { parent::show(); // send content WCF::getTPL()->display($this->format == 'atom' ? 'feedAtomThreads' : 'feedRss2Threads', false); }