Commit | Line | Data |
---|---|---|
fc69b61d MW |
1 | <?php |
2 | namespace wcf\form; | |
3 | use wcf\system\moderation\queue\ModerationQueueReportManager; | |
4 | use wcf\system\WCF; | |
5 | ||
6 | /** | |
7 | * Shows the moderation report form. | |
8 | * | |
9 | * @author Alexander Ebert | |
ca4ba303 | 10 | * @copyright 2001-2014 WoltLab GmbH |
fc69b61d | 11 | * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php> |
f4f05aa5 | 12 | * @package com.woltlab.wcf |
fc69b61d MW |
13 | * @subpackage form |
14 | * @category Community Framework | |
15 | */ | |
16 | class ModerationReportForm extends AbstractModerationForm { | |
17 | /** | |
0ad90fc3 | 18 | * @see \wcf\page\IPage::assignVariables() |
fc69b61d MW |
19 | */ |
20 | public function assignVariables() { | |
21 | parent::assignVariables(); | |
22 | ||
23 | WCF::getTPL()->assign(array( | |
b91f1424 TD |
24 | 'reportedContent' => ModerationQueueReportManager::getInstance()->getReportedContent($this->queue), |
25 | 'queueManager' => ModerationQueueReportManager::getInstance() | |
fc69b61d MW |
26 | )); |
27 | } | |
28 | } |