Fixed up some layout issues XHTML

This commit is contained in:
moodler 2007-08-16 07:35:44 +00:00
parent 63ddad295a
commit bafc13f9aa
2 changed files with 6 additions and 4 deletions

View 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);

View 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);
}