--- headerimage.module.old 2008-08-31 21:38:51.000000000 +0200 +++ headerimage.module 2008-08-31 21:39:02.000000000 +0200 @@ -630,7 +630,8 @@ foreach ($config as $key => $message) { $items[] = array( 'data' => theme('headerimage_config_image', $status[$key]) . $message, - 'class' => is_null($status[$key]) ? NULL : 'configuration-'. $status[$key] , + 'class' => $status[$key], + 'title' => $status[$key] == 'todo' ? t('Configuration step not completed.') : NULL, ); } $output .= theme_item_list($items, NULL, 'ul', array('id' => 'headerimage-config')); @@ -712,21 +713,4 @@ else { $variables['content'] = $node->body; } -} - -/** - * Format configuration status icon. - * - * @param $status Status of configuration step: done, todo - */ -function theme_headerimage_config_image($status) { - switch ($status) { - case 'done': - $output = ''; - break; - case 'todo': - $output = theme_image('misc/watchdog-warning.png', $status, t('Configuration step not completed.')); - break; - } - return $output; -} +} \ No newline at end of file