settings.jsp
来自「Jive是基于JSP/JAVA技术构架的一个大型BBS论坛系统,这是Jive论坛」· JSP 代码 · 共 649 行 · 第 1/2 页
JSP
649 行
<tr bgcolor="<%= JiveGlobals.getJiveProperty("skin.default.prefsHeaderBgColor") %>"> <td> <font size="<%= JiveGlobals.getJiveProperty("skin.default.headerFontSize") %>" face="<%= JiveGlobals.getJiveProperty("skin.default.headerFontFace") %>" color="<%= JiveGlobals.getJiveProperty("skin.default.prefsHeaderTextColor") %>"> <b><%= SkinUtils.getLocalizedString("skin.default.settings.viewing_pref",locale).toUpperCase() %></b> </font> </td></tr><tr bgcolor="<%= JiveGlobals.getJiveProperty("skin.default.prefsBgColor") %>"> <td align="center"> <table cellpadding="3" cellspacing="0" border="0"> <tr> <td align="right"> <font size="<%= JiveGlobals.getJiveProperty("skin.default.fontSize") %>" face="<%= JiveGlobals.getJiveProperty("skin.default.fontFace") %>"> <%= SkinUtils.getLocalizedString("skin.default.settings.topics_forum",locale) %><%= SkinUtils.getLocalizedString("skin.default.global.colon",locale) %> </font> </td> <td> <font size="<%= JiveGlobals.getJiveProperty("skin.default.fontSize") %>" face="<%= JiveGlobals.getJiveProperty("skin.default.fontFace") %>"> <select size="1" name="threadRange"> <% for (int i=0; i<THREAD_RANGES.length; i++) { String selected = ((THREAD_RANGES[i]==threadRange)?" selected":""); %> <option value="<%= THREAD_RANGES[i] %>"<%= selected %>><%= THREAD_RANGES[i] %> <% } %> </select> </font> </td> </tr> <tr> <td align="right"> <font size="<%= JiveGlobals.getJiveProperty("skin.default.fontSize") %>" face="<%= JiveGlobals.getJiveProperty("skin.default.fontFace") %>"> <%= SkinUtils.getLocalizedString("skin.default.settings.messages_topic",locale) %><%= SkinUtils.getLocalizedString("skin.default.global.colon",locale) %> </font> </td> <td> <font size="<%= JiveGlobals.getJiveProperty("skin.default.fontSize") %>" face="<%= JiveGlobals.getJiveProperty("skin.default.fontFace") %>"> <select size="1" name="messageRange"> <% for (int i=0; i<MESSAGE_RANGES.length; i++) { String selected = ((MESSAGE_RANGES[i]==messageRange)?" selected":""); %> <option value="<%= MESSAGE_RANGES[i] %>"<%= selected %>><%= MESSAGE_RANGES[i] %> <% } %> </select> </font> </td> </tr> <tr> <td align="right"> <font size="<%= JiveGlobals.getJiveProperty("skin.default.fontSize") %>" face="<%= JiveGlobals.getJiveProperty("skin.default.fontFace") %>"> <%= SkinUtils.getLocalizedString("skin.default.settings.time_zone",locale) %><%= SkinUtils.getLocalizedString("skin.default.global.colon",locale) %> </font> </td> <td> <font size="<%= JiveGlobals.getJiveProperty("skin.default.fontSize") %>" face="<%= JiveGlobals.getJiveProperty("skin.default.fontFace") %>"> <select size="1" name="timeZone"> <% for (int i=0; i<timeZones.length; i++) { String selected = (timeZones[i][0].equals(timeZoneID))?" selected":""; %> <option value="<%= timeZones[i][0] %>"<%= selected %>><%= timeZones[i][1] %> <% } %> </select> </font> </td> </tr> <% if ("true".equals(JiveGlobals.getJiveProperty("skin.default.usersChooseLocale"))) { %> <tr> <td align="right"> <font size="<%= JiveGlobals.getJiveProperty("skin.default.fontSize") %>" face="<%= JiveGlobals.getJiveProperty("skin.default.fontFace") %>"> Locale: </font> </td> <td> <font size="<%= JiveGlobals.getJiveProperty("skin.default.fontSize") %>" face="<%= JiveGlobals.getJiveProperty("skin.default.fontFace") %>"> <select size="1" name="locale"> <% for (int i=0; i<locales.length; i++) { String selected = ""; if (locales[i].equals(locale)) { selected = " selected"; } %> <option value="<%= locales[i].toString() %>"<%= selected %>><%= locales[i].getDisplayName() %> <% } %> </select> </font> </td> </tr> <% } %> </table> </td></tr></table></td></table><% if (user != null && pageUser != null && (user.getID() == pageUser.getID())) { %><p><table bgcolor="<%= JiveGlobals.getJiveProperty("skin.default.tableBorderColor") %>" cellspacing="0" cellpadding="0" border="0" width="500" align="center"><tr><td><table bgcolor="<%= JiveGlobals.getJiveProperty("skin.default.tableBorderColor") %>" cellspacing="1" cellpadding="3" border="0" width="100%"><tr bgcolor="<%= JiveGlobals.getJiveProperty("skin.default.prefsHeaderBgColor") %>"> <td> <font size="<%= JiveGlobals.getJiveProperty("skin.default.headerFontSize") %>" face="<%= JiveGlobals.getJiveProperty("skin.default.headerFontFace") %>" color="<%= JiveGlobals.getJiveProperty("skin.default.prefsHeaderTextColor") %>"> <b><%= SkinUtils.getLocalizedString("skin.default.settings.your_profile",locale).toUpperCase() %></b> </font> </td></tr><tr bgcolor="<%= JiveGlobals.getJiveProperty("skin.default.prefsBgColor") %>"> <td align="center"> <table cellpadding="3" cellspacing="0" border="0"> <tr> <td align="right"> <font size="<%= JiveGlobals.getJiveProperty("skin.default.fontSize") %>" face="<%= JiveGlobals.getJiveProperty("skin.default.fontFace") %>"> <%= SkinUtils.getLocalizedString("skin.default.settings.name_visible",locale) %><%= SkinUtils.getLocalizedString("skin.default.global.colon",locale) %> </font> </td> <td> <font size="<%= JiveGlobals.getJiveProperty("skin.default.fontSize") %>" face="<%= JiveGlobals.getJiveProperty("skin.default.fontFace") %>"> <input type="radio" name="nameVisible" value="true" <%= ((nameVisible)?"checked":"") %> id="p1"><label for="p1"><%= SkinUtils.getLocalizedString("skin.default.global.yes",locale) %></label> <input type="radio" name="nameVisible" value="false" <%= ((!nameVisible)?"checked":"") %> id="p2"><label for="p2"><%= SkinUtils.getLocalizedString("skin.default.global.no",locale) %></label> </font> </td> </tr> <tr> <td align="right"> <font size="<%= JiveGlobals.getJiveProperty("skin.default.fontSize") %>" face="<%= JiveGlobals.getJiveProperty("skin.default.fontFace") %>"> <%= SkinUtils.getLocalizedString("skin.default.settings.email_visible",locale) %><%= SkinUtils.getLocalizedString("skin.default.global.colon",locale) %> </font> </td> <td> <font size="<%= JiveGlobals.getJiveProperty("skin.default.fontSize") %>" face="<%= JiveGlobals.getJiveProperty("skin.default.fontFace") %>"> <input type="radio" name="emailVisible" value="true" <%= ((emailVisible)?"checked":"") %> id="p3"><label for="p3"><%= SkinUtils.getLocalizedString("skin.default.global.yes",locale) %></label> <input type="radio" name="emailVisible" value="false" <%= ((!emailVisible)?"checked":"") %> id="p4"><label for="p4"><%= SkinUtils.getLocalizedString("skin.default.global.no",locale) %></label> </font> </td> </tr> <tr> <td align="right"> <font size="<%= JiveGlobals.getJiveProperty("skin.default.fontSize") %>" face="<%= JiveGlobals.getJiveProperty("skin.default.fontFace") %>"> <%= SkinUtils.getLocalizedString("skin.default.global.name",locale) %><%= SkinUtils.getLocalizedString("skin.default.global.colon",locale) %> </font> </td> <td> <input type="text" name="name" value="<%= ((name!=null)?name:"") %>" size="30" maxlength="255" onfocus="this.select();"> </td> </tr> <tr> <td align="right"> <font size="<%= JiveGlobals.getJiveProperty("skin.default.fontSize") %>" face="<%= JiveGlobals.getJiveProperty("skin.default.fontFace") %>"> <%= SkinUtils.getLocalizedString("skin.default.global.email",locale) %><%= SkinUtils.getLocalizedString("skin.default.global.colon",locale) %> </font> </td> <td> <input type="text" name="email" value="<%= ((email!=null)?email:"") %>" size="30" maxlength="255" onfocus="this.select();"> </td> </tr> <tr> <td align="right"> <font size="<%= JiveGlobals.getJiveProperty("skin.default.fontSize") %>" face="<%= JiveGlobals.getJiveProperty("skin.default.fontFace") %>"> <%= SkinUtils.getLocalizedString("skin.default.global.occupation",locale) %><%= SkinUtils.getLocalizedString("skin.default.global.colon",locale) %> </font> </td> <td> <input type="text" name="occupation" value="<%= ((occupation!=null)?occupation:"") %>" size="30" maxlength="255" onfocus="this.select();"> </td> </tr> <tr> <td align="right"> <font size="<%= JiveGlobals.getJiveProperty("skin.default.fontSize") %>" face="<%= JiveGlobals.getJiveProperty("skin.default.fontFace") %>"> <%= SkinUtils.getLocalizedString("skin.default.global.location",locale) %><%= SkinUtils.getLocalizedString("skin.default.global.colon",locale) %> </font> </td> <td> <input type="text" name="location" value="<%= ((location!=null)?location:"") %>" size="30" maxlength="255" onfocus="this.select();"> </td> </tr> <tr> <td align="right"> <font size="<%= JiveGlobals.getJiveProperty("skin.default.fontSize") %>" face="<%= JiveGlobals.getJiveProperty("skin.default.fontFace") %>"> <%= SkinUtils.getLocalizedString("skin.default.global.homepage",locale) %><%= SkinUtils.getLocalizedString("skin.default.global.colon",locale) %> </font> </td> <td> <input type="text" name="homepage" value="<%= ((homepage!=null)?homepage:"") %>" size="30" maxlength="255" onfocus="this.select();"> </td> </tr> </table> </td></tr></table></td></tr></table><p><table bgcolor="<%= JiveGlobals.getJiveProperty("skin.default.tableBorderColor") %>" cellspacing="0" cellpadding="0" border="0" width="500" align="center"><tr><td><table bgcolor="<%= JiveGlobals.getJiveProperty("skin.default.tableBorderColor") %>" cellspacing="1" cellpadding="3" border="0" width="100%"><tr bgcolor="<%= JiveGlobals.getJiveProperty("skin.default.prefsHeaderBgColor") %>"> <td> <font size="<%= JiveGlobals.getJiveProperty("skin.default.headerFontSize") %>" face="<%= JiveGlobals.getJiveProperty("skin.default.headerFontFace") %>" color="<%= JiveGlobals.getJiveProperty("skin.default.prefsHeaderTextColor") %>"> <b><%= SkinUtils.getLocalizedString("skin.default.settings.watch",locale).toUpperCase() %></b> </font> </td></tr><tr bgcolor="<%= JiveGlobals.getJiveProperty("skin.default.prefsBgColor") %>"> <td align="center"> <table cellpadding="3" cellspacing="0" border="0"> <tr> <td align="right" width="50%"> <font size="<%= JiveGlobals.getJiveProperty("skin.default.fontSize") %>" face="<%= JiveGlobals.getJiveProperty("skin.default.fontFace") %>"> <%= SkinUtils.getLocalizedString("skin.default.settings.always_watch_create",locale) %><%= SkinUtils.getLocalizedString("skin.default.global.colon",locale) %> </font> </td> <td width="50%"> <font size="<%= JiveGlobals.getJiveProperty("skin.default.fontSize") %>" face="<%= JiveGlobals.getJiveProperty("skin.default.fontFace") %>"> <input type="radio" name="autoWatchNewTopics" value="true" <%= ((autoWatchNewTopics)?"checked":"") %> id="w1"><label for="w1"><%= SkinUtils.getLocalizedString("skin.default.global.yes",locale) %></label> <input type="radio" name="autoWatchNewTopics" value="false" <%= ((!autoWatchNewTopics)?"checked":"") %> id="w2"><label for="w2"><%= SkinUtils.getLocalizedString("skin.default.global.no",locale) %></label> </font> </td> </tr> <tr> <td align="right" width="50%"> <font size="<%= JiveGlobals.getJiveProperty("skin.default.fontSize") %>" face="<%= JiveGlobals.getJiveProperty("skin.default.fontFace") %>"> <%= SkinUtils.getLocalizedString("skin.default.settings.always_watch_reply",locale) %><%= SkinUtils.getLocalizedString("skin.default.global.colon",locale) %> </font> </td> <td width="50%"> <font size="<%= JiveGlobals.getJiveProperty("skin.default.fontSize") %>" face="<%= JiveGlobals.getJiveProperty("skin.default.fontFace") %>"> <input type="radio" name="autoWatchReplies" value="true" <%= ((autoWatchReplies)?"checked":"") %> id="w3"><label for="w3"><%= SkinUtils.getLocalizedString("skin.default.global.yes",locale) %></label> <input type="radio" name="autoWatchReplies" value="false" <%= ((!autoWatchReplies)?"checked":"") %> id="w4"><label for="w4"><%= SkinUtils.getLocalizedString("skin.default.global.no",locale) %></label> </font> </td> </tr> <tr> <td align="right" width="50%"> <font size="<%= JiveGlobals.getJiveProperty("skin.default.fontSize") %>" face="<%= JiveGlobals.getJiveProperty("skin.default.fontFace") %>"> <%= SkinUtils.getLocalizedString("skin.default.settings.email_updates",locale) %><%= SkinUtils.getLocalizedString("skin.default.global.colon",locale) %> </font> </td> <td width="50%"> <font size="<%= JiveGlobals.getJiveProperty("skin.default.fontSize") %>" face="<%= JiveGlobals.getJiveProperty("skin.default.fontFace") %>"> <input type="radio" name="autoAddEmailWatch" value="true" <%= ((autoAddEmailWatch)?"checked":"") %> id="w5"><label for="w5"><%= SkinUtils.getLocalizedString("skin.default.global.yes",locale) %></label> <input type="radio" name="autoAddEmailWatch" value="false" <%= ((!autoAddEmailWatch)?"checked":"") %> id="w6"><label for="w6"><%= SkinUtils.getLocalizedString("skin.default.global.no",locale) %></label> </font> </td> </tr> </table> </td></tr></table></td></tr></table><% } // end if user != null %><p><center><input type="submit" value="<%= SkinUtils.getLocalizedString("skin.default.global.save",locale) %>" name="saveButton"><% if (referrer != null) { %><input type="submit" value="<%= SkinUtils.getLocalizedString("skin.default.settings.save_return",locale) %>" name="saveButton"><% } %><input type="submit" value="<%= SkinUtils.getLocalizedString("skin.default.global.cancel",locale) %>" name="saveButton"></center></form><br><%@ include file="footer.jsp" %>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?