⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 editwatches.jsp

📁 jive3.1.4破解版(非源码)
💻 JSP
📖 第 1 页 / 共 2 页
字号:
<%--  -  - $RCSfile: editwatches.jsp,v $  - $Revision: 1.23.2.2 $  - $Date: 2003/06/30 20:54:29 $  ---%><%@ page import="com.jivesoftware.forum.action.*,                 com.jivesoftware.base.*,                 com.jivesoftware.forum.*"%><%@ page import="com.jivesoftware.forum.action.*" %><%@ include file="global.jsp" %><%@ taglib uri="webwork" prefix="ww" %><%@ taglib uri="jivetags" prefix="jive" %><%  // Get the action for this view.    EditWatchesAction action = (EditWatchesAction)getAction(request);    // Variable to indicate of email watches are enabled:    boolean emailWatchesEnabled = false;    if (!"false".equals(JiveGlobals.getJiveProperty("watches.emailNotifyEnabled"))) {        emailWatchesEnabled = true;    }%><jsp:include page="header.jsp" flush="true" /><table cellpadding="0" cellspacing="0" border="0" width="100%"><tr valign="top">    <td width="98%">        <%-- Breadcrumbs (customizable via the admin tool) --%>        <jsp:include page="breadcrumbs.jsp" flush="true" />        <%-- Forum name and brief info about the forum --%>        <p class="jive-page-title">        <%-- Your Watches --%>        <jive:i18n key="watches.title" />        </p>        <%@ include file="back-link.jsp" %>    </td>    <td width="1%"><img src="images/blank.gif" width="10" height="1" border="0"></td>    <td width="1%">        <%@ include file="accountbox.jsp" %>    </td></tr></table><br><%  String selectedTab = action.getText("global.watches"); %><%@ include file="tabs.jsp" %><form action="editwatches.jspa" method="post"><input type="hidden" name="command" value="execute"><br><a name="cats"></a><span class="jive-cp-header"><%-- Watched Categories (COUNT) --%><jive:i18n key="watches.watched_cat_count">    <jive:arg>        <%= action.getWatchedCategoryCount() %>    </jive:arg></jive:i18n></span><br><br><%  int catRowCount = 0; %><%  if (action.getWatchedCategoryCount() > 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">            <%-- Category Name --%>            <jive:i18n key="global.category_name" />        </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.getWatchedCategories(); iter.hasNext(); ) {            ForumCategory cat = (ForumCategory)iter.next();            catRowCount++;    %>        <tr class="jive-<%= ((catRowCount%2==0) ? "even" : "odd") %>">            <td width="1%" align="center">                <%= catRowCount %>            </td>            <td class="jive-bullet" width="1%">                <%  if (action.getReadStatus(cat, ReadTracker.UNREAD)) { %>                    <img src="images/unread.gif" width="9" height="9" border="0" vspace="4">                <%  } else if (action.getReadStatus(cat, ReadTracker.UPDATED)) { %>                    <img src="images/updated.gif" width="9" height="9" border="0" vspace="4">                <%  } else { %>                    <img src="images/read.gif" width="9" height="9" border="0" vspace="4">                <%  } %>            </td>            <td width="96%" class="jive-name">                <a href="index.jspa?categoryID=<%= cat.getID() %>"                 ><%= cat.getName() %></a>            </td>            <%  if (emailWatchesEnabled) { %>                <td width="1%" align="center">                    <input type="checkbox" name="email-cat-<%= cat.getID() %>" value="<%= cat.getID() %>"                     <%= ((action.getHasEmailWatch(cat)) ? "checked" : "") %>>                </td>            <%  } %>            <td width="1%" align="center">                <input type="checkbox" name="save-cat-<%= cat.getID() %>" value="<%= cat.getID() %>"                 <%= ((!action.getIsExpirableWatch(cat)) ? "checked" : "") %>>            </td>            <td width="1%" align="center" class="jive-delete">                <input type="checkbox" name="delete-cat-<%= cat.getID() %>" value="<%= cat.getID() %>">            </td>        </tr>    <%  } %>    <tr class="jive-button-row">        <td width="97%" colspan="3">            &nbsp;        </td>        <td colspan="<%= ((emailWatchesEnabled) ? "2" : "1") %>" width="2%" align="center" class="jive-update-button">            <%-- Update Watches --%>            <input type="submit" name="doCatWatchUpdate" value="<jive:i18n key="global.update_watches" />">        </td>        <td width="1%" align="center" class="jive-delete-button">            <%-- Delete --%>            <input type="submit" name="doCatWatchDelete" value="<jive:i18n key="global.delete" />">        </td>    </tr>    </table>    <br>    </div><%  } %><a name="forums"></a><span class="jive-cp-header"><%-- Watched Forums (COUNT) --%><jive:i18n key="watches.watched_forum_count">    <jive:arg>        <%= action.getWatchedForumCount() %>    </jive:arg></jive:i18n></span><br><br><%  int forumRowCount = 0; %><%  if (action.getWatchedForumCount() > 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">            <%-- Forum Name --%>            <jive:i18n key="global.forum_name" />        </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.getWatchedForums(); iter.hasNext(); ) {            Forum forum = (Forum)iter.next();            forumRowCount++;    %>        <tr class="jive-<%= ((forumRowCount%2==0) ? "even" : "odd") %>">            <td width="1%" align="center">                <%= forumRowCount %>            </td>            <td class="jive-bullet" width="1%">                <%  if (action.getReadStatus(forum, ReadTracker.UNREAD)) { %>                    <img src="images/unread.gif" width="9" height="9" border="0" vspace="4">                <%  } else if (action.getReadStatus(forum, ReadTracker.UPDATED)) { %>                    <img src="images/updated.gif" width="9" height="9" border="0" vspace="4">                <%  } else { %>                    <img src="images/read.gif" width="9" height="9" border="0" vspace="4">                <%  } %>            </td>            <td width="95%" class="jive-name">                <a href="forum.jspa?forumID=<%= forum.getID() %>"><%= forum.getName() %></a>            </td>            <%  if (emailWatchesEnabled) { %>                <td width="1%" align="center">                    <input type="checkbox" name="email-forum-<%= forum.getID() %>" value="<%= forum.getID() %>"                     <%= ((action.getHasEmailWatch(forum)) ? "checked" : "") %>>                </td>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -