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