📄 editwatches.jsp
字号:
<% } %> <td width="1%" align="center"> <input type="checkbox" name="save-forum-<%= forum.getID() %>" value="<%= forum.getID() %>" <%= ((!action.getIsExpirableWatch(forum)) ? "checked" : "") %>> </td> <td width="1%" align="center" class="jive-delete"> <input type="checkbox" name="delete-forum-<%= forum.getID() %>" value="<%= forum.getID() %>"> </td> </tr> <% } %> <tr class="jive-button-row"> <td width="97%" colspan="3"> </td> <td colspan="<%= ((emailWatchesEnabled) ? "2" : "1") %>" width="2%" align="center" class="jive-update-button"> <%-- Update Watches --%> <input type="submit" name="doForumWatchUpdate" value="<jive:i18n key="global.update_watches" />"> </td> <td width="1%" align="center" class="jive-delete-button"> <%-- Delete --%> <input type="submit" name="doForumWatchDelete" value="<jive:i18n key="global.delete" />"> </td> </tr> </table> <br> </div><% } %><a name="topics"></a><span class="jive-cp-header"><%-- Watched Topics (COUNT) --%><jive:i18n key="watches.watched_topic_count"> <jive:arg> <%= action.getWatchedThreadCount() %> </jive:arg></jive:i18n></span><br><br><% int threadRowCount = 0; %><% if (action.getWatchedThreadCount() > 0) { %> <div class="jive-watch-list"> <table class="jive-box" cellpadding="3" cellspacing="0" border="0" width="100%"> <tr> <th colspan="3" class="jive-name"> <%-- Topic --%> <jive:i18n key="global.topic" /> </th> <th nowrap> <%-- Forum --%> <jive:i18n key="global.forum" /> </th> <% if (emailWatchesEnabled) { %> <th nowrap> <%-- Email Updates --%> <jive:i18n key="global.email_updates" /> </th> <% } %> <th nowrap> <%-- Save --%> <jive:i18n key="global.save" /> </th> <th nowrap> <%-- Delete --%> <jive:i18n key="global.delete" /> </th> </tr> <% for (Iterator iter=action.getWatchedThreads(); iter.hasNext(); ) { ForumThread thread = (ForumThread)iter.next(); threadRowCount++; %> <tr class="jive-<%= ((threadRowCount%2==0) ? "even" : "odd") %>"> <td width="1%" align="center"> <%= threadRowCount %> </td> <td class="jive-bullet" width="1%" nowrap> <% if (action.getReadStatus(thread, ReadTracker.UNREAD)) { %> <img src="images/unread.gif" width="9" height="9" border="0" vspace="4" hspace="2"> <% } else if (action.getReadStatus(thread, ReadTracker.UPDATED)) { %> <img src="images/updated.gif" width="9" height="9" border="0" vspace="4" hspace="2"> <% } else { %> <img src="images/read.gif" width="9" height="9" border="0" vspace="4" hspace="2"> <% } %> </td> <td width="94%" class="jive-name"> <a href="thread.jspa?threadID=<%= thread.getID() %>" ><%= thread.getName() %></a> </td> <td width="1%" nowrap> <a href="forum.jspa?forumID=<%= thread.getForum().getID() %>" ><%= thread.getForum().getName() %></a> </td> <% if (emailWatchesEnabled) { %> <td width="1%" align="center"> <input type="checkbox" name="email-thread-<%= thread.getID() %>" value="<%= thread.getForum().getID() %>-<%= thread.getID() %>" <%= ((action.getHasEmailWatch(thread)) ? "checked" : "") %>> </td> <% } %> <td width="1%" align="center"> <input type="checkbox" name="save-thread-<%= thread.getID() %>" value="<%= thread.getForum().getID() %>-<%= thread.getID() %>" <%= ((!action.getIsExpirableWatch(thread)) ? "checked" : "") %>> </td> <td width="1%" align="center" class="jive-delete"> <input type="checkbox" name="delete-thread-<%= thread.getID() %>" value="<%= thread.getForum().getID() %>-<%= thread.getID() %>"> </td> </tr> <% } %> <tr class="jive-button-row"> <td width="97%" colspan="4"> </td> <td colspan="<%= ((emailWatchesEnabled) ? "2" : "1") %>" width="2%" align="center" class="jive-update-button"> <%-- Update Watches --%> <input type="submit" name="doThreadWatchUpdate" value="<jive:i18n key="global.update_watches" />"> </td> <td width="1%" align="center" class="jive-delete-button"> <%-- Delete --%> <input type="submit" name="doThreadWatchDelete" value="<jive:i18n key="global.delete" />"> </td> </tr> </table> <br> </div><% } %><a name="users"></a><span class="jive-cp-header"><%-- Watched Users (COUNT) --%><jive:i18n key="watches.watched_user_count"> <jive:arg> <%= action.getWatchedUserCount() %> </jive:arg></jive:i18n></span><br><br><% int userRowCount = 0; %><% if (action.getWatchedUserCount() > 0) { %> <div class="jive-watch-list"> <table class="jive-box" cellpadding="3" cellspacing="0" border="0" width="100%"> <tr> <th colspan="2" class="jive-name"> <%-- User --%> <jive:i18n key="global.user" /> </th> <th nowrap align="left"> <%-- Name --%> <jive:i18n key="global.name" /> </th> <% if (emailWatchesEnabled) { %> <th nowrap> <%-- Email Updates --%> <jive:i18n key="global.email_updates" /> </th> <% } %> <th nowrap> <%-- Delete --%> <jive:i18n key="global.delete" /> </th> </tr> <% for (Iterator iter=action.getWatchedUsers(); iter.hasNext(); ) { User user = (User)iter.next(); userRowCount++; %> <tr class="jive-<%= ((userRowCount%2==0) ? "even" : "odd") %>"> <td width="1%" align="center"> <%= userRowCount %> </td> <td width="72%" class="jive-name"> <a href="profile.jspa?userID=<%= user.getID() %>" ><%= user.getUsername() %></a> </td> <td width="25%" nowrap> <a href="profile.jspa?userID=<%= user.getID() %>" ><%= ((user.getName() != null) ? user.getName() : action.getText("global.hidden")) %></a> </td> <% if (emailWatchesEnabled) { %> <td width="1%" align="center"> <input type="checkbox" name="email-user-<%= user.getID() %>" value="<%= user.getID() %>" <%= ((action.getHasEmailWatch(user)) ? "checked" : "") %>> </td> <% } %> <td width="1%" align="center" class="jive-delete"> <input type="checkbox" name="delete-user-<%= user.getID() %>" value="<%= user.getID() %>"> </td> </tr> <% } %> <tr class="jive-button-row"> <td width="98%" colspan="3"> </td> <% if (emailWatchesEnabled) { %> <td width="1%" align="center" class="jive-update-button"> <%-- Update Watches --%> <input type="submit" name="doUserWatchUpdate" value="<jive:i18n key="global.update_watches" />"> </td> <% } %> <td width="1%" align="center" class="jive-delete-button"> <%-- Delete --%> <input type="submit" name="doUserWatchDelete" value="<jive:i18n key="global.delete" />"> </td> </tr> </table> <br> </div><% } %></form><jsp:include page="footer.jsp" flush="true" />
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -