Mercurial > defr > drupal > scald > dnd
changeset 23:a72403cfa9a8
Simple tweak to add id to editor images in test module.
author | David Eads <eads@chicagotech.org> |
---|---|
date | Tue, 10 Mar 2009 13:55:27 -0500 |
parents | 40b5dd396feb |
children | 4f58fa0a9a6d |
files | dnd_test/dnd_test.module |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/dnd_test/dnd_test.module Tue Mar 10 13:47:44 2009 -0500 +++ b/dnd_test/dnd_test.module Tue Mar 10 13:55:27 2009 -0500 @@ -166,7 +166,7 @@ else { $img = 1; } - $variables['image'] = theme('image', drupal_get_path('module', 'dnd_test') .'/img/item-'. $img .'-'. $size .'.jpg', 'foo', 'foo', array('class' => 'dnd-dropped')); + $variables['image'] = theme('image', drupal_get_path('module', 'dnd_test') .'/img/item-'. $img .'-'. $size .'.jpg', '', '', array('class' => 'dnd-dropped', 'id' => 'dnd-id-'. $i)); } function template_preprocess_dnd_library_header(&$variables) {}