aboutsummaryrefslogtreecommitdiffstats
path: root/template/yoga/admin/thumbnail.tpl
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2005-09-14 21:57:05 +0000
committerplegall <plg@piwigo.org>2005-09-14 21:57:05 +0000
commit3371c757424cef291be02a946e528983dece9543 (patch)
tree2ede9c21e065d766d8a3226309635c46b596d77d /template/yoga/admin/thumbnail.tpl
parenteac1724ee5e20967d989916b76fc9076411be758 (diff)
- improvement: long localized messages are in HTML files instead of $lang
array. This is the case of admin/help and about pages. - deletion: of unused functions (ts_to_mysqldt, is_image, TN_exists, check_date_format, date_convert, get_category_directories, get_used_metadata_list, array_remove, pwg_write_debug, get_group_restrictions, get_all_group_restrictions, is_group_allowed, style_select, deprecated_getAttribute). - new: many new contextual help pages to replace descriptions previously included in pages. - modification: reorganisation of language files. Deletion of unused language keys, alphabetical sort. No faq.lang.php anymore (replaced by help.html). Only done for en_UK.iso-8859-1. git-svn-id: http://piwigo.org/svn/trunk@862 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'template/yoga/admin/thumbnail.tpl')
-rw-r--r--template/yoga/admin/thumbnail.tpl89
1 files changed, 39 insertions, 50 deletions
diff --git a/template/yoga/admin/thumbnail.tpl b/template/yoga/admin/thumbnail.tpl
index aa8bbcd0f..9e0d70f5e 100644
--- a/template/yoga/admin/thumbnail.tpl
+++ b/template/yoga/admin/thumbnail.tpl
@@ -1,5 +1,10 @@
<!-- $Id$ -->
-<h2>{lang:title_thumbnails}</h2>
+<div class="titrePage">
+ <ul class="categoryActions">
+ <li><a href="{U_HELP}" onclick="popuphelp(this.href); return false;" title="{lang:Help}"><img src="template/yoga/theme/help.png" alt="(?)"></a></li>
+ </ul>
+ <h2>{lang:title_thumbnails}</h2>
+</div>
<!-- BEGIN results -->
<div class="admin">{L_RESULTS}</div>
@@ -53,55 +58,39 @@
<!-- END results -->
<!-- BEGIN params -->
-<form method="post" action="{params.F_ACTION}">
- <table style="width:100%;">
- <tr>
- <th class="admin" colspan="3">{L_PARAMS}</th>
- </tr>
- <tr><td colspan="3">&nbsp;</td></tr>
- <tr>
- <td><div class="key">{L_GD}</div></td>
- <td class="choice">
- <input type="radio" name="gd" value="2" {params.GD2_CHECKED} />2.x
- <input type="radio" name="gd" value="1" {params.GD1_CHECKED} />1.x
- </td>
- <td style="width:50%;" class="row2">{L_GD_INFO}</td>
- </tr>
- <tr>
- <td><div class="key">{L_WIDTH}</div></td>
- <td class="choice">
- <input type="text" name="width" value="{params.WIDTH_TN}"/>
- </td>
- <td>{L_WIDTH_INFO}</td>
- </tr>
- <tr>
- <td><div class="key">{L_HEIGHT}</div></td>
- <td class="choice">
- <input type="text" name="height" value="{params.HEIGHT_TN}"/>
- </td>
- <td>{L_HEIGHT_INFO}</td>
- </tr>
- <tr>
- <td><div class="key">{L_CREATE}</div></td>
- <td class="choice">
- <input type="radio" name="n" value="5" {params.n_5_CHECKED} /> 5
- <input type="radio" name="n" value="10" {params.n_10_CHECKED} /> 10
- <input type="radio" name="n" value="20" {params.n_20_CHECKED} /> 20
- <input type="radio" name="n" value="all" {params.n_all_CHECKED} /> {L_ALL}
- </td>
- <td>{L_CREATE_INFO}</td>
- </tr>
- <tr>
- <td><div class="key">{L_FORMAT}</div></td>
- <td class="choice"><span style="font-weight:bold;">jpeg</span></td>
- <td>{L_FORMAT_INFO}</td>
- </tr>
- <tr>
- <td colspan="3" style="text-align:center;">
- <input type="submit" name="submit" value="{L_SUBMIT}"/>
- </td>
- </tr>
- </table>
+<form method="post" action="{params.F_ACTION}" class="properties">
+
+ <fieldset>
+ <legend>{L_PARAMS}</legend>
+
+ <ul>
+ <li>
+ <label><strong>{L_GD}</strong></label>
+ <input type="radio" name="gd" value="2" {params.GD2_CHECKED} />2.x
+ <input type="radio" name="gd" value="1" {params.GD1_CHECKED} />1.x
+ </li>
+
+ <li>
+ <label><strong>{L_WIDTH}</strong></label>
+ <input type="text" name="width" value="{params.WIDTH_TN}"/>
+ </li>
+
+ <li>
+ <label><strong>{L_HEIGHT}</strong></label>
+ <input type="text" name="height" value="{params.HEIGHT_TN}"/>
+ </li>
+
+ <li>
+ <label><strong>{lang:Number of thumbnails to create}</strong></label>
+ <input type="radio" name="n" value="5" {params.n_5_CHECKED} /> 5
+ <input type="radio" name="n" value="10" {params.n_10_CHECKED} /> 10
+ <input type="radio" name="n" value="20" {params.n_20_CHECKED} /> 20
+ <input type="radio" name="n" value="all" {params.n_all_CHECKED} /> {L_ALL}
+ </li>
+ </ul>
+ </fieldset>
+
+ <p><input type="submit" name="submit" value="{L_SUBMIT}"/></p>
</form>
<!-- END params -->