From 8d460b406dca3df18d55e49a208fd19de9f53a8e Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 18 Oct 2005 14:45:09 +0000 Subject: - Patch #32573 by Moshe: added support for ordered lists to theme_item_list(). --- includes/theme.inc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'includes') diff --git a/includes/theme.inc b/includes/theme.inc index ba2051ff7..b90d6505e 100644 --- a/includes/theme.inc +++ b/includes/theme.inc @@ -862,21 +862,23 @@ function theme_stylesheet_import($path, $media = 'all') { * An array of items to be displayed in the list. * @param $title * The title of the list. + * @param $type + * The type of list to return (e.g. "ul", "ol") * @return * A string containing the list output. */ -function theme_item_list($items = array(), $title = NULL) { +function theme_item_list($items = array(), $title = NULL, $type = 'ul') { $output = '
'; if (isset($title)) { $output .= '

'. $title .'

'; } if (isset($items)) { - $output .= ''; + $output .= ""; } $output .= '
'; return $output; -- cgit v1.2.3