summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2003-12-13 17:46:44 +0000
committerDries Buytaert <dries@buytaert.net>2003-12-13 17:46:44 +0000
commit4d54978a4b49345330a943e8c4f6a74e2b432fe4 (patch)
tree3046776cb19fba702f9be2acbfd575e982f431cd
parentc4871f06722c186d92a5d55226ccb18dd2c1244c (diff)
downloadbrdo-4d54978a4b49345330a943e8c4f6a74e2b432fe4.tar.gz
brdo-4d54978a4b49345330a943e8c4f6a74e2b432fe4.tar.bz2
- Small change to the default theme.
-rw-r--r--includes/theme.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/includes/theme.inc b/includes/theme.inc
index fd2f6f51c..f8f37e7ad 100644
--- a/includes/theme.inc
+++ b/includes/theme.inc
@@ -347,8 +347,8 @@ function theme_table($header, $rows) {
*
* @return a string containing the @a box output.
*/
-function theme_box($subject, $content, $region = "main") {
- $output = "<h2>$subject</h2><p>$content</p>";
+function theme_box($title, $content, $region = "main") {
+ $output = "<h2 class=\"title\">$title</h2><p>$content</p>";
return $output;
}
@@ -368,7 +368,7 @@ function theme_box($subject, $content, $region = "main") {
*/
function theme_block($block) {
$output = "<div class=\"block block-$block->module\" id=\"block-$block->module-$block->delta\">";
- $output .= " <h3>$block->subject</h3>";
+ $output .= " <h2 class=\"title\">$block->subject</h2>";
$output .= " <div class=\"content\">$block->content</div>";
$output .= "</div>";
return $output;