Index: theme.inc =================================================================== RCS file: /cvs/drupal/drupal/includes/theme.inc,v retrieving revision 1.217 diff -B -b -w -i -U3 -r1.217 theme.inc --- theme.inc 14 Oct 2004 02:38:32 -0000 1.217 +++ theme.inc 8 Jan 2005 21:35:02 -0000 @@ -680,13 +680,21 @@ * The subject of the box. * @param $content * The content of the box. - * @param $region + * @param $class * The region in which the box is displayed. + * A meaningfull classname. it will be the second multiple class, + * resuling in a class attribute like class="box $class" + * @param $id + * A string containing an id. The id should contain the modulename and a unique ID, + * for example book-navigate to identify the navigation box with a book-page. * @return * A string containing the box output. */ -function theme_box($title, $content, $region = 'main') { - $output = '

'. $title .'

'. $content .'
'; +function theme_box($title, $content, $class, $id) { + $output = "
\n"; + $output .= "

$title

\n"; + $output .= "
$content
\n"; + $output .= "
"; return $output; }