/** * @see Page::assignVariables() */ public function assignVariables() { parent::assignVariables(); WCF::getTPL()->assign(array('maxTextLength' => $this->maxTextLength, 'groupIDs' => $this->groupIDs, 'groups' => $this->groups, 'subject' => $this->subject, 'text' => $this->text, 'enableSmilies' => $this->enableSmilies, 'enableHtml' => $this->enableHtml, 'enableBBCodes' => $this->enableBBCodes, 'canUseSmilies' => $this->canUseSmilies, 'canUseHtml' => $this->canUseHtml, 'canUseBBCodes' => $this->canUseBBCodes, 'showSignature' => $this->showSignature, 'maxLifeTime' => $this->maxLifeTime)); }
/** * @see Page::assignVariables() */ public function assignVariables() { parent::assignVariables(); $tplData = UserWantedPosterData::getTemplate($this->tplID); if (!empty($tplData['templateID']) && empty($_POST['fDo'])) { $this->subject = $tplData['templateName']; $this->text = $tplData['text']; $this->enableSmilies = $tplData['enableSmilies']; $this->enableHtml = $tplData['enableHtml']; $this->enableBBCodes = $tplData['enableBBCodes']; $this->enabled = $tplData['enabled']; } WCF::getTPL()->assign(array('thisPage' => $this->thisPage, 'tplID' => $this->tplID, 'subject' => $this->subject, 'text' => $this->text, 'enableSmilies' => $this->enableSmilies, 'enableHtml' => $this->enableHtml, 'enableBBCodes' => $this->enableBBCodes, 'enabled' => $this->enabled, 'tplCount' => UserWantedPosterData::countTemplates(), 'tplList' => UserWantedPosterData::getTemplateList(), 'tplData' => $tplData)); }
/** * @see Page::assignVariables() */ public function assignVariables() { parent::assignVariables(); WCF::getTPL()->assign(array('page' => $this->page, 'pageID' => $this->pageID, 'moduleID' => $this->moduleID, 'module' => $this->module, 'moduleList' => ModuleManager::getAvailableModules(), 'availablePositions' => $this->availablePositions)); }
/** * @see Page::assignVariables() */ public function assignVariables() { parent::assignVariables(); WCF::getTPL()->assign(array('hour' => $this->dateValues['hour'], 'day' => $this->dateValues['day'], 'month' => $this->dateValues['month'], 'year' => $this->dateValues['year'], 'action' => $this->action, 'dateOptions' => $this->dateOptions, 'result' => $this->result, 'useACPAttachments' => false, 'success' => $this->success)); }