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

📄 editsettings.jsp

📁 jive3.1.4破解版(非源码)
💻 JSP
字号:
<%--  - $RCSfile: editsettings.jsp,v $  - $Revision: 1.25 $  - $Date: 2003/05/27 21:28:20 $  -  - Copyright (C) 1999-2003 Jive Software. All rights reserved.  -  - This software is the proprietary information of Jive Software.  Use is subject to license terms.--%><%@ page import="com.jivesoftware.forum.action.SettingsAction,                 java.util.*" %><%@ include file="global.jsp" %><%@ taglib uri="webwork" prefix="ww" %><%@ taglib uri="jivetags" prefix="jive" %><%  // Get the action for this view.    SettingsAction action = (SettingsAction)getAction(request);%><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">        <%-- Edit Your Preferences --%>        <jive:i18n key="settings.edit_your_settings" />        </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.general_settings"); %><%@ include file="tabs.jsp" %><br><ww:if test="hasErrorMessages == true">    <span class="jive-error-text">    <ww:iterator value="errorMessages">        <ww:property /> <br>    </ww:iterator>    <br>    </span></ww:if><ww:if test="hasErrors == true">    <span class="jive-error-text">    <ww:iterator value="errors">        <ww:property /> <br>    </ww:iterator>    <br>    </span></ww:if><a name="viewing"></a><span class="jive-cp-header"><%-- Viewing Preferences --%><jive:i18n key="settings.viewing_prefs" /></span><br><br><form action="settings.jspa" method="post"><input type="hidden" name="command" value="execute"><div class="jive-cp-formbox"><table cellpadding="3" cellspacing="0" border="0" width="100%"><tr>    <td width="1%" nowrap>        <%-- Topics Per Forum Page: --%>        <jive:i18n key="settings.topics_forum" /><jive:i18n key="global.colon" />    </td>    <td>        <select size="1" name="topicsPerForumPage">            <%  String[] topicCounts = { "10", "15", "25", "50" };                String currentTopicCount = action.getTopicsPerForumPage();                for (int i=0; i<topicCounts.length; i++) {                    boolean selected = topicCounts[i].equals(currentTopicCount);            %>                <option value="<%= topicCounts[i] %>"<%= (selected?" selected":"") %>                 ><%= topicCounts[i] %></option>            <%  } %>        </select>    </td></tr><%  if ("flat".equals(JiveGlobals.getJiveProperty("skin.default.threadMode"))) { %>    <tr>        <td width="1%" nowrap>            <%-- Messages Per Topic Page: --%>            <jive:i18n key="settings.messages_topic" /><jive:i18n key="global.colon" />        </td>        <td>            <select size="1" name="messagesPerTopicPage">                <%  String[] messageCounts = { "10", "15", "25", "50" };                    String currentMessageCount = action.getMessagesPerTopicPage();                    for (int i=0; i<messageCounts.length; i++) {                        boolean selected = messageCounts[i].equals(currentMessageCount);                %>                    <option value="<%= messageCounts[i] %>"<%= (selected?" selected":"") %>                     ><%= messageCounts[i] %></option>                <%  } %>            </select>        </td>    </tr><%  } %><%--    <ww:if test="pageUser">        <jive:property if="skin.default.usersChooseThreadMode">            <tr>                <td width="1%" nowrap>                    <!-- Topic Page View: -->                    <jive:i18n key="settings.topic_page_view" />                </td>                <td>                    <select size="1" name="threadMode">                    <%  String[][] threadModes = action.getThreadModes();                        String currentMode = action.getCurrentThreadMode();                        for (int i=0; i<threadModes.length; i++) {                            boolean selected = threadModes[i][0].equals(currentMode);                    %>                        <option value="<%= threadModes[i][1] %>"<%= (selected?" selected":"") %>                         ><%= threadModes[i][1] %>                    <%  } %>                    </select>                </td>            </tr>        </jive:property>    </ww:if>--%><jive:property if="skin.default.usersChooseLocale">    <tr>        <td width="1%" nowrap>            <%-- Locale: --%>            <jive:i18n key="global.locale" /><jive:i18n key="global.colon" />        </td>        <td>            <select size="1" name="localeID">            <%  List locales = action.getLocales();                Locale currentLocale = action.getLocale();                for (int i=0; i<locales.size(); i++) {                    Locale locale = (Locale)locales.get(i);            %>                <option value="<%= locale.toString() %>"                 <%= ((currentLocale.getDisplayName().equals(locale.getDisplayName()))?" selected":"") %>                 ><%= locale.getDisplayName() %></option>            <%  } %>            </select>        </td>    </tr></jive:property><tr>    <td width="1%" nowrap>        <%-- Time Zone: --%>        <jive:i18n key="global.time_zone" /><jive:i18n key="global.colon" />    </td>    <td>        <select size="1" name="timeZoneID">        <%	String[][] timeZones = action.getTimeZones();            String timeZoneID = action.getTimeZone().getID();            for (int i=0; i<timeZones.length; i++) {                boolean selected = timeZones[i][0].equals(timeZoneID);        %>            <option value="<%= timeZones[i][0] %>"<%= (selected?" selected":"") %>><%= timeZones[i][1] %></option>        <%	} %>        </select>    </td></tr></table></div><ww:if test="pageUser">    <jive:property if="watches.enabled">        <br><br>        <a name="viewing"></a>        <span class="jive-cp-header">        <%-- Watch Preferences --%>        <jive:i18n key="settings.watch" />        </span>        <br><br>        <div class="jive-cp-formbox">        <table cellpadding="3" cellspacing="0" border="0" width="100%">        <tr>            <td width="1%" nowrap>                <%-- Automatically watch new topics I create: --%>                <jive:i18n key="settings.always_watch_create" /><jive:i18n key="global.colon" />            </td>            <td>                <input type="radio" name="autoAddTopicWatch" value="true" id="w01"                 <ww:if test="autoAddTopicWatch == true">checked</ww:if>>                <%-- Yes --%>                <label for="w01"><jive:i18n key="global.yes" /></label>                &nbsp;                <input type="radio" name="autoAddTopicWatch" value="false" id="w02"                 <ww:if test="autoAddTopicWatch == false">checked</ww:if>>                <%-- No --%>                <label for="w02"><jive:i18n key="global.no" /></label>            </td>        </tr>        <tr>            <td width="1%" nowrap>                <%-- Automatically watch topics I reply to: --%>                <jive:i18n key="settings.always_watch_reply" /><jive:i18n key="global.colon" />            </td>            <td>                <input type="radio" name="autoAddReplyWatch" value="true" id="w03"                 <ww:if test="autoAddReplyWatch == true">checked</ww:if>>                <%-- Yes --%>                <label for="w03"><jive:i18n key="global.yes" /></label>                &nbsp;                <input type="radio" name="autoAddReplyWatch" value="false" id="w04"                 <ww:if test="autoAddReplyWatch == false">checked</ww:if>>                <%-- No --%>                <label for="w04"><jive:i18n key="global.no" /></label>            </td>        </tr>        <jive:property if="watches.emailNotifyEnabled" assumeTrue="true">            <tr>                <td width="1%" nowrap>                    <%-- Notify me by email of watch updates: --%>                    <jive:i18n key="settings.email_updates" /><jive:i18n key="global.colon" />                </td>                <td>                    <input type="radio" name="autoAddEmailWatch" value="true" id="w05"                     <ww:if test="autoAddEmailWatch == true">checked</ww:if>>                    <%-- Yes --%>                    <label for="w05"><jive:i18n key="global.yes" /></label>                    &nbsp;                    <input type="radio" name="autoAddEmailWatch" value="false" id="w06"                     <ww:if test="autoAddEmailWatch == false">checked</ww:if>>                    <%-- No --%>                    <label for="w06"><jive:i18n key="global.no" /></label>                </td>            </tr>        </jive:property>        </table>        </div>    </jive:property></ww:if><br><%-- Save Changes --%><input type="submit" name="doSaveChangs" value="<jive:i18n key="settings.save_changes" />"></form><br><br><jsp:include page="footer.jsp" flush="true" />

⌨️ 快捷键说明

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