Mercurial > defr > drupal > scald > dnd
diff dnd_test/dnd_test.module @ 15:7a5f74482ee3
More cross browser work, garbage collection for timers, etc.
author | David Eads <eads@chicagotech.org> |
---|---|
date | Mon, 02 Mar 2009 23:22:37 -0600 |
parents | ef7ad7b5baa4 |
children | 1a77f87927dd |
line wrap: on
line diff
--- a/dnd_test/dnd_test.module Fri Feb 27 12:30:42 2009 -0600 +++ b/dnd_test/dnd_test.module Mon Mar 02 23:22:37 2009 -0600 @@ -117,7 +117,6 @@ $img = 1; } - //$variables['image'] = theme('image', drupal_get_path('module', 'dnd_test') .'/img/item-'. $img .'-thumb.jpg'); $variables['image'] = '<img src="http://'. $_SERVER['HTTP_HOST'] . base_path() . drupal_get_path('module', 'dnd_test') .'/img/item-'. $img .'-thumb.jpg?dnd_id='. $i .'-M" class="drop" />'; $variables['title'] = t('Lorem Ipsum @count', array('@count' => $i)); $variables['date'] = 'Feb 18 2009'; @@ -141,5 +140,5 @@ else { $img = 1; } - $variables['image'] = theme('image', drupal_get_path('module', 'dnd_test') .'/img/item-'. $img .'-'. $size .'.jpg'); + $variables['image'] = theme('image', drupal_get_path('module', 'dnd_test') .'/img/item-'. $img .'-'. $size .'.jpg', 'foo', 'foo', array('class' => 'dnd-dropped')); }