step1.htm revision 07bcb11f2d15435f100a0f2a3a9f1ba04b7bbd8c
0N/A<script type="text/javascript">
2273N/A
0N/A function adminPasswordResponse(response) {
0N/A if (response.responseText == "true") {
0N/A $('adminPasswordStatus').innerHTML = okString;
0N/A $('nextTabButton').disabled = false;
0N/A } else {
0N/A $('adminPasswordStatus').innerHTML = errorImage +
0N/A '<small>' + response.responseText + '</small>';
0N/A $('nextTabButton').disabled = true;
0N/A }
0N/A }
0N/A
0N/A function validateAdminPasswords() {
0N/A var link = "?actionLink=checkPasswords";
0N/A var cValue = "confirm=" + encodeURIComponent($('adminConfirm').value);
0N/A var aValue = "&password=" + encodeURIComponent($('adminPassword').value);
0N/A var oValue = "&otherPassword=x";
1472N/A var type = "&type=admin";
1472N/A ie7fix++;
1472N/A var iefix = "&ie7fix=" + ie7fix;
0N/A field = "adminPassword";
0N/A
0N/A AjaxUtils.doPost(null, "$context$path" + link + iefix,
1879N/A cValue + aValue + oValue + type, adminPasswordResponse, null, null);
1879N/A }
1879N/A
1879N/A function initStep1() {
1879N/A $('nextTabButton').disabled = true;
1879N/A }
1879N/A YAHOO.util.Event.onDOMReady(initStep1);
1879N/A</script>
1879N/A
1879N/A<div style="margin-left:10px;">
1879N/A <h1>$page.getLocalizedString("step1.title")<img class="pointer" src="$context/assets/images/message.gif"/></h1>
1879N/A <p>$page.getLocalizedString("step1.description")</p>
1879N/A
1879N/A <div class="summaryPanel" style="width:610px">
1879N/A <p id="allfields"><em>*</em>&nbsp;$page.getLocalizedString("required.field.label")</p>
2073N/A <b class="xtop"><b class="xt1"></b><b class="xt2"></b><b class="xt3"></b><b class="xt4"></b></b>
2073N/A <div class="headerBox">$page.getLocalizedString("step1.subtitle")</div>
2073N/A <div class="bodyBox" style="height:180px">
2073N/A <span>
2073N/A <table class="temp">
2073N/A <tr>
0N/A <td colspan="2"><b>$page.getLocalizedString("step1.admin.user.name")</b></td></tr>
0N/A <tr>
0N/A <td><em>&nbsp;*&nbsp;</em>$page.getLocalizedString("password.label")</td>
0N/A <td>
0N/A <input id="adminPassword" name="adminPassword"
0N/A type="password" value=""
0N/A width="40" class="text"
0N/A onkeyup="APP.callDelayed(this,validateAdminPasswords)"
0N/A onchange="APP.callDelayed(this,validateAdminPasswords)" >
0N/A <span id="adminPasswordStatus"></span>
0N/A </td>
38N/A </tr>
38N/A <tr>
38N/A <td><em>&nbsp;*&nbsp;</em>$page.getLocalizedString("confirm.label")</td>
0N/A <td>
0N/A <input id="adminConfirm" name="adminConfirm"
0N/A type="password" value=""
0N/A width="40" class="text"
0N/A onkeyup="APP.callDelayed(this,validateAdminPasswords)"
0N/A onchange="APP.callDelayed(this,validateAdminPasswords)">
0N/A </td>
0N/A </tr>
0N/A </table>
0N/A </span>
0N/A </div>
0N/A <b class="xbottom"><b class="xbGray1"></b><b class="xbGray2"></b><b class="xbGray3"></b><b class="xbGray4"></b></b>
0N/A </div>
0N/A</div>
0N/A