/**
  * Assigns the data of this poll to the template engine.
  */
 protected function assign()
 {
     require_once WCF_DIR . 'lib/page/util/InlineCalendar.class.php';
     InlineCalendar::assignVariables();
     if (!count($_POST) && $this->endTime) {
         $this->endTimeDay = intval(DateUtil::formatDate('%e', $this->endTime, false, true));
         $this->endTimeMonth = intval(DateUtil::formatDate('%m', $this->endTime, false, true));
         $this->endTimeYear = DateUtil::formatDate('%Y', $this->endTime, false, true);
         $this->endTimeHour = DateUtil::formatDate('%H', $this->endTime, false, true);
         $this->endTimeMinutes = DateUtil::formatDate('%M', $this->endTime, false, true);
     }
     WCF::getTPL()->assign(array('pollID' => $this->pollID, 'pollQuestion' => $this->question, 'pollOptions' => implode("\n", $this->pollOptionsArray), 'choiceCount' => $this->choiceCount, 'timeout' => $this->timeout, 'votesNotChangeable' => $this->votesNotChangeable, 'sortByResult' => $this->sortByResult, 'isPublic' => $this->isPublic, 'endTimeDay' => $this->endTimeDay, 'endTimeMonth' => $this->endTimeMonth, 'endTimeYear' => $this->endTimeYear, 'endTimeHour' => $this->endTimeHour, 'endTimeMinutes' => $this->endTimeMinutes, 'canStartPublicPoll' => $this->canStartPublicPoll));
 }
 /**
  * @see	Page::assignVariables()
  */
 public function assignVariables()
 {
     parent::assignVariables();
     InlineCalendar::assignVariables();
     WCF::getTPL()->assign(array('availableTypes' => $this->types, 'type' => $this->type, 'fromDay' => $this->fromDay, 'fromMonth' => $this->fromMonth, 'fromYear' => $this->fromYear, 'untilDay' => $this->untilDay, 'untilMonth' => $this->untilMonth, 'untilYear' => $this->untilYear, 'sortField' => $this->sortField, 'sortOrder' => $this->sortOrder, 'groupBy' => $this->groupBy, 'username' => $this->username));
 }
 /**
  * @see	Page::assignVariables()
  */
 public function assignVariables()
 {
     parent::assignVariables();
     InlineCalendar::assignVariables();
     WCF::getTPL()->assign(array('showEntryForm' => true, 'entryID' => $this->entryID, 'username' => $this->username, 'pokedexNumber' => $this->pokedexNumber, 'nickname' => $this->nickname, 'gender' => $this->gender, 'trainerName' => $this->trainerName, 'trainerID' => $this->trainerID, 'level' => $this->level, 'catchLocation' => $this->catchLocation, 'catchDate' => $this->catchDate, 'catchLevel' => $this->catchLevel, 'nature' => $this->nature, 'characteristic' => $this->characteristic, 'isShiny' => $this->isShiny, 'ball' => $this->ball, 'ribbonIDs' => $this->ribbonIDs, 'ribbons' => EntryRibbon::getAllRibbons()));
 }
 /**
  * @see Page::assignVariables()
  */
 public function assignVariables()
 {
     parent::assignVariables();
     SearchEngine::loadSearchTypeObjects();
     foreach (SearchEngine::$searchTypeObjects as $typeObject) {
         $typeObject->show($this);
     }
     InlineCalendar::assignVariables();
     WCF::getTPL()->assign(array('query' => $this->query, 'defaultQuery' => $this->defaultQuery, 'username' => $this->username, 'types' => SearchEngine::$searchTypeObjects, 'selectedTypes' => $this->types, 'subjectOnly' => $this->subjectOnly, 'nameExactly' => $this->nameExactly, 'sortField' => $this->sortField, 'sortOrder' => $this->sortOrder, 'fromDay' => $this->fromDay, 'fromMonth' => $this->fromMonth, 'fromYear' => $this->fromYear, 'untilDay' => $this->untilDay, 'untilMonth' => $this->untilMonth, 'untilYear' => $this->untilYear));
 }
 /**
  * @see Page::assignVariables()
  */
 public function assignVariables()
 {
     parent::assignVariables();
     InlineCalendar::assignVariables();
     WCF::getTPL()->assign(array('userSuspensionID' => $this->userSuspensionID, 'userSuspension' => $this->userSuspension, 'expiresDay' => $this->expiresDay, 'expiresMonth' => $this->expiresMonth, 'expiresYear' => $this->expiresYear, 'expiresHour' => $this->expiresHour, 'expiresMinute' => $this->expiresMinute));
 }
 /**
  * @see Page::assignVariables()
  */
 public function assignVariables()
 {
     parent::assignVariables();
     InlineCalendar::assignVariables();
     WCF::getTPL()->assign(array('userSuspensions' => $this->userSuspensionList->getObjects(), 'deletedUserSuspensionID' => $this->deletedUserSuspensionID, 'username' => $this->username, 'suspensionID' => $this->suspensionID, 'status' => $this->status, 'fromDay' => $this->fromDay, 'fromMonth' => $this->fromMonth, 'fromYear' => $this->fromYear, 'untilDay' => $this->untilDay, 'untilMonth' => $this->untilMonth, 'untilYear' => $this->untilYear, 'availableSuspensions' => Suspension::getSuspensions()));
 }
 /**
  * @see Page::assignVariables()
  */
 public function assignVariables()
 {
     parent::assignVariables();
     InlineCalendar::assignVariables();
     WCF::getTPL()->assign(array('timeAfterDay' => $this->timeAfterDay, 'timeAfterMonth' => $this->timeAfterMonth, 'timeAfterYear' => $this->timeAfterYear, 'timeBeforeDay' => $this->timeBeforeDay, 'timeBeforeMonth' => $this->timeBeforeMonth, 'timeBeforeYear' => $this->timeBeforeYear, 'lastPostTimeAfterDay' => $this->lastPostTimeAfterDay, 'lastPostTimeAfterMonth' => $this->lastPostTimeAfterMonth, 'lastPostTimeAfterYear' => $this->lastPostTimeAfterYear, 'lastPostTimeBeforeDay' => $this->lastPostTimeBeforeDay, 'lastPostTimeBeforeMonth' => $this->lastPostTimeBeforeMonth, 'lastPostTimeBeforeYear' => $this->lastPostTimeBeforeYear, 'repliesMoreThan' => $this->repliesMoreThan, 'repliesLessThan' => $this->repliesLessThan, 'createdBy' => $this->createdBy, 'postsBy' => $this->postsBy, 'deleted' => $this->deleted, 'notDeleted' => $this->notDeleted, 'disabled' => $this->disabled, 'notDisabled' => $this->notDisabled, 'closed' => $this->closed, 'open' => $this->open, 'redirect' => $this->redirect, 'notRedirect' => $this->notRedirect, 'announcement' => $this->announcement, 'sticky' => $this->sticky, 'normal' => $this->normal, 'prefix' => $this->prefix, 'boardIDs' => $this->boardIDs, 'boardOptions' => $this->boardOptions, 'moveTo' => $this->moveTo, 'languages' => $this->languages, 'languageIDs' => $this->languageIDs, 'newLanguageID' => $this->newLanguageID, 'newPrefix' => $this->newPrefix));
 }
 /**
  * @see Page::assignVariables()
  */
 public function assignVariables()
 {
     parent::assignVariables();
     InlineCalendar::assignVariables();
     WCF::getTPL()->assign(array('userWarningID' => $this->userWarningID, 'userWarning' => $this->userWarning, 'warningID' => $this->warningID, 'title' => $this->title, 'points' => $this->points, 'reason' => $this->reason, 'warnings' => $this->warnings, 'object' => $this->object, 'expiresDay' => $this->expiresDay, 'expiresMonth' => $this->expiresMonth, 'expiresYear' => $this->expiresYear, 'expiresHour' => $this->expiresHour, 'expiresMinute' => $this->expiresMinute));
 }
 /**
  * @see Page::assignVariables()
  */
 public function assignVariables()
 {
     parent::assignVariables();
     InlineCalendar::assignVariables();
     WCF::getTPL()->assign(array('timeAfterDay' => $this->timeAfterDay, 'timeAfterMonth' => $this->timeAfterMonth, 'timeAfterYear' => $this->timeAfterYear, 'timeBeforeDay' => $this->timeBeforeDay, 'timeBeforeMonth' => $this->timeBeforeMonth, 'timeBeforeYear' => $this->timeBeforeYear, 'lastDownloadTimeAfterDay' => $this->lastDownloadTimeAfterDay, 'lastDownloadTimeAfterMonth' => $this->lastDownloadTimeAfterMonth, 'lastDownloadTimeAfterYear' => $this->lastDownloadTimeAfterYear, 'lastDownloadTimeBeforeDay' => $this->lastDownloadTimeBeforeDay, 'lastDownloadTimeBeforeMonth' => $this->lastDownloadTimeBeforeMonth, 'lastDownloadTimeBeforeYear' => $this->lastDownloadTimeBeforeYear, 'uploadedBy' => $this->uploadedBy, 'containerType' => $this->containerType, 'sizeMoreThan' => $this->sizeMoreThan, 'sizeLessThan' => $this->sizeLessThan, 'downloadsMoreThan' => $this->downloadsMoreThan, 'downloadsLessThan' => $this->downloadsLessThan, 'fileType' => $this->fileType, 'availableContainerTypes' => $this->availableContainerTypes, 'availableFileTypes' => $this->availableFileTypes));
 }
 /**
  * @see Page::assignVariables()
  */
 public function assignVariables()
 {
     parent::assignVariables();
     InlineCalendar::assignVariables();
     WCF::getTPL()->assign(array('timeAfterDay' => $this->timeAfterDay, 'timeAfterMonth' => $this->timeAfterMonth, 'timeAfterYear' => $this->timeAfterYear, 'timeBeforeDay' => $this->timeBeforeDay, 'timeBeforeMonth' => $this->timeBeforeMonth, 'timeBeforeYear' => $this->timeBeforeYear, 'createdBy' => $this->createdBy, 'deleted' => $this->deleted, 'notDeleted' => $this->notDeleted, 'disabled' => $this->disabled, 'notDisabled' => $this->notDisabled, 'closed' => $this->closed, 'open' => $this->open, 'boardIDs' => $this->boardIDs, 'boardOptions' => $this->boardOptions));
 }
 /**
  * @see Page::assignVariables()
  */
 public function assignVariables()
 {
     parent::assignVariables();
     InlineCalendar::assignVariables();
     WCF::getTPL()->assign(array('userWarnings' => $this->userWarningList->getObjects(), 'deletedUserWarningID' => $this->deletedUserWarningID, 'username' => $this->username, 'judge' => $this->judge, 'warningID' => $this->warningID, 'status' => $this->status, 'fromDay' => $this->fromDay, 'fromMonth' => $this->fromMonth, 'fromYear' => $this->fromYear, 'untilDay' => $this->untilDay, 'untilMonth' => $this->untilMonth, 'untilYear' => $this->untilYear, 'availableWarnings' => Warning::getWarnings()));
 }
 protected function assignVariables()
 {
     InlineCalendar::assignVariables();
     WCF::getTPL()->assign(array('registrationDateAfterDay' => $this->registrationDateAfterDay, 'registrationDateAfterMonth' => $this->registrationDateAfterMonth, 'registrationDateAfterYear' => $this->registrationDateAfterYear, 'registrationDateBeforeDay' => $this->registrationDateBeforeDay, 'registrationDateBeforeMonth' => $this->registrationDateBeforeMonth, 'registrationDateBeforeYear' => $this->registrationDateBeforeYear, 'lastActivityAfterDay' => $this->lastActivityAfterDay, 'lastActivityAfterMonth' => $this->lastActivityAfterMonth, 'lastActivityAfterYear' => $this->lastActivityAfterYear, 'lastActivityBeforeDay' => $this->lastActivityBeforeDay, 'lastActivityBeforeMonth' => $this->lastActivityBeforeMonth, 'lastActivityBeforeYear' => $this->lastActivityBeforeYear, 'postsGreaterThan' => $this->postsGreaterThan, 'postsLessThan' => $this->postsLessThan, 'registrationIpAddress1' => $this->registrationIpAddress1, 'registrationIpAddress2' => $this->registrationIpAddress2, 'registrationIpAddress3' => $this->registrationIpAddress3, 'registrationIpAddress4' => $this->registrationIpAddress4, 'enabled' => $this->enabled, 'notEnabled' => $this->notEnabled, 'banned' => $this->banned, 'notBanned' => $this->notBanned, 'hasSpecialPermissions' => $this->hasSpecialPermissions));
     WCF::getTPL()->append(array('additionalTabs' => '<li id="conditions"><a onclick="tabMenu.showSubTabMenu(\'conditions\');"><span>' . WCF::getLanguage()->get('wbb.acp.user.search.conditions') . '</span></a></li>', 'additionalTabContents' => WCF::getTPL()->fetch('userSearchFormConditions')));
 }
 /**
  * @see Page::assignVariables()
  */
 public function assignVariables()
 {
     parent::assignVariables();
     // display branding
     require_once WCF_DIR . 'lib/util/ContestUtil.class.php';
     ContestUtil::assignVariablesBranding();
     InlineCalendar::assignVariables();
     WCF::getTPL()->assign(array('action' => 'edit', 'userID' => WCF::getUser()->userID, 'tags' => $this->tags, 'insertQuotes' => !count($_POST) && empty($this->text) ? 1 : 0, 'availableClasses' => $this->classList->getObjects(), 'availableGroups' => $this->availableGroups, 'contestID' => $this->contestID, 'ownerID' => $this->ownerID, 'classIDArray' => $this->classIDArray, 'states' => $this->states, 'state' => $this->state, 'eventDate' => $this->eventDate, 'enableSolution' => $this->enableSolution, 'enableOpenSolution' => $this->enableOpenSolution, 'enableParticipantCheck' => $this->enableParticipantCheck, 'enablePricechoice' => $this->enablePricechoice, 'priceExpireSeconds' => $this->priceExpireSeconds, 'enableSponsorCheck' => $this->enableSponsorCheck));
 }
 /**
  * @see Page::assignVariables()
  */
 public function assignVariables()
 {
     parent::assignVariables();
     InlineCalendar::assignVariables();
     WCF::getTPL()->assign(array('attachments' => $this->attachmentList->getObjects(), 'containerType' => $this->containerType, 'fileType' => $this->fileType, 'isImage' => $this->isImage, 'availableContainerTypes' => $this->availableContainerTypes, 'availableFileTypes' => $this->availableFileTypes, 'showThumbnail' => $this->showThumbnail, 'stats' => $this->stats, 'statsTotal' => $this->statsTotal, 'filename' => $this->filename, 'greaterThan' => $this->greaterThan, 'fromDay' => $this->fromDay, 'fromMonth' => $this->fromMonth, 'fromYear' => $this->fromYear, 'untilDay' => $this->untilDay, 'untilMonth' => $this->untilMonth, 'untilYear' => $this->untilYear));
 }