aboutsummaryrefslogtreecommitdiffstats
path: root/template/default
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2005-07-17 15:13:25 +0000
committerplegall <plg@piwigo.org>2005-07-17 15:13:25 +0000
commit8b97a8154ebb024c1c2610d82646e48b913721bc (patch)
treeb8144cb14fe8061e81a1a3c3d06046fc7281366f /template/default
parent3643e999a59e0b2f2a05c44850b03f7c0e36423c (diff)
- improvement : in admin/element_set_global, javascript is not used anymore
to select an item with its thumbnail git-svn-id: http://piwigo.org/svn/trunk@806 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'template/default')
-rw-r--r--template/default/admin/element_set_global.tpl7
1 files changed, 4 insertions, 3 deletions
diff --git a/template/default/admin/element_set_global.tpl b/template/default/admin/element_set_global.tpl
index edaba7b87..9b41a5219 100644
--- a/template/default/admin/element_set_global.tpl
+++ b/template/default/admin/element_set_global.tpl
@@ -164,13 +164,14 @@
<!-- BEGIN line -->
<tr>
<!-- BEGIN thumbnail -->
- <td class="thumbnail"
- onmousedown="document.getElementById('selection_{thumbnails.line.thumbnail.ID}').checked = (document.getElementById('selection_{thumbnails.line.thumbnail.ID}').checked ? false : true);">
+ <td class="thumbnail">
+ <label>
<img src="{thumbnails.line.thumbnail.SRC}"
alt="{thumbnails.line.thumbnail.ALT}"
title="{thumbnails.line.thumbnail.TITLE}"
class="thumbLink" />
- <br /><input type="checkbox" name="selection[]" value="{thumbnails.line.thumbnail.ID}" id="selection_{thumbnails.line.thumbnail.ID}" />
+ <br /><input type="checkbox" name="selection[]" value="{thumbnails.line.thumbnail.ID}" />
+ </label>
</td>
<!-- END thumbnail -->
</tr>