- 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
This commit is contained in:
plegall 2005-07-17 15:13:25 +00:00
parent 3643e999a5
commit 8b97a8154e
2 changed files with 9 additions and 3 deletions

View file

@ -1,3 +1,8 @@
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

View file

@ -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>