From: moodler Date: Fri, 5 Jan 2007 16:10:13 +0000 (+0000) Subject: FIxes for news forum heading on home page (Strict) MDL-7861 X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=1c9d49c21c98dfeca217360bac25b37266f1c915;p=moodle.git FIxes for news forum heading on home page (Strict) MDL-7861 --- diff --git a/index.php b/index.php index 2c87312c38..4d8ce128e7 100644 --- a/index.php +++ b/index.php @@ -177,15 +177,12 @@ } else { $subtext = get_string('subscribe', 'forum'); } - $headertext = ''. - ''. - ''. - '
'.$newsforum->name.'
'; + print_heading_block($newsforum->name); + echo ''; } else { - $headertext = $newsforum->name; + print_heading_block($newsforum->name); } - print_heading_block($headertext); forum_print_latest_discussions($SITE, $newsforum, $SITE->newsitems, 'plain', 'p.modified DESC'); } break; diff --git a/theme/standard/styles_fonts.css b/theme/standard/styles_fonts.css index cd5ca9095d..e42b54aa28 100644 --- a/theme/standard/styles_fonts.css +++ b/theme/standard/styles_fonts.css @@ -124,8 +124,8 @@ h4 { font-weight: bold; } -.headingblock .link { - font-size: 0.9em; +#site-index .subscribelink { + font-size: 0.8em; } .files .file { diff --git a/theme/standard/styles_layout.css b/theme/standard/styles_layout.css index f0a226886c..2cb2010944 100644 --- a/theme/standard/styles_layout.css +++ b/theme/standard/styles_layout.css @@ -1318,7 +1318,7 @@ body#course-user .section h2 { margin:0; } -.headingblock .link { +#site-index .subscribelink { text-align:right; }