svn commit: [2310] trunk/templates/user/change_password: Show the old password field only if the user is logged in
maddingue at free.fr
maddingue at free.fr
Sun Jun 2 09:02:26 CEST 2013
Revision: 2310
Author: maddingue
Date: 2013-06-02 09:02:26 +0200 (Sun, 02 Jun 2013)
Log Message:
-----------
Show the old password field only if the user is logged in
Modified Paths:
--------------
trunk/templates/user/change_password
Modified: trunk/templates/user/change_password
===================================================================
--- trunk/templates/user/change_password 2013-06-02 06:59:18 UTC (rev 2309)
+++ trunk/templates/user/change_password 2013-06-02 07:02:26 UTC (rev 2310)
@@ -15,7 +15,7 @@
<table border="1" cellpadding="10" cellspacing="0"><tr><td>
<table border="0" cellpadding="0" cellspacing="10">
-
+[% IF (global.request.user) %]
<tr>
<td>{{Current password}}<br />
</tr>
@@ -24,6 +24,7 @@
<input type="password" name="oldpassword" value="" size="25" maxlength="60" />
</td>
</tr>
+[% END %]
<tr>
<td>{{New password}}<br />
<font size="-1">{{Enter your new password twice}}</font>
More information about the Act-cvs
mailing list