Clean up of terminology course categories and courses
This commit is contained in:
+5
-3
@@ -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
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user