Index: src/main/phpapp/modules/composite/composite.module
===================================================================
--- src/main/phpapp/modules/composite/composite.module	(revision 56550)
+++ src/main/phpapp/modules/composite/composite.module	Thu Jul 23 18:49:55 CEST 2009
@@ -673,7 +673,7 @@
         $element[$key]['#suffix'] = '</div>';
 
         if ($layouts[$key]['icon']) {
-          $element[$key]['#prefix'] .= theme('composite_layout_icon', $layouts[$key]['icon']);
+          $element[$key]['#prefix'] .= theme('composite_layout_icon', $layouts[$key]['icon'], $layouts[$key]['template']);
         }
       }
       else if (is_numeric($key)) {
@@ -709,7 +709,7 @@
       'arguments' => array('element' => NULL),
     ),
     'composite_layout_icon' => array(
-      'arguments' => array('file' => NULL),
+      'arguments' => array('file' => NULL, 'alt' => NULL),
     ),
     'composite_zones_form' => array(
       'template' => 'composite-zones-form',
@@ -734,8 +734,8 @@
   return theme('radios', $element);
 }
 
-function theme_composite_layout_icon($file) {
-  return '<img src="' . base_path() . $file .'" class="composite-layout-icon" />';
+function theme_composite_layout_icon($file, $alt) {
+  return '<img src="' . base_path() . $file .'" alt="' . $alt . '" class="composite-layout-icon" />';
 }
 
 function theme_composite_zones_preview($node) {
