diff options
author | plegall <plg@piwigo.org> | 2010-03-09 20:17:00 +0000 |
---|---|---|
committer | plegall <plg@piwigo.org> | 2010-03-09 20:17:00 +0000 |
commit | c9dfb3a41f0341531594de215a25d7cb0091ca56 (patch) | |
tree | 3d7ca60026e80650cb47aaadabb38646d5213438 /template/default/profile_content.tpl | |
parent | d63e90c5d022d5b88b66c33972533bab20edcec5 (diff) |
feature 1494: move all *.tpl files from template/yoga to the new
template/default (from which yoga derives)
git-svn-id: http://piwigo.org/svn/trunk@5095 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'template/default/profile_content.tpl')
-rw-r--r-- | template/default/profile_content.tpl | 109 |
1 files changed, 109 insertions, 0 deletions
diff --git a/template/default/profile_content.tpl b/template/default/profile_content.tpl new file mode 100644 index 000000000..e6736f078 --- /dev/null +++ b/template/default/profile_content.tpl @@ -0,0 +1,109 @@ +<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">{'Number of images 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">{'Number of rows 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">{'Interface 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">{'Expand all categories'|@translate}</span> + {html_radios name='expand' options=$radio_options selected=$EXPAND} + </li> + <li> + <span class="property">{'Show number of comments'|@translate}</span> + {html_radios name='show_nb_comments' options=$radio_options selected=$NB_COMMENTS} + </li> + <li> + <span class="property">{'Show number of hits'|@translate}</span> + {html_radios name='show_nb_hits' options=$radio_options selected=$NB_HITS} + </li> + <li> + <span class="property"> + <label for="Maximum width of the pictures">{'Maximum width of the pictures'|@translate}</label> + </span> + <input type="text" size="4" maxlength="4" name="maxwidth" id="maxwidth" value="{$MAXWIDTH}"> + </li> + <li> + <span class="property"> + <label for="Maximum height of the pictures">{'Maximum height of the pictures'|@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}"> + <input class="submit" type="submit" name="reset_to_default" value="{'Reset to default values'|@translate}"> + </p> + +</form> |