--- /f/projects/drupal/cvs/drupal/includes/theme.inc	2006-05-19 21:24:30.000000000 -0400
+++ includes/theme.inc	2006-05-27 01:17:04.062500000 -0400
@@ -839,7 +839,9 @@ function theme_stylesheet_import($path, 
  * Return a themed list of items.
  *
  * @param $items
- *   An array of items to be displayed in the list.
+ *   An array of items to be displayed in the list. An item may be a string,
+ *   or an array with keys 'item', 'children', and optionally 'title', 'type',
+ *   and 'attributes'. Children are displayed in a nested list.
  * @param $title
  *   The title of the list.
  * @param $attributes
@@ -858,7 +860,12 @@ function theme_item_list($items = array(
   if (!empty($items)) {
     $output .= "<$type" . drupal_attributes($attributes) . '>';
     foreach ($items as $item) {
-      $output .= '<li>'. $item .'</li>';
+      if (is_array($item)) {
+        $output .= '<li>'. $item['item'] . theme_item_list($item['children'], $item['title'], $item['type'] ? $item['type'] : $type, $item['attributes'] ? $item['attributes'] : $attributes) .'</li>';
+      }
+      else {
+        $output .= '<li>'. $item .'</li>';
+      }
     }
     $output .= "</$type>";
   }
