topicadmin.htm
2.93 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<!--{template common/header}-->
<!--{if ($_GET['optgroup'] == 3 && $operation == 'delete') || ($_GET['optgroup'] == 4 && $operation == '')}-->
<form id="moderateform" method="post" autocomplete="off" action="forum.php?mod=topicadmin&action=moderate&optgroup=$optgroup&modsubmit=yes&mobile=yes" >
<input type="hidden" name="frommodcp" value="$frommodcp" />
<input type="hidden" name="formhash" value="{FORMHASH}" />
<input type="hidden" name="fid" value="$_G[fid]" />
<input type="hidden" name="redirect" value="{echo dreferer()}" />
<input type="hidden" name="reason" value="{lang topicadmin_mobile_mod}" />
<!--{loop $threadlist $thread}-->
<input type="hidden" name="moderate[]" value="$thread[tid]" />
<!--{/loop}-->
<!--{if $_GET['optgroup'] == 3}-->
<!--{if $operation == 'delete'}-->
<div class="box ban pbn">
<!--{if $_G['group']['allowdelpost']}-->
<input name="operations[]" type="hidden" value="delete"/>
<!--{loop $threadlist $thread}-->
<p class="xw1">$thread['subject']</p>
<!--{/loop}-->
<p>{lang admin_delthread_confirm}</p>
<input type="button" onclick="javascript:history.back();return false;" value="{lang goback}" /> <input type="submit" name="modsubmit" id="modsubmit" value="{lang confirms}" />
<!--{else}-->
<p>{lang admin_delthread_nopermission}</p>
<!--{/if}-->
</div>
<!--{/if}-->
<!--{elseif $_GET['optgroup'] == 4}-->
<div class="box ban pbn">
<!--{loop $threadlist $thread}-->
<p class="xw1">$thread['subject']</p>
<!--{/loop}-->
<p>{lang expire}: </p>
<p>
<input type="text" name="expirationclose" id="expirationclose" class="px" autocomplete="off" value="$expirationclose" />
</p>
<p>{lang admin_close_expire_comment}</p>
<p>
<label><input type="radio" name="operations[]" class="pr" value="open" $closecheck[0] />{lang admin_open}</label></p>
<p>
<label><input type="radio" name="operations[]" class="pr" value="close" $closecheck[1] />{lang admin_close}</label></p>
<input type="button" onclick="javascript:history.back();return false;" value="{lang goback}" /> <input type="submit" name="modsubmit" id="modsubmit" value="{lang confirms}" />
</div>
<!--{/if}-->
</form>
<!--{else}-->
<div class="box ban pbn">
<p>{lang admin_threadtopicadmin_error}</p>
<input type="button" onclick="javascript:history.back();return false;" value="{lang goback}" />
</div>
<!--{/if}-->
<!--{template common/footer}-->