aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--doc/ChangeLog5
-rw-r--r--template/default/admin/element_set_global.tpl7
2 files changed, 9 insertions, 3 deletions
diff --git a/doc/ChangeLog b/doc/ChangeLog
index 4b432e8af..2d03a1fbf 100644
--- a/doc/ChangeLog
+++ b/doc/ChangeLog
@@ -1,5 +1,10 @@
2005-07-17 Pierrick LE GALL
+ * improvement : in admin/element_set_global, javascript is not
+ used anymore to select an item with its thumbnail
+
+2005-07-17 Pierrick LE GALL
+
* bug fixed : in admin/user_list, if target is "selection" and
that no user is selected, an error occurs
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>