diff options
author | rvelices <rv-github@modusoptimus.com> | 2008-03-08 12:38:09 +0000 |
---|---|---|
committer | rvelices <rv-github@modusoptimus.com> | 2008-03-08 12:38:09 +0000 |
commit | bf1f7c4aec50107efdc393a7cea2149a1a3854d7 (patch) | |
tree | 3bac58dcf5dcf2d7e414d185d1ad6622fddd34f5 /template/yoga/profile_content.tpl | |
parent | a048738d8b9b6be6f16316b2a198386f92e1b600 (diff) |
- security fix (profile)
- les langues a la hache
- fix some copy/paste errors
git-svn-id: http://piwigo.org/svn/trunk@2268 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | template/yoga/profile_content.tpl | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/template/yoga/profile_content.tpl b/template/yoga/profile_content.tpl index 2be70857b..9cabf0a51 100644 --- a/template/yoga/profile_content.tpl +++ b/template/yoga/profile_content.tpl @@ -2,22 +2,21 @@ <form method="post" name="profile" action="{$F_ACTION}" id="profile" class="properties"> <fieldset> - <legend>{'register_title'|@translate}</legend> - <input type="hidden" name="userid" value="{$USERID}" /> + <legend>{'Registration'|@translate}</legend> <input type="hidden" name="redirect" value="{$REDIRECT}" /> <ul> <li> <span class="property">{'Username'|@translate}</span> {$USERNAME} </li> -{if isset($not_special_user)} +{if not $SPECIAL_USER} {* can modify password + email*} <li> <span class="property"> <label for="mail_address">{'Email address'|@translate}</label> </span> <input type="text" name="mail_address" id="mail_address" value="{$EMAIL}"> </li> -{if !$in_admin} +{if not $IN_ADMIN} {* admins do not need old password*} <li> <span class="property"> <label for="password">{'Password'|@translate}</label> @@ -103,8 +102,8 @@ </fieldset> <p class="bottomButtons"> - <input class="submit" type="submit" name="validate" value="{'submit'|@translate}"> - <input class="submit" type="reset" name="reset" value="{'reset'|@translate}"> + <input class="submit" type="submit" name="validate" value="{'Submit'|@translate}"> + <input class="submit" type="reset" name="reset" value="{'Reset'|@translate}"> </p> </form> |