File: //usr/local/frontpage/currentversion/admin/1033/role.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>Role Management</TITLE>
<link rel="stylesheet" type="text/css" href="/_vti_bin/_vti_adm/1033/webadmin.css">
<script Language="javascript">
var L_NothingDelete_TEXT = "If you would like to delete a role or roles select them and press delete.";
var L_ConfirmPart1_TEXT ="You are about to delete role(s):\n";
var L_ConfirmPart2_TEXT ="\nAre you sure?";
function delroles()
{
var roles = document.forms.vlist.role;
var descs = document.forms.vlist.roledesc;
if (roles == null || descs == null)
{
return;
}
var len = roles.length ;
var value = "";
var description = "";
if (len == null)
{
if (roles.checked)
{
value = roles.value;
description = descs.value;
}
}
else
{
for (var i=0; i < len ; i++)
{
if (roles[i].checked)
{
if (value != "")
{
value += ",";
description += ", ";
}
value += roles[i].value;
description += descs[i].value;
}
}
}
if (value == "")
{
alert(L_NothingDelete_TEXT);
return;
}
var msg= L_ConfirmPart1_TEXT + description + L_ConfirmPart2_TEXT;
if (confirm(msg))
{
document.forms["role"].name.value = value;
document.forms["role"].submit();
}
}
</script>
</head>
<body marginheight="0" marginwidth="0" topmargin="0" leftmargin="0" text="#000000" link="#1B55FB" vlink="#BB1CFF" alink="#FF1C2C" >
<form action="" name="vlist">
<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=InheritPermissions condition=equal result=true>
<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=ErrorMSGWebIherit>This page is available only for a web with unique permissions.</LocID>
</td>
</tr>
</table>
</td>
</tr>
</ows:if>
<ows:if type=web name=InheritPermissions condition=equal result=false>
<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">Manage Roles</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=ms-propertysheet ID=DescriptionText colspan=5>Use this page to add new roles, delete roles, or change a role's description and rights.
The following roles are available on this Web site. To edit a role, click the role name in the list.
</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 colspan=5 nowrap align=left ID=AddUserTextTDID1>
<TABLE cellpadding=2 cellspacing=0 border=0>
<tr>
<td height=4><img src="/_vti_bin/blank.gif" width="1" height="1"></td>
</tr>
<TR>
<TD class="toolbar" nowrap>
<table cellpadding=1 cellspacing=0 border=0>
<tr>
<td class="toolbar"><a href="fpadmcgi.exe?page=addrole.htm" name="AddRoleGifLink"><img ID=alt100 alt="Add a role" src="/_vti_bin/newuser.gif" border=0 width="16" height="16"></a></TD>
<TD nowrap class="ms-propertysheet"><a ACCESSKEY=U href="fpadmcgi.exe?page=addrole.htm" name=AddRoleTxtLink><ID ID=AddRoleTxt>Add a role</ID></a></td>
<td nowrap></td>
</tr>
</table>
</TD>
<TD class=seperator>|</td>
<TD class="toolbar">
<table cellpadding=1 cellspacing=0 border=0>
<tr>
<td class="toolbar"><a href="javascript:delroles();" name="DelRoleGifLink"><img ID=alt101 alt="Delete selected roles" src="/_vti_bin/delete.gif" border=0 width="16" height="16"></a></td>
<td nowrap class="ms-propertysheet"><a ACCESSKEY=L href="javascript:delroles();" name=DelRoleTxtLink><ID ID=DelRoleTxt>Delete selected role(s)</ID></a></td>
</tr>
</table>
</TD>
</TR>
</TABLE>
</TD>
</TR>
<TR>
<TD class=SectionLine height=1 colspan=5><IMG src="/_vti_bin/blank.gif" height=1 width=1></TD>
</TR>
<TR>
<TD>
<table class=PropertySheet border="0" width="100%">
<tr>
<TH> </TH>
<TH align=left class=PropertySheet ID=UserColumnHeading>Role</TH>
<TH align=left class=PropertySheet ID=RoleColumnHeading>Description</TH>
<TH> </TH>
<TH> </TH>
</tr>
<!-- New list of roles goes here with the following format-->
<ows:for-each collection=roles >
<ows:if type=in_loop_var name=length condition=greater result=0>
<TR>
<TD valign="top" align="left" class="ms-propertysheet">
<INPUT type="checkbox" name=role value="<ows:var type=in_loop_var name=internal></ows:var>">
<INPUT type="hidden" name=roledesc value="<ows:var type=in_loop_var name=local></ows:var></ows:var>">
</TD>
<TD valign="middle" align="left" class="ms-propertysheet">
<a href="fpadmcgi.exe?page=editrole.htm&name=<ows:var type=in_loop_var name=internalb></ows:var>" ID=RoleName>
<ows:var type=in_loop_var name=local></ows:var></a>
</TD>
<TD valign="middle" align="left" class="ms-propertysheet">
<ows:var type=in_loop_var name=description></ows:var>
</TD>
</TR>
</ows:if>
</ows:for-each>
</table>
</td>
</tr>
</table>
</td>
</tr>
</ows:if>
</table>
</form>
<form action=fpadmcgi.exe method="get" name="rolepage">
<input type="hidden" name="page" value="">
<input type="hidden" name="name" value="">
</form>
<form action=fpadmcgi.exe method="post" name="role">
<input type="hidden" name="operation" value="roles">
<input type="hidden" name="command" value="del">
<input type="hidden" name="name" value="" >
<input type="hidden" name="page" value="role.htm" >
</form>
</body>
</html>