111 lines
5.6 KiB
PHP
111 lines
5.6 KiB
PHP
<?php echo 'Discuz!应用中心开发者-简约设计';exit;?>
|
|
|
|
<!--{template common/header}-->
|
|
<div class="tip">
|
|
<!--{if ($_GET['optgroup'] == 3 && $operation == 'delete') || ($_GET['optgroup'] == 4 && $operation == '') || ($_GET['optgroup'] == 1 && (count($threadlist) > 1 || empty($defaultcheck[recommend])) && ($_G['group']['allowstickthread'] || $_G['group']['allowdigestthread']))}-->
|
|
<form id="moderateform" method="post" autocomplete="off" action="forum.php?mod=topicadmin&action=moderate&optgroup=$optgroup&modsubmit=yes&mobile=2" >
|
|
<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'] == 1}-->
|
|
<!--{if count($threadlist) > 1 || empty($defaultcheck[recommend])}-->
|
|
<!--{if $_G['group']['allowstickthread'] && $operation == 'stick'}-->
|
|
<dl>
|
|
<dt>
|
|
<p>{lang expire}: </p>
|
|
<p>
|
|
<input type="text" name="expirationstick" id="expirationstick" class="px" autocomplete="off" value="$expirationstick" />
|
|
</p>
|
|
<p style="font-size:.14rem;">{lang admin_close_expire_comment}</p>
|
|
<div style="margin-top:.08rem;">
|
|
<input type="checkbox" name="operations[]" value="stick" $defaultcheck[stick] />
|
|
<label>{lang thread_stick}</label>
|
|
<select class="ps" name="sticklevel">
|
|
<!--{if $_G['forum']['status'] != 3}-->
|
|
<option value="0">{lang none}</option>
|
|
<option value="1" $stickcheck[1]>$_G['setting']['threadsticky'][2]</option>
|
|
<!--{if $_G['group']['allowstickthread'] >= 2}-->
|
|
<option value="2" $stickcheck[2]>$_G['setting']['threadsticky'][1]</option>
|
|
<!--{if $_G['group']['allowstickthread'] == 3}-->
|
|
<option value="3" $stickcheck[3]>$_G['setting']['threadsticky'][0]</option>
|
|
<!--{/if}-->
|
|
<!--{/if}-->
|
|
<!--{else}-->
|
|
<option value="0">{lang no} </option>
|
|
<option value="1" $stickcheck[1]>{lang yes} </option>
|
|
<!--{/if}-->
|
|
</select>
|
|
</div>
|
|
</dt>
|
|
<dd><input type="submit" name="modsubmit" id="modsubmit" value="{lang confirms}" class="formdialog button2"><a href="javascript:;" onclick="popup.close();">{lang cancel}</a></dd>
|
|
</dl>
|
|
<!--{/if}-->
|
|
<!--{if $_G['group']['allowdigestthread'] && $operation == 'digest'}-->
|
|
<dl>
|
|
<dt>
|
|
<p>{lang expire}: </p>
|
|
<p>
|
|
<input type="text" name="expirationdigest" id="expirationdigest" class="px" autocomplete="off" value="$expirationdigest" />
|
|
</p>
|
|
<p style="font-size:.14rem;">{lang admin_close_expire_comment}</p>
|
|
<div style="margin-top:.08rem;">
|
|
<input type="checkbox" name="operations[]" value="digest" $defaultcheck[digest] />
|
|
<label>{lang admin_digest_add}</label>
|
|
<select name="digestlevel" class="ps">
|
|
<option value="0">{lang admin_digest_remove}</option>
|
|
<option value="1" $digestcheck[1]>{lang thread_digest} 1</option>
|
|
<!--{if $_G['group']['allowdigestthread'] >= 2}-->
|
|
<option value="2" $digestcheck[2]>{lang thread_digest} 2</option>
|
|
<!--{if $_G['group']['allowdigestthread'] == 3}-->
|
|
<option value="3" $digestcheck[3]>{lang thread_digest} 3</option>
|
|
<!--{/if}-->
|
|
<!--{/if}-->
|
|
</select>
|
|
</div>
|
|
</dt>
|
|
<dd><input type="submit" name="modsubmit" id="modsubmit" value="{lang confirms}" class="formdialog button2"><a href="javascript:;" onclick="popup.close();">{lang cancel}</a></dd>
|
|
</dl>
|
|
<!--{/if}-->
|
|
<!--{/if}-->
|
|
<!--{elseif $_GET['optgroup'] == 3}-->
|
|
<!--{if $operation == 'delete'}-->
|
|
<dl>
|
|
<!--{if $_G['group']['allowdelpost']}-->
|
|
<input name="operations[]" type="hidden" value="delete"/>
|
|
<dt>{lang admin_delthread_confirm}</dt>
|
|
<dd><input type="submit" class="formdialog button2" name="modsubmit" id="modsubmit" value="{lang confirms}"><a href="javascript:;" onclick="popup.close();">{lang cancel}</a></dd>
|
|
<!--{else}-->
|
|
<dt>{lang admin_delthread_nopermission}</dt>
|
|
<!--{/if}-->
|
|
</dl>
|
|
<!--{/if}-->
|
|
<!--{elseif $_GET['optgroup'] == 4}-->
|
|
<dl>
|
|
<dt style="height:110px;">
|
|
<p>{lang expire}: </p>
|
|
<p>
|
|
<input type="text" name="expirationclose" id="expirationclose" class="px" autocomplete="off" value="$expirationclose" />
|
|
</p>
|
|
<p style="font-size:.14rem;">{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>
|
|
</dt>
|
|
<dd><input type="submit" name="modsubmit" id="modsubmit" value="{lang confirms}" class="formdialog button2"><a href="javascript:;" onclick="popup.close();">{lang cancel}</a></dd>
|
|
</dl>
|
|
<!--{/if}-->
|
|
</form>
|
|
<!--{else}-->
|
|
<dl>
|
|
<dt>{lang admin_threadtopicadmin_error}</dt>
|
|
<dd><input type="button" onclick="popup.close();" value="{lang confirms}" class="button2"></dd>
|
|
</dl>
|
|
<!--{/if}-->
|
|
</div>
|
|
<!--{template common/footer}-->
|