📄 reports.jsp
字号:
The directory you submitted is not valid. Make sure it exists and that your appserver has permission to write to it.<p> </p> <% } %> <% if (save && createDirErrors) { %> <p class="jive-error-text"> <b>Error:</b> Unable to create the directory <%= outputDir %> -- your appserver may not have permission to create this directory. </p> <% } %> <p> Current output directory: <tt style="border : 1px dashed #999; padding : 3px; background-color : #eee;" ><b><%= defaultOutputDir %></b></tt> </p> <p> Change output directory settings: </p> <ul> <table cellpadding="3" cellspacing="0" border="0"> <tr> <td align="center"> <input type="radio" name="useDefaultOutputDir" value="true" id="rb01" <%= (useDefaultOutputDir)?" checked":"" %>> </td> <td> <label for="rb01">Use the default output directory:</label> <jiveHome><%= File.separator %>stats<%= File.separator %>reports </td> </tr> <tr> <td valign="top" align="center"> <input type="radio" name="useDefaultOutputDir" value="false" id="rb02" <%= (!useDefaultOutputDir)?" checked":"" %>> </td> <td> <label for="rb02">Save generated reports to this directory:</label> </td> </tr> <tr> <td align="center"> </td> <td> <input type="text" name="outputDir" value="<%= ((!useDefaultOutputDir)?defaultOutputDir:"") %>" size="50" maxlength="255" onfocus="this.form.useDefaultOutputDir[1].checked=true;"> </td> </tr> <tr> <td valign="top" align="center"> <input type="checkbox" name="useTimestampDir" value="true" id="cb02" <%= ((useTimestampDir) ? "checked" : "") %>> </td> <td> <label for="cb02">Create each report in a</label> <a href="#" onclick="helpwin('reports','output_directory');return false;" tile="Click for more info" >timestamp directory</a> </td> </tr> <tr> <td colspan="2"> <br> <input type="submit" value="Save Settings"> </td> </tr> </table> </ul> </ul> </form> <form action="reports.jsp" method="post" name="reportsForm"> <b>Excluded Forums</b> <a href="#" onclick="helpwin('reports','excluded_forums');return false;" title="Click for help" ><img src="images/help-16x16.gif" width="16" height="16" border="0"></a> <ul> You may wish to not run reports on some of your forums. To do so, add forums to the "excluded forums" list. <p> <table cellpadding="2" cellspacing="0" border="0"> <tr> <td align="center"><font size="-2" face="verdana"><b>Included Forums</b></td> <td> </td> <td align="center"><font size="-2" face="verdana"><b>Excluded Forums</b></td> </tr> <tr> <td valign="top"> <select size="5" name="forum" multiple> <% // Get a list of all forums in the system List allForums = new java.util.LinkedList(); for (Iterator i=forumFactory.getRootForumCategory().getRecursiveForums(); i.hasNext(); ) { allForums.add(i.next()); } // Sort the forum list based on alphabetical name Collections.sort(allForums, new Comparator() { public int compare(Object obj1, Object obj2) { String n1 = ((Forum)obj1).getName().toLowerCase(); String n2 = ((Forum)obj2).getName().toLowerCase(); return n1.compareTo(n2); } }); // Print out all forums, exclude those that are in the exclude list. for (int i=0; i<allForums.size(); i++) { Forum forum = (Forum)allForums.get(i); if (!excludedForums.contains(new Long(forum.getID()))) { %> <option value="<%= forum.getID() %>"><%= forum.getName() %> [<%= LocaleUtils.getLocalizedNumber(forum.getMessageCount()) %>] <% } } %> </select> </td> <td> <input type="submit" value=" > " name="addExcludedForumID"> <br> <input type="submit" value=" < " name="removeExcludedForumID"> </td> <td valign="top"> <select size="5" name="excludedForum" multiple> <% for (int i=0; i<excludedForums.size(); i++) { long forumID = ((Long)excludedForums.get(i)).longValue(); try { Forum forum = forumFactory.getForum(forumID); %> <option value="<%= forum.getID() %>"><%= forum.getName() %> [<%= LocaleUtils.getLocalizedNumber(forum.getMessageCount()) %>] <% } catch (ForumNotFoundException ignored) {} } %> </select> </td> </tr> </table> </ul> </form> <form action="reports.jsp"> <b>User and Group Reports</b> <a href="#" onclick="helpwin('reports','user_group');return false;" title="Click for help" ><img src="images/help-16x16.gif" width="16" height="16" border="0"></a> <ul> You may wish to not run reports on users or groups, especially if you have a customer user or group implementation. User reports are reports that detail things like active users, users created over time or user domains. <p></p> <table cellpadding="3" cellspacing="0" border="0"> <tr> <td><input type="radio" name="enableUserGroupReports" value="true" id="ug01" <%= (enableUserGroupReports)?" checked":"" %>> </td> <td> <label for="ug01"> Enable User and Group Reports </label> </td> </tr> <tr> <td><input type="radio" name="enableUserGroupReports" value="false" id="ug02" <%= (!enableUserGroupReports)?" checked":"" %>> </td> <td> <label for="ug02"> Disable User and Group Reports </label> </td> </tr> <tr> <td> </td> <td><input type="submit" name="saveUserGroupReportPref" value="Save Settings"></td> </tr> </table> </ul> </form> <form action="reports.jsp"> <b>Global Date Range</b> <a href="#" onclick="helpwin('reports','date_range');return false;" title="Click for help" ><img src="images/help-16x16.gif" width="16" height="16" border="0"></a> <ul> You can set a global date range to restrict the size of data being examined. This is useful if you have a large amount of forum traffic because examining all data will take a long time and will increase your database load quite a bit. <p></p> <table bgcolor="#bbbbbb" cellspacing="0" cellpadding="0" border="0"> <tr><td> <table bgcolor="#bbbbbb" cellpadding="3" cellspacing="1" border="0"> <tr bgcolor="#eeeeee"> <td align="center" bgcolor="#DFE6F9"><input type="radio" name="datePresetValue" value="<%= RelativeDateRange.LAST_7_DAYS.toString() %>" id="d01" <%= (datePreset.equals(RelativeDateRange.LAST_7_DAYS))?" checked":"" %>> </td> <td align="center" bgcolor="#C1D2FA"><input type="radio" name="datePresetValue" value="<%= RelativeDateRange.LAST_30_DAYS.toString() %>" id="d02" <%= (datePreset.equals(RelativeDateRange.LAST_30_DAYS))?" checked":"" %>> </td> <td align="center" bgcolor="#A6BEFB"><input type="radio" name="datePresetValue" value="<%= RelativeDateRange.LAST_90_DAYS.toString() %>" id="d03" <%= (datePreset.equals(RelativeDateRange.LAST_90_DAYS))?" checked":"" %>> </td> <td align="center" bgcolor="#8CADFD"><input type="radio" name="datePresetValue" value="<%= RelativeDateRange.ALL.toString() %>" id="d04" <%= (datePreset.equals(RelativeDateRange.ALL))?" checked":"" %>> </td> </tr> <tr bgcolor="#ffffff"> <td align="center" nowrap> <label for="d01"> Last 7 Days </label> </td> <td align="center" nowrap> <label for="d02"> Last 30 Days </label> </td> <td align="center" nowrap> <label for="d03"> Last 90 Days </label> </td> <td align="center" nowrap> <label for="d04"> All </label> <font size="-2"> <br>(Not recommended for<br>large communities) </td> </tr> </table> </td></tr> </table> <p> <input type="submit" name="setDatePresetValue" value="Save Settings"> </p> </ul> </form><% } // end else %><%@ include file="footer.jsp" %>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -