From: moodler Date: Thu, 30 Aug 2007 09:49:50 +0000 (+0000) Subject: Make blog links pretty X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=53bde3e1beb08794b191beb3f689f60ff15d6d49;p=moodle.git Make blog links pretty --- diff --git a/tag/index.php b/tag/index.php index 041a9aac30..4d1501bb89 100644 --- a/tag/index.php +++ b/tag/index.php @@ -84,18 +84,35 @@ if ($usercount > 0) { } // print last 10 blogs -print_string('lasttenblogs', 'tag'); -print_box_start(); +print_box_start('generalbox', 'tag-blogs'); + +print_heading(get_string('lasttenblogs', 'tag'), '', 3); // I was not able to use get_items_tagged_with() because it automatically // tries to join on 'blog' table, since the itemtype is 'blog'. However blogs // uses the post table so this would not really work. if ($blogs = fetch_entries('', 10, 0, 'site', '', $tag->id)) { + echo ''; } print_box_end(); diff --git a/theme/standard/styles_layout.css b/theme/standard/styles_layout.css index 0d713d7a1a..2691e0d94e 100644 --- a/theme/standard/styles_layout.css +++ b/theme/standard/styles_layout.css @@ -2800,7 +2800,8 @@ h2.tag-heading { } -div#tag-description { +div#tag-description, +div#tag-blogs { width:95%; padding: 5px 5px 5px 5px; margin-left:auto;