File: //usr/local/frontpage/version5.0/admin/1033/password.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" >
<TITLE>Reset User Password</TITLE>
<link rel="stylesheet" type="text/css" href="/_vti_bin/_vti_adm/1033/webadmin.css">
<script language="Javascript">
var L_passwordEmpty_TEXT = "The password cannot be blank.\nPlease enter a password.";
var L_Msg_TEXT="Your passwords do not match.\nPlease, re-enter and confirm password.";
var L_NOextendedServer_TEXT="There are no virtual servers extended on this machine.";
var L_UserName_TEXT="'User name'";
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 checkpassword()
{
if (!CheckForEmptyField(document.forms.frm.username.value,L_UserName_TEXT)) return;
if (document.forms.frm.port.value == "")
{
alert(L_NOextendedServer_TEXT);
return;
}
var pwd = stripWS(document.forms.frm.password.value);
if (pwd.length == 0)
{
alert(L_passwordEmpty_TEXT);
return;
}
if (document.forms.frm.newpasswordc.value == document.forms.frm.password.value)
{
document.forms.frm.submit();
return;
}
alert(L_Msg_TEXT);
document.forms.frm.newpasswordc.value = "";
document.forms.frm.password.value = "";
}
</script>
</HEAD>
<body marginheight="0" marginwidth="0" topmargin="0" leftmargin="0" text="#000000" link="#1B55FB" vlink="#BB1CFF" alink="#FF1C2C" >
<form action=fpadmcgi.exe method=post name=frm>
<input type="hidden" name="operation" value="users">
<input type="hidden" name="command" value="changepassword">
<input type="hidden" name="page" value="password.htm">
<input type="hidden" name="nextpage" value="fpadmin.htm">
<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 = "/_vti_bin/_vti_adm/help/" + L_helplink_text;
<ows:if type=global name=hasCollabSupport condition=equal result=true>
url +="/collab/";
</ows:if>
<ows:if type=global name=hasCollabSupport condition=notequal result=true>
url +="/publish/";
</ows:if>
url += 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=M href="fpadmcgi.exe?page=fpadmin.htm" ID=Administration><ID ID=Administration2>Administration</ID></a>
<font size="2" color="#FFFFFF">|</font>
<ID><a ACCESSKEY=P href="javascript:HelpWindow('wsgHome.htm');" ID=help ><ID ID=Help2collab>Help</ID></a></ID>
</td>
<td width=99%> </td>
</tr>
</table>
</td>
</tr>
<ows:for-each collection=vservers length=0>
<ows:if type=in_loop_var name=lengthext condition=equal result=0>
<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=ErrNoServer>There are no extended servers on this machine.</LocID>
</td>
</tr>
</table>
</td>
</tr>
</ows:if>
<ows:if type=in_loop_var name=lengthext condition=greater result=0>
<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=global name=hasCollabSupport condition=equal result=true>FrontPage Server Extensions 2002</ows:if><ows:if type=global name=hasCollabSupport condition=notequal result=true>FrontPage Server Extensions 2002</ows:if> </td> </tr> <tr> <td ID=AdminPageTitle nowrap class="PageTitle">Reset User Password</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 ID=DescriptionText valign=top colspan=5 class=descriptiontext>Use this page to reset a user's password.</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>
<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 width=75% class="descriptiontext" rowspan="17" valign="top" align="left">
<TABLE border="0" cellpadding=1 cellspacing=0 width=100%>
<TR>
<TD ID=section1 class=SectionHeader height=28 valign=top>Reset a User's Password</TD>
</TR>
<TR>
<TD ID=Resetpw_desc class="descriptiontext">Specify the user name, then enter and confirm the new password.
</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 colspan=2><IMG src="/_vti_bin/blank.gif" height=5></TD>
</TR>
<TR>
<TD class="Authoringcontrols"> </TD>
<TD class="Authoringcontrols" nowrap ID=VServer>Virtual server
</TD>
</TR>
<TR>
<TD class="Authoringcontrols"> </TD>
<TD class="Authoringcontrols" nowrap>
<select name=port>
</ows:if>
</ows:for-each>
<ows:for-each collection=vservers >
<ows:if type=in_loop_var name=IsCurrentMajorVersion condition=equal result=true>
<option value="<ows:var type=in_loop_var name=host>">
<ows:var type=in_loop_var name=friendlyname>
(<ows:var type=in_loop_var name=host>)
</option>
</ows:if>
</ows:for-each>
<ows:for-each collection=vservers length=0>
<ows:if type=in_loop_var name=lengthext condition=greater result=0>
</select>
</TD>
</TR>
<TR>
<TD class=AuthoringControls colspan=2><IMG src="/_vti_bin/blank.gif" height=5></TD>
</TR>
<TR>
<TD class="Authoringcontrols"> </TD>
<TD class="Authoringcontrols" nowrap ID=WebName>Web name:
</TD>
</TR>
<TR>
<TD class="Authoringcontrols"> </TD>
<TD class="Authoringcontrols" nowrap>
<input type="text" name="web" value="/" size="56" maxlength="256">
</TD>
</TR>
<TR>
<TD class=AuthoringControls colspan=2><IMG src="/_vti_bin/blank.gif" height=5></TD>
</TR>
<TR>
<TD class="Authoringcontrols"> </TD>
<TD class="Authoringcontrols" nowrap ID=UserName: >User name:
</TD>
</TR>
<TR>
<TD class="Authoringcontrols"> </TD>
<TD class="Authoringcontrols" nowrap>
<input type="text" name="username" value="<ows:var type=parameter name=username>"
maxlength="256"
>
</TD>
</TR>
<TR>
<TD class=AuthoringControls colspan=2><IMG src="/_vti_bin/blank.gif" height=5></TD>
</TR>
<TR>
<TD class="Authoringcontrols"> </TD>
<TD class="Authoringcontrols" nowrap ID=NewPW>New password:
</TD>
</TR>
<TR>
<TD class="Authoringcontrols"> </TD>
<TD class="Authoringcontrols" nowrap>
<input type="password" name="password" size="56"
maxlength="256">
</TD>
</TR>
<TR>
<TD class=AuthoringControls colspan=2><IMG src="/_vti_bin/blank.gif" height=5></TD>
</TR>
<TR>
<TD class="Authoringcontrols"> </TD>
<TD class="Authoringcontrols" nowrap ID=ConfirmPW>Confirm new password:
</TD>
</TR>
<TR>
<TD class="Authoringcontrols"> </TD>
<TD class="Authoringcontrols" nowrap>
<input type="password" name="newpasswordc" size="56"
maxlength="256">
</TD>
</TR>
<TR>
<TD class="AuthoringControls" height=20px colspan=2><IMG src="/_vti_bin/blank.gif" height=1 width=1></TD>
</TR>
<TR><TD class=ThinSectionLine height=2 colspan=4><IMG src="/_vti_bin/blank.gif" height=1 width=1></TD>
</TR>
<TR>
<TD height=20px colspan=2><IMG src="/_vti_bin/blank.gif" height=1 width=1></TD>
</TR>
<TR>
<TD align=right colspan=4 ID=diidSubmitsection>
<input type="button" id="btnSubmit" value=" Submit " onClick="javascript:checkpassword();">
<input type="button" id="btnCancel" value=" Cancel " onClick="javascript: document.location='fpadmcgi.exe?page=fpadmin.htm';"></TD>
</TR>
</TABLE>
</TD>
</TR>
</TABLE>
</TD>
</TR>
</ows:if>
</ows:for-each>
</TABLE>
</form>
</BODY>
</HTML>