Clean up of terminology course categories and courses

This commit is contained in:
moodler
2004-02-20 12:56:17 +00:00
parent 352d94cf37
commit c0b85daf7b
2 changed files with 9 additions and 5 deletions
+5 -3
View File
@@ -73,11 +73,11 @@
"", "", true, $navbaritem);
} else {
print_header("$site->shortname: $category->name", "$site->fullname",
"<a href=\"index.php\">$strcourses</a> -> $category->name", "", "", true, $navbaritem);
"<a href=\"index.php\">$strcategories</a> -> $category->name", "", "", true, $navbaritem);
}
} else {
print_header("$site->shortname: $category->name", "$site->fullname",
"<a href=\"index.php\">$strcourses</a> -> $category->name", "", "", true, $navbaritem);
"<a href=\"index.php\">$strcategories</a> -> $category->name", "", "", true, $navbaritem);
}
@@ -88,7 +88,9 @@
make_categories_list($displaylist, $parentlist, "");
echo "<table align=center><tr><td>";
echo "<table align=center><tr><td align=\"right\">";
echo "<p>$strcategories:</p>";
echo "</td><td>";
popup_form("category.php?id=", $displaylist, "switchcategory", "$category->id", "", "", "", false);
echo "</td></tr></table><br />";
+4 -2
View File
@@ -33,8 +33,10 @@
if ($countcategories > 1) {
$strcourses = get_string("courses");
print_header($strcourses, $strcourses, $strcourses, "", "", true, update_categories_button());
print_heading(get_string("categories"));
$strcategories = get_string("categories");
print_header("$site->shortname: $strcategories", $strcourses,
$strcategories, "", "", true, update_categories_button());
print_heading($strcategories);
print_simple_box_start("center", "50%", "#FFFFFF", 5, "categorybox");
print_whole_category_list();
print_simple_box_end();