/** * @see Page::assignVariables() */ public function assignVariables() { parent::assignVariables(); WCF::getTPL()->assign(array('postID' => $this->postID, 'thread' => $this->thread, 'form' => $this, 'posts' => $this->postList->posts, 'items' => $this->postList->countPosts(), 'postAttachments' => $this->attachments, 'oldThreadWarning' => $this->oldThreadWarning, 'disablePost' => $this->disablePost, 'markAsDone' => $this->markAsDone, 'insertQuotes' => !count($_POST) && empty($this->text) ? 1 : 0)); }
/** * @see Page::assignVariables() */ public function assignVariables() { parent::assignVariables(); WCF::getTPL()->assign(array('postID' => $this->postID, 'thread' => $this->thread, 'form' => $this, 'post' => $this->post, 'hideEditNote' => $this->hideEditNote, 'posts' => $this->postList ? $this->postList->posts : array(), 'postAttachments' => $this->attachments, 'deleteReason' => $this->deleteReason, 'editReason' => $this->editReason)); }