Location: PHPKode > projects > Exero CMS > upload/themes/Default/usercp/editpassword.php
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Edit Password - <?=$ecms->settings['sitetitle']?></title>
<? include("themes/$ecms->theme/headerinclude.php"); ?>
</head>
<body>
<? include("themes/$ecms->theme/header.php"); ?>
<? if(!empty($error)) { ?>
  <table width="100%" border="0" cellspacing="0" cellpadding="0" class="table">
    <tr>
      <td class="thead">Error</td>
    </tr>
    <tr>
      <td class="tcontents"><table width="100%" border="0" cellspacing="5" cellpadding="0">
        <tr>
          <td><?=$error?></td>
        </tr>
      </table></td>
    </tr>
  </table>
  <br />
<? } ?>
<form name="form1" method="post" action="<? compileurl("usercp",array("editpassword","save")); ?>">
  <table width="100%" border="0" cellspacing="0" cellpadding="0" class="table">
    <tr>
      <td class="thead">Edit Password </td>
    </tr>
    <tr>
      <td class="tcontents"><table width="100%" border="0" cellspacing="5" cellpadding="0">
          <tr>
            <td valign="top"><div align="right">Current Password </div></td>
            <td><input name="currentpassword" type="password" id="currentpassword">
              <br>
              Rquired to continue. </td>
          </tr>
          <tr>
            <td>&nbsp;</td>
            <td>&nbsp;</td>
          </tr>
          <tr>
            <td width="50%"><div align="right">Email Address</div></td>
            <td><input name="email" type="text" id="email" value="<?=$user->userinfo['email']?>"></td>
          </tr>
          <tr>
            <td><div align="right">Email Address Confirm </div></td>
            <td><input name="emailconfirm" type="text" id="emailconfirm"></td>
          </tr>
          <tr>
            <td>&nbsp;</td>
            <td>&nbsp;</td>
          </tr>
          <tr>
            <td><div align="right">Password</div></td>
            <td><input name="password" type="password" id="password"></td>
          </tr>
          <tr>
            <td><div align="right">Password Confirm </div></td>
            <td><input name="passwordconfirm" type="password" id="passwordconfirm"></td>
          </tr>
          <tr>
            <td colspan="2"><div align="center"><button type="submit">Save</button></div></td>
          </tr>
      </table></td>
    </tr>
  </table>
</form>
<? include("themes/$ecms->theme/footer.php"); ?>
</body>
</html>
Return current item: Exero CMS