/**
  * @see Page::assignVariables()
  */
 public function assignVariables()
 {
     parent::assignVariables();
     WCF::getTPL()->assign(array('pmID' => $this->pmID, 'parentPmID' => $this->pm ? $this->pm->parentPmID : 0, 'forwarding' => $this->forwarding, 'reply' => $this->reply, 'recipients' => $this->recipients, 'blindCopies' => $this->blindCopies, 'replyToAll' => $this->replyToAll, 'insertQuotes' => !count($_POST) && empty($this->text) ? 1 : 0));
     if ($this->pmList !== null) {
         WCF::getTPL()->assign(array('privateMessages' => $this->pmList->getObjects(), 'pmAttachments' => $this->pmList->getAttachments()));
     }
 }
 /**
  * @see Page::assignVariables()
  */
 public function assignVariables()
 {
     parent::assignVariables();
     // assign page parameters
     WCF::getTPL()->assign(array('pmPageNo' => $this->pmPageNo, 'pmPages' => $this->pmPages, 'pmItems' => $this->pmItems, 'pmItemsPerPage' => $this->pmItemsPerPage, 'pmStartIndex' => $this->pmStartIndex, 'pmEndIndex' => $this->pmEndIndex, 'privateMessages' => $this->pmList->getObjects(), 'attachments' => $this->pmList->getAttachments(), 'moveToOptions' => $this->moveToOptions, 'sidebarFactory' => $this->sidebarFactory, 'showAvatar' => WCF::getUser()->showAvatar, 'parentPmID' => $this->pm->parentPmID, 'pmID' => $this->pmID));
 }