[pLog-svn] r2081 - plog/branches/plog-1.0.2/templates/admin

jondaley at devel.plogworld.net jondaley at devel.plogworld.net
Thu May 26 13:24:58 GMT 2005


Author: jondaley
Date: 2005-05-26 13:24:57 +0000 (Thu, 26 May 2005)
New Revision: 2081

Modified:
   plog/branches/plog-1.0.2/templates/admin/userprofile.template
Log:
user passwords can now be changed...

Modified: plog/branches/plog-1.0.2/templates/admin/userprofile.template
===================================================================
--- plog/branches/plog-1.0.2/templates/admin/userprofile.template	2005-05-25 17:27:49 UTC (rev 2080)
+++ plog/branches/plog-1.0.2/templates/admin/userprofile.template	2005-05-26 13:24:57 UTC (rev 2081)
@@ -8,7 +8,6 @@
 
     <div class="field">
       <label for="userName">{$locale->tr("username")}</label>
-      <span class="required">*</span>
       <div class="formHelp">{$locale->tr("username_help")}</div>
       <input type="text" id="userName" name="userName" value="{$userName}" readonly="readonly" />
     </div>
@@ -20,10 +19,13 @@
     </div>
     <div class="field">
       <label for="userPassword">{$locale->tr("password")}</label>
-      <span class="required">*</span>
       <div class="formHelp">{$locale->tr("password_help")}</div>
-      <input type="password" name="userPassword" id="userPassword" value="{$userPassword}"/>
-      {include file="$admintemplatepath/validate.template" field=userPassword message=$locale->tr("error_password_incorrect")}
+      <input type="password" name="userPassword" id="userPassword" value="{$userPassword}" />
+      {include file="$admintemplatepath/validate.template" field=userPassword message=$locale->tr("error_invalid_password")}
+      <br/>
+      <label for="confirmPassword">{$locale->tr("confirm_password")}</label>
+      <input type="password" name="confirmPassword" value="" id="confirmPassword" />
+      {include file="$admintemplatepath/validate.template" field=confirmPassword message=$locale->tr("error_passwords_dont_match")}       
     </div>
     <div class="field">
       <label for="userEmail">{$locale->tr("email")}</label>
@@ -68,4 +70,4 @@
   </div>
  </form>
 {include file="$admintemplatepath/footernavigation.template"}
-{include file="$admintemplatepath/footer.template"}
\ No newline at end of file
+{include file="$admintemplatepath/footer.template"}




More information about the pLog-svn mailing list