aboutsummaryrefslogtreecommitdiffstats
path: root/template/yoga/profile_content.tpl
blob: 04f4eb96c5b485f376f54acdf70263729bd3eba3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
{* $Id: /piwigo/trunk/template/yoga/profile_content.tpl 7025 2009-03-09T19:41:45.898712Z nikrou  $ *}
<form method="post" name="profile" action="{$F_ACTION}" id="profile" class="properties">

  <fieldset>
    <legend>{'Registration'|@translate}</legend>
    <input type="hidden" name="redirect" value="{$REDIRECT}">
    <ul>
      <li>
        <span class="property">{'Username'|@translate}</span>
        {$USERNAME}
      </li>
{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 not $IN_ADMIN} {* admins do not need old password*}
      <li>
        <span class="property">
          <label for="password">{'Password'|@translate}</label>
        </span>
        <input type="password" name="password" id="password" value="">
      </li>
{/if}
      <li>
        <span class="property">
          <label for="use_new_pwd">{'new_password'|@translate}</label>
        </span>
        <input type="password" name="use_new_pwd" id="use_new_pwd" value="">
      </li>
      <li>
        <span class="property">
          <label for="passwordConf">{'Confirm Password'|@translate}</label>
        </span>
        <input type="password" name="passwordConf" id="passwordConf" value="">
      </li>
    </ul>
{/if}
  </fieldset>

  <fieldset>
    <legend>{'preferences'|@translate}</legend>

    <ul>
      <li>
        <span class="property">
          <label for="nb_image_line">{'nb_image_per_row'|@translate}</label>
        </span>
        <input type="text" size="3" maxlength="2" name="nb_image_line" id="nb_image_line" value="{$NB_IMAGE_LINE}">
      </li>
      <li>
        <span class="property">
          <label for="nb_line_page">{'nb_row_per_page'|@translate}</label>
        </span>
        <input type="text" size="3" maxlength="2" name="nb_line_page" id="nb_line_page" value="{$NB_ROW_PAGE}" >
      </li>
      <li>
        <span class="property">
          <label for="template">{'theme'|@translate}</label>
        </span>
        {html_options name=template options=$template_options selected=$template_selection}
      </li>
      <li>
        <span class="property">
          <label for="language">{'language'|@translate}</label>
        </span>
        {html_options name=language options=$language_options selected=$language_selection}
      </li>
      <li>
        <span class="property">
          <label for="recent_period">{'recent_period'|@translate}</label>
        </span>
        <input type="text" size="3" maxlength="2" name="recent_period" id="recent_period" value="{$RECENT_PERIOD}">
      </li>
      <li>
        <span class="property">{'auto_expand'|@translate}</span>
        {html_radios name='expand' options=$radio_options selected=$EXPAND}
      </li>
      <li>
        <span class="property">{'show_nb_comments'|@translate}</span>
        {html_radios name='show_nb_comments' options=$radio_options selected=$NB_COMMENTS}
      </li>
      <li>
        <span class="property">{'show_nb_hits'|@translate}</span>
        {html_radios name='show_nb_hits' options=$radio_options selected=$NB_HITS}
      </li>
      <li>
        <span class="property">
          <label for="maxwidth">{'maxwidth'|@translate}</label>
        </span>
        <input type="text" size="4" maxlength="4" name="maxwidth" id="maxwidth" value="{$MAXWIDTH}">
      </li>
      <li>
        <span class="property">
          <label for="maxheight">{'maxheight'|@translate}</label>
        </span>
        <input type="text" size="4" maxlength="4" name="maxheight" id="maxheight" value="{$MAXHEIGHT}">
      </li>
    </ul>
  </fieldset>

  <p class="bottomButtons">
    <input class="submit" type="submit" name="validate" value="{'Submit'|@translate}">
    <input class="submit" type="reset" name="reset" value="{'Reset'|@translate}">
  </p>

</form>