home *** CD-ROM | disk | FTP | other *** search
- <html>
- <head>
- <META http-equiv="Content-Type" content="text/html; charset=utf-8" >
- <!--
- ' ***
- ' *** ------------------------------------------------------------------------------
- ' *** Filename: ProfileMgr.hta
- ' *** ------------------------------------------------------------------------------
- ' *** Description: User Profile Manager tool to create and delete profiles
- ' *** ------------------------------------------------------------------------------
- ' *** Version: 1.0
- ' *** Notes:
- ' *** ------------------------------------------------------------------------------
- ' *** Copyright (C) Microsoft Corporation 2005, All Rights Reserved
- ' *** ------------------------------------------------------------------------------
- ' ***
- -->
- <title> </title>
-
- <script id="Common" language="VBScript" src="include/Common.vbs"></script>
- <script id="libHTA" language="vbscript" src="include/libHTA.vbs"></script>
- <script id="clsLogging" language="vbscript" src="include/clsLogging.vbs"></script>
- <script id="clsProfileMgr" language="vbscript" src="include/clsProfileMgr.vbs"></script>
- <script id="ProfileMgr" language="vbscript" src="include/ProfileMgr.vbs"></script>
-
- <link rel="stylesheet" type="text/css" href="css/hta.css">
-
- <hta:application ID="oImagine"
- APPLICATIONNAME="ProfileMgr"
- CAPTION="yes"
- CONTEXTMENU="yes"
- BORDER="dialog"
- ICON="graphics/ProfileMgr.ico"
- INNERBORDER="no"
- MAXIMIZEBUTTON="no"
- MINIMIZEBUTTON="yes"
- NAVIGABLE="no"
- SCROLL="no"
- SELECTION="no"
- SHOWINTASKBAR="yes"
- SINGLEINSTANCE="yes"
- SYSMENU="yes"
- VERSION="1.00"
- WINDOWSTATE="normal" />
-
- <!-- settings and resources -->
- <div id="settings" style="display:none">
- <p id="CreateSuccess">Profile has been created successfully.</p>
- <p id="CreateFailed">The password is invalid!</p>
- <p id="DeleteSuccess">Profile has been deleted successfully.</p>
- <p id="DeleteFailed">Cannot delete the profile</p>
- <p id="NoUserAcc"> does not exist.</p>
- <p id="UserAcc">Please select an account</p>
- <p id="PasswordText"></p>
- <p id="appTitle">Profile Manager</p>
- <p id="DeleteWarningTitle">Delete the profile for</p>
- <p id="DeleteWarningText">Are you sure you want to delete this profile?</p>
-
- <span id="resAdminOnly">YES</span>
- <span id="resWGAOnly">YES</span>
- <span id="resDomainWarning">YES</span>
- <span id="resCloseButton">YES</span>
- <span id="Defaultdrive">C:</span>
- </div>
- </head>
-
- <body id="oBody" onload="Main()" OnUnload = "Unload()" Onkeydown = "Onkeydown()" STYLE="cursor:wait;" OnBeforeUnload="OnBeforeUnload()">
- <TABLE ID=oHeader style="margin-bottom:.3em;height:2em"><TR>
- <COL width="2%">
- <COL width="94%">
- <COL width="4%">
- <TD><IMG id="logo" height="30px" src="graphics/sswlogo.gif"></TD>
- <TD><b><p id="title">Microsoft Shared Computer Toolkit for Windows XP</P><b></TD>
- <td valign=top><button id=btnHelp ATOMICSELECTION=True Title="Help (F1)" onclick="ShowHelp" onmouseover="Highlight btnHelp, True" onmouseout="Highlight btnHelp, False"><img align="absmiddle" src="graphics/help1.gif" alt="Help (F1)"> </button></td>
- </TR></TABLE>
-
- <DIV id=oDiv Class=div3D style="margin-bottom:.3em;width:50em">
- <table ID=Table4 style="table-layout:fixed;">
- <COL width="18%">
- <COL width="22%">
- <COL width="2%">
- <COL width="28%">
- <COL width="2%">
- <COL width="28%">
- <tr>
- <td><b><ID id="_locUserAccount">Account:</ID></b></td>
- <td><input id=txtAccount TABINDEX=-1 type=text style="width:100%"></td>
- <td></td>
- <td><button id=btnSelectAccounts class=normal style="width:100%" onclick="SelectAccount()"><ID id="_locSelectAccount">Select an Account...</ID></button></td>
- <td></td>
- <td><button id=btnManageAccounts class=normal style="width:100%" onclick="UserAccounts_Click()"><ID id="_locManageUsers">Manage Accounts...</ID></button></td>
- </tr>
- <tr>
- <td colspan=6><hr></td>
- </tr>
- <tr>
- <td><ID id="_locUserPassword">Password:</ID></td>
- <td><input type="password" id="UserPass" NAME="UserPass" style="width:100%"></td>
- <td></td>
- <td id="_locUserPasswordNotes" colspan=3>(required to create, but not to delete)</td>
- </tr>
- <tr>
- <td><ID id="_locProfileLocation">Profile Location:</ID></td>
- <td id="tdDrives"></td>
- <td></td>
- <td><button id=btnCreateProfiles class=normal style="width:100%" onclick="CreateProfiles_Click()"><ID id="_locCreateProfile">Create Profile</ID></button></td>
- <td></td>
- <td><button id=btnDeleteProfiles class=normal style="width:100%" onclick="DeleteProf_Click()"><ID id="_locDeleteProfile">Delete Profile</ID></button></td>
- </tr>
- </table>
- <br>
- </DIV>
-
- <TABLE id=oFooter style="height:2em"><tr>
- <COL width="95%">
- <COL width="5%">
- <td></td>
- <td><button id=btnFinish ATOMICSELECTION=True Title="Close this tool" onclick="Submit()" onmouseover="Highlight btnFinish, True" onmouseout="Highlight btnFinish, False"><img align=absmiddle src="graphics/red1.gif"> Close</button></td>
- </tr></TABLE>
-
- </body>
- </html>
-