aboutsummaryrefslogtreecommitdiffstats
path: root/admin/themes/default
diff options
context:
space:
mode:
authormistic100 <mistic@piwigo.org>2011-04-09 14:52:15 +0000
committermistic100 <mistic@piwigo.org>2011-04-09 14:52:15 +0000
commit76194270be6a529ff499900ed61e6266d2347d34 (patch)
treea4b94f25ffab5ce812ece8757d9365f55cb9bf4f /admin/themes/default
parentfe28570fdf8754467a35d6b03c1ff13dc536beea (diff)
bug:2224 one parameter for change thumnails number (needs some translations)
git-svn-id: http://piwigo.org/svn/trunk@10198 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--admin/themes/default/template/profile_content.tpl10
-rw-r--r--admin/themes/default/template/user_list.tpl20
2 files changed, 7 insertions, 23 deletions
diff --git a/admin/themes/default/template/profile_content.tpl b/admin/themes/default/template/profile_content.tpl
index 29338c3e4..e7c209222 100644
--- a/admin/themes/default/template/profile_content.tpl
+++ b/admin/themes/default/template/profile_content.tpl
@@ -45,15 +45,9 @@
<ul>
<li>
<span class="property">
- <label for="nb_image_line">{'Number of photos per row'|@translate}</label>
+ <label for="nb_image_page">{'Number of photos per page'|@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}" >
+ <input type="text" size="3" maxlength="2" name="nb_image_page" id="nb_image_page" value="{$NB_IMAGE_PAGE}">
</li>
{if not $SPECIAL_USER}
<li>
diff --git a/admin/themes/default/template/user_list.tpl b/admin/themes/default/template/user_list.tpl
index 9e5884b08..95214815b 100644
--- a/admin/themes/default/template/user_list.tpl
+++ b/admin/themes/default/template/user_list.tpl
@@ -183,26 +183,16 @@
<table>
<tr>
- <td>{'Number of photos per row'|@translate}</td>
+ <td>{'Number of photos per page'|@translate}</td>
<td>
- <label><input type="radio" name="nb_image_line_action" value="leave" checked="checked"> {'leave'|@translate}</label>
- <label><input type="radio" name="nb_image_line_action" value="set" id="nb_image_line_action_set"> {'set to'|@translate}</label>
- <input onmousedown="document.getElementById('nb_image_line_action_set').checked = true;"
- size="3" maxlength="2" type="text" name="nb_image_line" value="{$NB_IMAGE_LINE}">
+ <label><input type="radio" name="nb_image_page_action" value="leave" checked="checked"> {'leave'|@translate}</label>
+ <label><input type="radio" name="nb_image_page_action" value="set" id="nb_image_page_action_set"> {'set to'|@translate}</label>
+ <input onmousedown="document.getElementById('nb_image_page_action_set').checked = true;"
+ size="3" maxlength="2" type="text" name="nb_image_page" value="{$NB_IMAGE_PAGE}">
</td>
</tr>
<tr>
- <td>{'Number of rows per page'|@translate}</td>
- <td>
- <label><input type="radio" name="nb_line_page_action" value="leave" checked="checked"> {'leave'|@translate}</label>
- <label><input type="radio" name="nb_line_page_action" value="set" id="nb_line_page_action_set"> {'set to'|@translate}</label>
- <input onmousedown="document.getElementById('nb_line_page_action_set').checked = true;"
- size="3" maxlength="2" type="text" name="nb_line_page" value="{$NB_LINE_PAGE}">
- <td>
- </tr>
-
- <tr>
<td>{'Interface theme'|@translate}</td>
<td>
<label><input type="radio" name="theme_action" value="leave" checked="checked"> {'leave'|@translate}</label>