source: branches/2.0/template/yoga/profile_content.tpl @ 14951

Last change on this file since 14951 was 3996, checked in by Eric, 15 years ago

[Piwigo] Merged from trunk to branch - Bug 1079 fixed : Return to default settings in user profile page.

(I don't really enjoy the code but it's the simplest way i've found)

  • Property svn:eol-style set to LF
  • Property svn:keywords set to Author Date Id Revision
File size: 3.9 KB
RevLine 
[2246]1{* $Id: profile_content.tpl 3996 2009-10-08 21:05:51Z Eric $ *}
2<form method="post" name="profile" action="{$F_ACTION}" id="profile" class="properties">
[1753]3
4  <fieldset>
[2268]5    <legend>{'Registration'|@translate}</legend>
[2246]6    <input type="hidden" name="redirect" value="{$REDIRECT}" />
[1753]7    <ul>
8      <li>
[2246]9        <span class="property">{'Username'|@translate}</span>
10        {$USERNAME}
[1753]11      </li>
[2268]12{if not $SPECIAL_USER} {* can modify password + email*}
[1753]13      <li>
14        <span class="property">
[2246]15          <label for="mail_address">{'Email address'|@translate}</label>
[1753]16        </span>
[2246]17        <input type="text" name="mail_address" id="mail_address" value="{$EMAIL}">
[1753]18      </li>
[2268]19{if not $IN_ADMIN} {* admins do not need old password*}
[1753]20      <li>
21        <span class="property">
[2246]22          <label for="password">{'Password'|@translate}</label>
[1753]23        </span>
24        <input type="password" name="password" id="password" value="">
25      </li>
[2246]26{/if}
[1753]27      <li>
28        <span class="property">
[2246]29          <label for="use_new_pwd">{'new_password'|@translate}</label>
[1753]30        </span>
31        <input type="password" name="use_new_pwd" id="use_new_pwd" value="">
32      </li>
33      <li>
34        <span class="property">
[2246]35          <label for="passwordConf">{'Confirm Password'|@translate}</label>
[1753]36        </span>
37        <input type="password" name="passwordConf" id="passwordConf" value="">
38      </li>
39    </ul>
[2246]40{/if}
[1753]41  </fieldset>
42
43  <fieldset>
[2246]44    <legend>{'preferences'|@translate}</legend>
[1753]45
46    <ul>
47      <li>
48        <span class="property">
[2246]49          <label for="nb_image_line">{'nb_image_per_row'|@translate}</label>
[1753]50        </span>
[2246]51        <input type="text" size="3" maxlength="2" name="nb_image_line" id="nb_image_line" value="{$NB_IMAGE_LINE}">
[1753]52      </li>
53      <li>
54        <span class="property">
[2246]55          <label for="nb_line_page">{'nb_row_per_page'|@translate}</label>
[1753]56        </span>
[2246]57        <input type="text" size="3" maxlength="2" name="nb_line_page" id="nb_line_page" value="{$NB_ROW_PAGE}" >
[1753]58      </li>
59      <li>
60        <span class="property">
[2246]61          <label for="template">{'theme'|@translate}</label>
[1753]62        </span>
[2246]63        {html_options name=template options=$template_options selected=$template_selection}
[1753]64      </li>
65      <li>
66        <span class="property">
[2246]67          <label for="language">{'language'|@translate}</label>
[1753]68        </span>
[2246]69        {html_options name=language options=$language_options selected=$language_selection}
[1753]70      </li>
71      <li>
72        <span class="property">
[2246]73          <label for="recent_period">{'recent_period'|@translate}</label>
[1753]74        </span>
[2246]75        <input type="text" size="3" maxlength="2" name="recent_period" id="recent_period" value="{$RECENT_PERIOD}">
[1753]76      </li>
77      <li>
[2246]78        <span class="property">{'auto_expand'|@translate}</span>
79        {html_radios name='expand' options=$radio_options selected=$EXPAND}
[1753]80      </li>
81      <li>
[2246]82        <span class="property">{'show_nb_comments'|@translate}</span>
83        {html_radios name='show_nb_comments' options=$radio_options selected=$NB_COMMENTS}
[1753]84      </li>
85      <li>
[2246]86        <span class="property">{'show_nb_hits'|@translate}</span>
87        {html_radios name='show_nb_hits' options=$radio_options selected=$NB_HITS}
[1763]88      </li>
89      <li>
[1753]90        <span class="property">
[2246]91          <label for="maxwidth">{'maxwidth'|@translate}</label>
[1753]92        </span>
[2246]93        <input type="text" size="4" maxlength="4" name="maxwidth" id="maxwidth" value="{$MAXWIDTH}">
[1753]94      </li>
95      <li>
96        <span class="property">
[2246]97          <label for="maxheight">{'maxheight'|@translate}</label>
[1753]98        </span>
[2246]99        <input type="text" size="4" maxlength="4" name="maxheight" id="maxheight" value="{$MAXHEIGHT}">
[1753]100      </li>
101    </ul>
102  </fieldset>
103
104  <p class="bottomButtons">
[2268]105    <input class="submit" type="submit" name="validate" value="{'Submit'|@translate}">
106    <input class="submit" type="reset" name="reset" value="{'Reset'|@translate}">
[3996]107    <input class="submit" type="submit" name="reset_to_default" value="{'Reset_To_Default'|@translate}">
[1753]108  </p>
109
110</form>
Note: See TracBrowser for help on using the repository browser.