- 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
doc
template/default/admin

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 2005-07-17 Pierrick LE GALL
* bug fixed : in admin/user_list, if target is "selection" and * bug fixed : in admin/user_list, if target is "selection" and

View file

@ -164,13 +164,14 @@
<!-- BEGIN line --> <!-- BEGIN line -->
<tr> <tr>
<!-- BEGIN thumbnail --> <!-- BEGIN thumbnail -->
<td class="thumbnail" <td class="thumbnail">
onmousedown="document.getElementById('selection_{thumbnails.line.thumbnail.ID}').checked = (document.getElementById('selection_{thumbnails.line.thumbnail.ID}').checked ? false : true);"> <label>
<img src="{thumbnails.line.thumbnail.SRC}" <img src="{thumbnails.line.thumbnail.SRC}"
alt="{thumbnails.line.thumbnail.ALT}" alt="{thumbnails.line.thumbnail.ALT}"
title="{thumbnails.line.thumbnail.TITLE}" title="{thumbnails.line.thumbnail.TITLE}"
class="thumbLink" /> 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> </td>
<!-- END thumbnail --> <!-- END thumbnail -->
</tr> </tr>