📄 topicadmin_moderate.jsp
字号:
<c:if test="${valueObject.stickPurview>2}">
<label>
<input class="radio" type="radio" name="level" value="3" ${valueObject.level== '3'?'checked':''} onclick="$('expirationarea').disabled=0" />
<img src="images/default/pin_3.gif" alt="全局置顶" />
全局置顶
</label>
</c:if>
</td>
</tr>
</c:when>
<c:when test="${action=='digest'}">
<tr>
<th>级别</th>
<td>
<c:if test="${valueObject.showUnchain}">
<label>
<input class="radio" type="radio" name="level" value="0" />
解除精华
</label>
</c:if>
<label>
<input class="radio" type="radio" name="level" value="1" ${valueObject.level== '1'?'checked':''} onclick="$('expiration').disabled=0" />
<img src="images/default/digest_1.gif" alt="" />
</label>
<label>
<input class="radio" type="radio" name="level" value="2" ${valueObject.level== '2'?'checked':''} onclick="$('expiration').disabled=0" />
<img src="images/default/digest_2.gif" alt="" />
</label>
<label>
<input class="radio" type="radio" name="level" value="3" ${valueObject.level== '3'?'checked':''} onclick="$('expiration').disabled=0" />
<img src="images/default/digest_3.gif" alt="" />
</label>
</td>
</tr>
</c:when>
<c:when test="${action=='supe_push'}">
<tr>
<td class="altbg1"><span class="bold">推送到 SupeSite</span></td>
<td class="altbg2">
<input class="radio" type="radio" name="supe_pushstatus" value="2" checked="checked"> 推送
<input class="radio" type="radio" name="supe_pushstatus" value="-2"> 解除推送
</td>
</tr>
</c:when>
<c:when test="${action=='removereward'}"></c:when>
<c:when test="${action=='bump'}">
<tr>
<th>操作</th>
<td>
<label><input class="radio" type="radio" name="isbump" value="1" checked="checked" /> 提升主题</label>
<label><input class="radio" type="radio" name="isbump" value="0" /> 下沉主题</label>
</td>
</tr>
</c:when>
<c:when test="${action=='recommend'}">
<tr>
<th>操作</th>
<td>
<label><input class="radio" type="radio" name="isrecommend" value="1" checked="checked" /> 推荐主题</label>
<label><input class="radio" type="radio" name="isrecommend" value="0" /> 解除推荐</label>
</td>
</tr>
<tr>
<th><label for="recommendexpire">有效期</label></th>
<td>
<select id="recommendexpire" name="recommendexpire">
<option value="86400">一天</option>
<option value="259200">三天</option>
<option value="432000">五天</option>
<option value="604800">一周</option>
<option value="2592000">一月</option>
<option value="7776000">三月</option>
<option value="15552000">六月</option>
<option value="31536000">一年</option>
</select>
</td>
</tr>
</c:when>
</c:choose>
<c:if test="${action=='highlight'||action=='stick'||action=='digest'||action=='close'||action=='move'||action=='delete'}">
<script src="include/javascript/calendar.js" type="text/javascript"></script>
<tr id="expirationarea">
<th><label for="expiration">${action=='move'||action=='delete'?"执行时间":"有效期"}</label></th>
<td><input onclick="showcalendar(event, this${action=='move'||action=='delete'?"":", true"})" type="text" name="expiration" id="expiration" size="15" value="" /> 本操作的${action=='move'||action=='delete'?"执行时限":"有效期限"},格式为 yyyy-mm-dd,范围 <u>${valueObject.minTime }</u> 至 <u>${valueObject.maxTime }</u>,${action=='move'||action=='delete'?"留空为立即执行":"留空为不限制"}</td>
</tr>
</c:if>
<jsp:include flush="true" page="topicadmin_reason.jsp" />
<c:if test="${action=='highlight'||action=='stick'||action=='digest'}">
<tr>
<th>后续操作</th>
<td>
<label><input class="radio" type="radio" name="next" value="" checked="checked" /> 无</label>
<c:if test="${action!='highlight'}"><label><input class="radio" type="radio" name="next" value="highlight" /> 高亮显示</label> </c:if>
<c:if test="${action!='stick'}"><label><input class="radio" type="radio" name="next" value="stick" /> 置顶/解除置顶</label> </c:if>
<c:if test="${action!='digest'}"><label><input class="radio" type="radio" name="next" value="digest"> 加入/解除精华</label> </c:if>
</td>
</tr>
</c:if>
<tr class="btns">
<th> </th>
<td><button type="submit" name="modsubmit" id="postsubmit" value="true">提交</button> [完成后可按 Ctrl+Enter 发布]
</tr>
</table>
</div>
<c:choose>
<c:when test="${valueObject.singleThread}">
<input type="hidden" name="moderate_" value="${valueObject.threadId }" />
<c:if test="${valueObject.showLogList}">
<div class="mainbox">
<h3>主题操作记录</h3>
<table summary="Log List" cellspacing="0" cellpadding="0">
<thead>
<tr>
<td>操作者</td>
<td>时间</td>
<td>操作</td>
<td>有效期</td>
</tr>
</thead>
<c:forEach items="${valueObject.logList}" var="log">
<tr>
<td>
<c:choose>
<c:when test="${log.showUsername}"><a href="space.jsp?uid=${log.uid}" target="_blank">${log.username}</a></c:when>
<c:otherwise>任务系统</c:otherwise>
</c:choose>
</td>
<td>${log.operationTime}</td>
<td ${log.css}><strong>${log.operation}</strong></td>
<td ${log.css}>${log.expiretion}<%-- if in_array($log['action'], array('STK', 'HLT', 'DIG', 'CLS', 'OPN')) 或者没有终止时间该处的信息为:永久有效--%></td>
</tr>
</c:forEach>
</table>
</div>
</c:if>
</c:when>
<c:otherwise>
<div class="mainbox threadlist">
<table summary="Threads" cellspacing="0" cellpadding="0">
<thead>
<tr>
<th>标题</th>
<td class="author">作者</td>
<td class="nums">回复</td>
<td class="lastpost">最后发表</td>
</tr>
</thead>
<tbody>
<c:forEach items="${valueObject.threadInfoList}" var="threadInfo">
<tr>
<th><input type="checkbox" name="moderate_" value="${threadInfo.threadId}" checked="checked" /> <a href="viewthread.jsp?tid=${threadInfo.threadId}&page=${threadInfo.pageNumber }">${threadInfo.title}</a></th>
<td class="author">
<c:choose>
<c:when test="${threadInfo.showAuthor}"><a href="space.jsp?uid=${threadInfo.authorId}">${threadInfo.authorName}</a></c:when>
<c:otherwise>匿名</c:otherwise>
</c:choose>
</td>
<td class="nums">${threadInfo.replies}</td>
<td class="lastpost">${threadInfo.lastpost}
<cite>by
<c:choose>
<c:when test="${threadInfo.showLastPoster}"><a href="space.jsp?username=<jrun:encoding value="${threadInfo.lastPosterName}"/>">${threadInfo.lastPosterName}</a></c:when>
<c:otherwise>匿名</c:otherwise>
</c:choose>
</cite>
</td>
</tr>
</c:forEach>
</tbody>
</table>
</div>
</c:otherwise>
</c:choose>
</form>
<jsp:include flush="true" page="footer.jsp" />
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -