]> git.mjollnir.org Git - moodle.git/commitdiff
Fixed up some layout issues XHTML
authormoodler <moodler>
Thu, 16 Aug 2007 07:35:44 +0000 (07:35 +0000)
committermoodler <moodler>
Thu, 16 Aug 2007 07:35:44 +0000 (07:35 +0000)
tag/index.php
tag/lib.php

index d3c60a57e22baf84b5588ecc5c3c3d9871eb1d04..1c5719d4bdabdc4a760161afabb3d6cd181dcd5e 100644 (file)
@@ -64,6 +64,8 @@ if ($tag->flag > 0 && has_capability('moodle/tag:manage', $systemcontext)) {
 
 print_heading($tagname, '', 2, 'headingblock header tag-heading');
 
+print_tag_management_box($tag);
+
 print_tag_description_box($tag);
 
 
index 572bd91fe492030d7b9f36d7cf11a274a3e27f86..f403f5531720373ae17fcf6217eb2020e1da35f9 100644 (file)
@@ -1146,18 +1146,18 @@ function print_tag_description_box($tag_object) {
     $tagname  = tag_display_name($tag_object);
     $related_tags =  related_tags($tag_object->id); //get_item_tags('tags',$tag_object->id);
 
-    print_box_start('generalbox', 'tag-description');
 
-    print_tag_management_box($tag_object);
+    print_box_start('generalbox', 'tag-description');
     
     if (!empty($tag_object->description)) {
-        echo format_text($tag_object->description, $tag_object->descriptionformat );
+        $options = new object;
+        $options->para=false;
+        echo format_text($tag_object->description, $tag_object->descriptionformat, $options );
     }
     else {
         echo format_text(get_string('thistaghasnodesc','tag'));
     }
 
-
     if ($related_tags) {
         echo '<br/><br/><b>'.get_string('relatedtags','tag').': </b>' . tag_links_csv($related_tags);
     }