1 {include file='documentHeader'}
4 <title>{lang}wcf.moderation.report{/lang} - {PAGE_TITLE|language}</title>
6 {include file='headInclude'}
8 <script data-relocate="true" src="{@$__wcf->getPath()}js/WCF.Moderation{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}"></script>
9 <script data-relocate="true">
12 WCF.Language.addObject({
13 'wcf.moderation.report.removeContent.confirmMessage': '{lang}wcf.moderation.report.removeContent.confirmMessage{/lang}',
14 'wcf.moderation.report.removeContent.reason': '{lang}wcf.moderation.report.removeContent.reason{/lang}',
15 'wcf.moderation.report.removeReport.confirmMessage': '{lang}wcf.moderation.report.removeReport.confirmMessage{/lang}'
18 new WCF.Moderation.Report.Management({@$queue->queueID}, '{link controller='ModerationList'}{/link}');
24 <body id="tpl{$templateName|ucfirst}">
26 {include file='header' sidebarOrientation='left'}
28 <header class="boxHeadline">
29 <h1>{lang}wcf.moderation.report{/lang}</h1>
32 {include file='userNotice'}
34 {include file='formError'}
36 <div class="contentNavigation">
39 <li><a href="{link controller='ModerationList'}{/link}" class="button"><span class="icon icon16 icon-list"></span> <span>{lang}wcf.moderation.moderation{/lang}</span></a></li>
41 {event name='contentNavigationButtonsTop'}
46 <form method="post" action="{link controller='ModerationReport' id=$queue->queueID}{/link}" class="container containerPadding marginTop">
48 <legend>{lang}wcf.moderation.report.details{/lang}</legend>
51 <dt>{lang}wcf.global.objectID{/lang}</dt>
52 <dd>{#$queue->queueID}</dd>
55 <dt>{lang}wcf.moderation.report.reportedBy{/lang}</dt>
56 <dd>{if $queue->userID}<a href="{link controller='User' id=$queue->userID}{/link}" class="userLink" data-user-id="{@$queue->userID}">{$queue->username}</a>{else}{lang}wcf.user.guest{/lang}{/if} ({@$queue->time|time})</dd>
58 {if $queue->lastChangeTime}
60 <dt>{lang}wcf.moderation.lastChangeTime{/lang}</dt>
61 <dd>{@$queue->lastChangeTime|time}</dd>
65 <dt>{lang}wcf.moderation.assignedUser{/lang}</dt>
68 {if $assignedUserID && ($assignedUserID != $__wcf->getUser()->userID)}
69 <li><label><input type="radio" name="assignedUserID" value="{@$assignedUserID}" checked="checked" /> {$queue->assignedUsername}</label></li>
71 <li><label><input type="radio" name="assignedUserID" value="{@$__wcf->getUser()->userID}"{if $assignedUserID == $__wcf->getUser()->userID} checked="checked"{/if} /> {$__wcf->getUser()->username}</label></li>
72 <li><label><input type="radio" name="assignedUserID" value="0"{if !$assignedUserID} checked="checked"{/if} /> {lang}wcf.moderation.assignedUser.nobody{/lang}</label></li>
76 {if $queue->assignedUser}
79 <dd><a href="{link controller='User' id=$assignedUserID}{/link}" class="userLink" data-user-id="{@$assignedUserID}">{$queue->assignedUsername}</a></dd>
83 <dt>{lang}wcf.moderation.report.reason{/lang}</dt>
84 <dd>{@$queue->getFormattedMessage()}</dd>
87 <dt><label for="comment">{lang}wcf.moderation.comment{/lang}</label></dt>
88 <dd><textarea id="comment" name="comment" rows="4" cols="40">{$comment}</textarea></dd>
91 {event name='detailsFields'}
93 <div class="formSubmit">
94 <input type="submit" value="{lang}wcf.global.button.submit{/lang}" />
95 {@SECURITY_TOKEN_INPUT_TAG}
99 {event name='fieldsets'}
102 <header class="boxHeadline boxSubHeadline">
103 <h2>{lang}wcf.moderation.report.reportedContent{/lang}</h2>
106 <div class="marginTop">
110 <div class="contentNavigation">
113 {if !$queue->isDone()}
114 {if $queueManager->canRemoveContent($queue->getDecoratedObject())}<li class="jsOnly"><a id="removeContent" class="button"><span class="icon icon16 icon-remove"></span> <span>{lang}wcf.moderation.report.removeContent{/lang}</span></a></li>{/if}
115 <li class="jsOnly"><a id="removeReport" class="button"><span class="icon icon16 icon-remove"></span> <span>{lang}wcf.moderation.report.removeReport{/lang}</span></a></li>
117 <li><a href="{link controller='ModerationList'}{/link}" class="button"><span class="icon icon16 icon-list"></span> <span>{lang}wcf.moderation.moderation{/lang}</span></a></li>
119 {event name='contentNavigationButtonsBottom'}
124 {include file='footer'}