Tryag File Manager
Home
-
Turbo Force
Current Path :
/
usr
/
local
/
frontpage
/
version5.0
/
admin
/
1033
/
Upload File :
New :
File
Dir
//usr/local/frontpage/version5.0/admin/1033/usage.htm
<HTML dir="ltr"> <HEAD> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" name="CharsetDefinition"> <meta name="GENERATOR" content="Microsoft FrontPage 5.0"> <meta name="ProgId" content="FrontPage.Editor.Document"> <meta name="Version" content= "5.0.2.2634" > <META HTTP-EQUIV="expires" content="0"> <TITLE>Change Usage Analysis Settings</TITLE> <link rel="stylesheet" type="text/css" href="/_vti_bin/_vti_adm/1033/webadmin.css"> <SCRIPT Language="Javascript"> var L_WarningLastDay_TEXT = "If a month doesn't contain the date you have specified the operation will run on the last day of that month."; var L_ReqPositiveNumber_TEXT="You must enter the number of months to wait before deleting usage data. For example, enter 12 to automatically delete usage analysis data after one year."; function CheckForNum(text) { if (text.length == 0) { alert(L_ReqPositiveNumber_TEXT); return false; } var len = text.length-1; for(;len >= 0;len--) if (text.charAt(len) != ' ') break; if (len < 0) { alert(L_ReqPositiveNumber_TEXT); return false; } for(;len >= 0;len--) { if (text.charCodeAt(len) < "0".charCodeAt(0) || text.charCodeAt(len) > "9".charCodeAt(0)) break; } for(;len >= 0;len--) if (text.charAt(len) != ' ') break; if (len >= 0) { alert(L_ReqPositiveNumber_TEXT); return (false); } return (true); } function sendDefault() { document.forms.frm.operation.value="deleteproperty"; document.forms.frm.submit(); } function tryToSend() { var main_frm = document.forms.frm; if (main_frm.usage_delete.checked) { main_frm.UsageAnalysisLogExpiry.value = main_frm.usage_delete_month.value; if (!CheckForNum(main_frm.UsageAnalysisLogExpiry.value)) return; var imonth = Number(stripWS(main_frm.UsageAnalysisLogExpiry.value)); if (imonth < 1) { alert(L_ReqPositiveNumber_TEXT); return ; } } else { main_frm.UsageAnalysisLogExpiry.value = 0; } main_frm.UsageFullDaysOnly.value = main_frm.full_days_only.checked?"true":"false"; main_frm.operation.value="setproperty"; main_frm.submit(); } function Visascii(ch) { return (!(ch.charCodeAt(0) & 0x80)); } function Visspace(ch) { return (ch.charCodeAt(0) == 32) || ((9 <= ch.charCodeAt(0)) && (ch.charCodeAt(0) <= 13)); } function stripWS(str) { var b = 0; var e = str.length; while (str.charAt(b) && (Visascii(str.charAt(b)) && Visspace(str.charAt(b)))) b++; while ((b < e) && (Visascii(str.charAt(e-1)) && Visspace(str.charAt(e-1)))) e--; return ((b>=e)?"":str.substring(b, e )); } var L_NoFieldEmpty_TEXT = " field can't be empty."; function CheckForEmptyField(text_orig,field_name) { var text = stripWS(text_orig); if (text.length == 0) { alert(field_name + L_NoFieldEmpty_TEXT); return false; } return (true); } function CheckForEmptyFieldNoAlert(text_orig) { var text = stripWS(text_orig); if (text.length == 0) { return false; } return (true); } var L_WrongEmailName1_TEXT = "The e-mail address specified in the "; var L_WrongEmailName2_TEXT = " box is not complete. Please type a complete e-mail address, in the format name@domain."; var L_TextWithoutSpaces1_TEXT="You must enter text without spaces in field "; function CheckForAtSighInEmailName(text_orig,field_name) { var text = stripWS(text_orig); if (!CheckForEmptyField(text_orig,field_name)) return false; var indexAt = 0; var countAt = 0; var countSpace = 0; var len = text.length; while(len--) { if (text.charAt(len) == '@') { indexAt = len; countAt++; } if (text.charAt(len) == ' ') countSpace ++; } if ((countAt == 0) || (indexAt == 0) || (indexAt == (text.length-1)) ) { alert(L_WrongEmailName1_TEXT + field_name + L_WrongEmailName2_TEXT); return false; } if (countSpace !=0 ) { alert(L_TextWithoutSpaces1_TEXT + field_name); return false; } return (true); } function prefill() { <ows:if type=web name=IsRoot condition=equal result=true> var main_frm = document.forms.frm; main_frm.usage_delete.checked = main_frm.usage_delete_month.value != "0"; main_frm.usage_delete_month.value = (main_frm.usage_delete_month.value == "" || main_frm.usage_delete_month.value == "0" )? 12:main_frm.usage_delete_month.value; </ows:if> } </script> </HEAD> <body marginheight="0" marginwidth="0" topmargin="0" leftmargin="0" text="#000000" link="#1B55FB" vlink="#BB1CFF" alink="#FF1C2C" onload="javascript:prefill();"> <form action=fpadmcgi.exe method="post" name="frm" onSubmit="javascript:{return false;};"> <input type="hidden" name="operation" value="setproperty"> <input type="hidden" name="page" value="usage.htm"> <input type="hidden" name="nextpage" value="webadmin.htm"> <input type="hidden" name="UsageAnalysisLogExpiry" > <input type="hidden" name="UsageFullDaysOnly" > <table border="0" width="100%" height="100%" cellpadding=0 cellspacing=0 class=main> <script Language="javascript"> var L_helplink_text="1033"; function HelpWindow(strHelpUrl) { var url = "help/" + L_helplink_text+strHelpUrl; var wndHelp = window.open(url, "MSOWSHELP", "width=187,height=500,menubar,scrollbars,toolbar,resizable"); } </script> <tr> <td width=100% valign=top colspan=6> <table width=100% border="0" class="ms-bannerframe" cellpadding=3 cellspacing=0> <tr> <td nowrap valign="middle" align="left"><img alt="Logo" src="/_vti_bin/offlogo.gif" width="28" height="28" id=Image1></td> <td nowrap class="ms-banner" align=left height=34> <a ACCESSKEY=O href="../../" id=Home><ID ID=Home2>Home</ID></a> <font size="2" color="#FFFFFF">|</font> <ID><a ACCESSKEY=M href="fpadmcgi.exe?page=webadmin.htm" ID=Administration><ID ID=Administration2>Administration</ID></a></ID> <font size="2" color="#FFFFFF">|</font> <ows:if type=vserver name=hascollabsupport condition=equal result=true> <ID><a ACCESSKEY=P href="javascript:HelpWindow('/collab/wsahome.htm');" ID=Help ><ID ID=Help2Collab>Help</ID></a></ID> </ows:if> <ows:if type=vserver name=hascollabsupport condition=notequal result=true> <ID><a ACCESSKEY=P href="javascript:HelpWindow('/publish/fpaHome.htm');" ID=Help ><ID ID=Help2Publish>Help</ID></a></ID> </ows:if> </td> <td width=99%> </td> </tr> </table> </td> </tr> <ows:if type=web name=IsRoot condition=equal result=false> <tr> <td class="leftbar"> </td> <td valign=top height="100%"> <table width=100% border="0" class="TitleArea" cellpadding=3> <tr> <td style="padding-bottom: 0px" valign=top> <LocID ID=ErrPageDoesNotAvailableForThisWeb>This page is available for root web only.</LocID> </td> </tr> </table> </td> </tr> </ows:if> <ows:if type=web name=IsRoot condition=equal result=true> <tr> <td valign=top class="leftbar" colspan=4> <table width=100% border="0" class="TitleArea" cellpadding=3> <tr> <td style="padding-bottom: 0px"> <table width=100% cellpadding=0 cellspacing=0 border=0> <tr> <td align=center valign=top nowrap width="105" height="40"> <img alt="Icon" src= /_vti_bin/settings.gif width="43" height="43" id=icon_alt> </td> <td width=27> </td> <td nowrap> <table cellpadding=0 cellspacing=0 border=0> <tr> <td nowrap class="TitleArea"> <ows:if type=vserver name=hasCollabSupport condition=equal result=true>FrontPage Server Extensions 2002 - </ows:if><ows:if type=vserver name=hasCollabSupport condition=notequal result=true>FrontPage Server Extensions 2002 - </ows:if> <ows:if type=web name=IsRoot condition=equal result=true> <ID ID=Web_description_2>Site Administration for</ID> </ows:if> <ows:if type=web name=IsRoot condition=equal result=false> <ID ID=Web_description_3>Web site Administration for</ID> </ows:if> "<ows:var type=web name=fullwebname></ows:var>" </td> </tr> <tr> <td ID=AdminPageTitle nowrap class="PageTitle">Change Usage Analysis Settings</td> </tr> </table> </td> </tr> </table> <table cellpadding=0 cellspacing=0 border=0 width=100%> <tr> <td height=5 colspan=5><img src="/_vti_bin/blank.gif" width="1" height="1"></td> </tr> <tr> <td class="SectionLine" height=2 colspan=5><img src="/_vti_bin/blank.gif" width="1" height="1"></td> </tr> </table> </td> <td width=1px></td> </tr> </table> </td> </tr> <tr valign=top> <TD height=100% class=ms-nav> <TABLE height=100% class=ms-navframe CELLPADDING=0 CELLSPACING=4 border="0" width=133px> <tr valign=top> <td width=100%> </td> <td class=ms-verticaldots> </td> </tr> </TABLE> </TD> <td valign=top height="100%" width="100%"> <table class=propertysheet border="0" width="100%" cellspacing="4" cellpadding="0"> <!-- Page description--> <TR> <TD class=PropertySheet ID=DescriptionText colspan=3>Use this page to configure usage analysis log file processing settings. </TD> <td width=1px></td> </TR> <TR> <td height=2 colspan=3><img src="/_vti_bin/blank.gif" width="1" height="1"></td> </TR> <TR> <td> <table border="0" cellspacing="0" cellpadding="0"> <tr> <ows:if type=error name=all condition=notequal result=> <td><IMG src="/_vti_bin/warn_lg.gif"></td> <td> </td> <TD class="err" id=ErrorMessage><ows:var type=error name=all></ows:var></TD> </ows:if> </tr> </table> </td> </TR> <TR> <TD> <!-- Usage action section --> <TABLE class=propertysheet border="0" width="100%" cellspacing="0" cellpadding="0"> <TR><TD class=ThinSectionLine height=1 colspan=4><IMG src="/_vti_bin/blank.gif" height=1 width=1></TD> </TR> <TR> <TD nowrap rowspan="2"></TD> <TD class="descriptiontext" rowspan="2" valign="top" align="left"> <TABLE border="0" cellpadding=0 cellspacing=0> <TR> <TD class=SectionHeader valign="top" ID=diidRecurrence>Recurrence settings</TD> </TR> <TR> <TD class="descriptiontext" ID=RecurrenceUNIX>Choose a time for usage analysis log processing to recur.</TD> </TR> <TR> <TD class="descriptiontext"><IMG src="/_vti_bin/blank.gif" height=1 width=1></TD> </TR> </TABLE> </TD> </TR> <TR> <TD class="AuthoringControls" ID=RecurrenceHelpUNIX valign="top">On the UNIX platform, you must use the <b>cron</b> facility to schedule usage log processing. Contact your server administrator to enable this.</TD> </TR> <TR> <TD class=ThinSectionLine height=1 colspan=4><IMG src="/_vti_bin/blank.gif" height=1 width=1></TD> </TR> <TR> <TD nowrap rowspan="6"></TD> <TD class="descriptiontext" rowspan="3" valign="top" align="left"> <TABLE border=0 cellpadding=1 cellspacing=0> <TR> <TD id=Additional_settings class=SectionHeader height=28 valign=top>Additional Usage Analysis Settings</TD> </TR> <TR> <TD id=Additional_desc class="descriptiontext">Use these options to determine whether usage data is automatically deleted, how long to keep usage data, and whether to process the log file for full days only (midnight to midnight). To receive confirmation that the usage analysis processes have been run, type an e-mail address in the <b>Administrator e-mail address(es)</b> box. </TD> </TR> </TABLE> </TD> </TR> <TR> <TD class=AuthoringControls> <TABLE width=100% border="0" cellpadding=3 cellspacing=0> <TR> <TD width=5% class=AuthoringControls> <input type="checkbox" name="usage_delete" > </TD> <TD id=HelpText nowrap class=AuthoringControls>Automatically delete stored usage data after <input type="text" name="usage_delete_month" size="4" maxlength=4 onChange="this.form.usage_delete.checked = 1;" onClick="this.form.usage_delete.checked = 1;" value="<ows:var type=vserver name=UsageAnalysisLogExpiry></ows:var>" > <LocID ID=diidMonths>months</LocID> </TD> </TR> <TR> <TD class=AuthoringControls> <input type="checkbox" name="full_days_only" <ows:if type=vserver name=UsageFullDaysOnly condition=notequal result=false> checked </ows:if> > </TD> <TD id=ProcessInc class=AuthoringControls>Process log file data for full days only</TD> </TR> <TR> <td width=10> </td> <TD ID=Admin_email colspan=2 class=AuthoringControls>Administrator E-mail Address(es): <BR> <TABLE border="0" cellspacing=1> <TR> <TD> </TD> <ows:if type=vserver name=SMTPHost condition=equal result=> <ows:if type=vserver name=SendMailCommand condition=equal result=> <TD class="ms-propertysheet" ID=DescriptionText > You cannot enable this feature because your server has not been configured to send e-mail messages. Contact your server administrator to specify an SMTP server to use for sending e-mail messages. </TD> </ows:if> <ows:if type=vserver name=SendMailCommand condition=notequal result=> <TD><input type=text size=40 maxlenth=200 name="UsageSendMailTo" value="<ows:var type=vserver name=UsageSendMailTo></ows:var>" > </ows:if> </ows:if> <ows:if type=vserver name=SMTPHost condition=notequal result=> <TD><input type=text size=40 maxlenth=200 name="UsageSendMailTo" value="<ows:var type=vserver name=UsageSendMailTo></ows:var>" > </ows:if> </TD> </TR> </TABLE> </TD> </TR> </TABLE> </TD> </TR> <TR> <TD class=AuthoringControls> </TD> </TR> <TR><TD class=ThinSectionLine height=2 colspan=4><IMG src="/_vti_bin/blank.gif" height=1 width=1></TD> </TR> <TR> <TD> </TD> </TR> <TR> <TD align="right" colspan=2 ID=diidSubmitsection> <input type=button name="RestoreDefault" id="btnDefault" value="Restore Defaults" onClick="sendDefault();"> <input type=button name="btnSubmit" id="btnSubmit" value=" Submit " accesskey=u onClick="tryToSend();"> <input type=button name="BackToAdminWeb" id="btnDefault" value="Cancel" onClick="document.location='fpadmcgi.exe?page=webadmin.htm';"> </TD> </TR> </TABLE> </TD> </TR> </TABLE> </TD> </TR> </ows:if> </TABLE> </form> </body> </html>