source: trunk/themes/default/template/profile_content.tpl @ 13788

Last change on this file since 13788 was 12887, checked in by mistic100, 12 years ago

feature:2549 Allow to disable comments for everybody

  • Property svn:eol-style set to LF
File size: 3.4 KB
RevLine 
[2246]1<form method="post" name="profile" action="{$F_ACTION}" id="profile" class="properties">
[1753]2
3  <fieldset>
[2268]4    <legend>{'Registration'|@translate}</legend>
[3185]5    <input type="hidden" name="redirect" value="{$REDIRECT}">
[1753]6    <ul>
7      <li>
[2246]8        <span class="property">{'Username'|@translate}</span>
9        {$USERNAME}
[1753]10      </li>
[12882]11    {if not $SPECIAL_USER} {* can modify password + email*}
[1753]12      <li>
13        <span class="property">
[2246]14          <label for="mail_address">{'Email address'|@translate}</label>
[1753]15        </span>
[2246]16        <input type="text" name="mail_address" id="mail_address" value="{$EMAIL}">
[1753]17      </li>
18      <li>
19        <span class="property">
[2246]20          <label for="password">{'Password'|@translate}</label>
[1753]21        </span>
22        <input type="password" name="password" id="password" value="">
23      </li>
24      <li>
25        <span class="property">
[5021]26          <label for="use_new_pwd">{'New password'|@translate}</label>
[1753]27        </span>
28        <input type="password" name="use_new_pwd" id="use_new_pwd" value="">
29      </li>
30      <li>
31        <span class="property">
[2246]32          <label for="passwordConf">{'Confirm Password'|@translate}</label>
[1753]33        </span>
34        <input type="password" name="passwordConf" id="passwordConf" value="">
35      </li>
[12882]36    {/if}
[1753]37    </ul>
38  </fieldset>
39
[5328]40{if $ALLOW_USER_CUSTOMIZATION}
[1753]41  <fieldset>
[5021]42    <legend>{'Preferences'|@translate}</legend>
[1753]43
44    <ul>
45      <li>
46        <span class="property">
[10198]47          <label for="nb_image_page">{'Number of photos per page'|@translate}</label>
[1753]48        </span>
[12470]49        <input type="text" size="4" maxlength="3" name="nb_image_page" id="nb_image_page" value="{$NB_IMAGE_PAGE}">
[1753]50      </li>
51      <li>
52        <span class="property">
[5021]53          <label for="template">{'Interface theme'|@translate}</label>
[1753]54        </span>
[5123]55        {html_options name=theme options=$template_options selected=$template_selection}
[1753]56      </li>
57      <li>
58        <span class="property">
[5021]59          <label for="Language">{'Language'|@translate}</label>
[1753]60        </span>
[2246]61        {html_options name=language options=$language_options selected=$language_selection}
[1753]62      </li>
63      <li>
64        <span class="property">
[5021]65          <label for="Recent period">{'Recent period'|@translate}</label>
[1753]66        </span>
[2246]67        <input type="text" size="3" maxlength="2" name="recent_period" id="recent_period" value="{$RECENT_PERIOD}">
[1753]68      </li>
69      <li>
[6951]70        <span class="property">{'Expand all albums'|@translate}</span>
[2246]71        {html_radios name='expand' options=$radio_options selected=$EXPAND}
[1753]72      </li>
[12887]73    {if $ACTIVATE_COMMENTS}
[1753]74      <li>
[5021]75        <span class="property">{'Show number of comments'|@translate}</span>
[2246]76        {html_radios name='show_nb_comments' options=$radio_options selected=$NB_COMMENTS}
[1753]77      </li>
[12887]78    {/if}
[1753]79      <li>
[5021]80        <span class="property">{'Show number of hits'|@translate}</span>
[2246]81        {html_radios name='show_nb_hits' options=$radio_options selected=$NB_HITS}
[1763]82      </li>
[1753]83    </ul>
84  </fieldset>
[5328]85{/if}
[1753]86
87  <p class="bottomButtons">
[6907]88    <input type="hidden" name="pwg_token" value="{$PWG_TOKEN}">
[2268]89    <input class="submit" type="submit" name="validate" value="{'Submit'|@translate}">
90    <input class="submit" type="reset" name="reset" value="{'Reset'|@translate}">
[5330]91    {if $ALLOW_USER_CUSTOMIZATION}
[5021]92    <input class="submit" type="submit" name="reset_to_default" value="{'Reset to default values'|@translate}">
[5330]93    {/if}
[1753]94  </p>
95
96</form>
Note: See TracBrowser for help on using the repository browser.