aboutsummaryrefslogtreecommitdiffstats
path: root/template/yoga
diff options
context:
space:
mode:
authorrub <rub@piwigo.org>2007-03-28 19:57:00 +0000
committerrub <rub@piwigo.org>2007-03-28 19:57:00 +0000
commit7c43a3c62d28162ee70e960f51e048727725cb31 (patch)
tree1b967195f4edf6db91bf25a6facda55ad08a8935 /template/yoga
parentb86d4ac0b89e167bedbd03805e7c7024da5cef03 (diff)
Issue 578
User guest must be real user Step 1: guest is a real user On next commit, I finish installation and use of guest of user list and group git-svn-id: http://piwigo.org/svn/trunk@1926 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--template/yoga/admin/configuration.tpl81
-rw-r--r--template/yoga/profile_content.tpl2
2 files changed, 5 insertions, 78 deletions
diff --git a/template/yoga/admin/configuration.tpl b/template/yoga/admin/configuration.tpl
index 4a950ea34..2df05e936 100644
--- a/template/yoga/admin/configuration.tpl
+++ b/template/yoga/admin/configuration.tpl
@@ -140,88 +140,13 @@
<!-- END comments -->
<!-- BEGIN default -->
-<fieldset id="defaultConf">
- <ul>
- <li>
- <span class="property">
- <label for="default_language">{lang:Language}</label>
- </span>
- <select name="default_language" id="default_language">
- <!-- BEGIN language_option -->
- <option value="{default.language_option.VALUE}" {default.language_option.SELECTED}>{default.language_option.CONTENT}</option>
- <!-- END language_option -->
- </select>
- </li>
-
- <li>
- <span class="property">
- <label for="nb_image_line">{lang:Number of images per row}</label>
- </span>
- <input type="text" size="3" maxlength="2" id="nb_image_line" name="nb_image_line" value="{default.NB_IMAGE_LINE}" />
- </li>
-
- <li>
- <span class="property">
- <label for="nb_line_page">{lang:Number of rows per page}</label>
- </span>
- <input type="text" size="3" maxlength="2" id="nb_line_page" name="nb_line_page" value="{default.NB_ROW_PAGE}" />
- </li>
-
- <li>
- <span class="property">
- <label for="default_template">{lang:Interface theme}</label>
- </span>
- <select name="default_template" id="default_template">
- <!-- BEGIN template_option -->
- <option value="{default.template_option.VALUE}" {default.template_option.SELECTED}>{default.template_option.CONTENT}</option>
- <!-- END template_option -->
- </select>
- </li>
-
- <li>
- <span class="property">
- <label for="recent_period">{lang:Recent period}</label>
- </span>
- <input type="text" size="3" maxlength="2" name="recent_period" id="recent_period" value="{default.CONF_RECENT}" />
- </li>
-
- <li>
- <span class="property">{lang:Expand all categories}</span>
- <label><input type="radio" class="radio" name="auto_expand" value="true" {default.EXPAND_YES} />{lang:Yes}</label>
- <label><input type="radio" class="radio" name="auto_expand" value="false" {default.EXPAND_NO} />{lang:No}</label>
- </li>
-
- <li>
- <span class="property">{lang:Show number of comments}</span>
- <label><input type="radio" class="radio" name="show_nb_comments" value="true" {default.SHOW_COMMENTS_YES} />{lang:Yes}</label>
- <label><input type="radio" class="radio" name="show_nb_comments" value="false" {default.SHOW_COMMENTS_NO} />{lang:No}</label>
- </li>
-
- <li>
- <span class="property">{lang:show_nb_hits}</span>
- <label><input type="radio" class="radio" name="show_nb_hits" value="true" {default.SHOW_HITS_YES} />{lang:Yes}</label>
- <label><input type="radio" class="radio" name="show_nb_hits" value="false" {default.SHOW_HITS_NO} />{lang:No}</label>
- </li>
-
- <li>
- <span class="property">
- <label for="default_maxwidth">{lang:Maximum width of the pictures}</label>
- </span>
- <input type="text" size="4" maxlength="4" id="default_maxwidth" name="default_maxwidth" value="{default.MAXWIDTH}" />
- </li>
-
- <li>
- <span class="property">
- <label for="default_maxheight">{lang:Maximum height of the pictures}</label>
- </span>
- <input type="text" size="4" maxlength="4" id="default_maxheight" name="default_maxheight" value="{default.MAXHEIGHT}" />
- </li>
- </ul>
-</fieldset>
+{PROFILE_CONTENT}
<!-- END default -->
+<!-- BEGIN include_submit_buttons -->
<p>
<input class="submit" type="submit" name="submit" value="{lang:Submit}" {TAG_INPUT_ENABLED}>
<input class="submit" type="reset" name="reset" value="{lang:Reset}">
</p>
+<!-- END include_submit_buttons -->
</form>
diff --git a/template/yoga/profile_content.tpl b/template/yoga/profile_content.tpl
index bebddcb12..70645b282 100644
--- a/template/yoga/profile_content.tpl
+++ b/template/yoga/profile_content.tpl
@@ -9,6 +9,7 @@
<span class="property">{lang:Username}</span>
{USERNAME}
</li>
+<!-- BEGIN not_special_user -->
<li>
<span class="property">
<label for="mail_address">{lang:Email address}</label>
@@ -36,6 +37,7 @@
<input type="password" name="passwordConf" id="passwordConf" value="">
</li>
</ul>
+<!-- END not_special_user -->
</fieldset>
<fieldset>