From: martin Date: Mon, 9 Sep 2002 15:50:55 +0000 (+0000) Subject: Tweak to modify interface a bit (changed header and made courses a link) X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=8e652a3660ed2f2a318d554b4f2673a41db2e75e;p=moodle.git Tweak to modify interface a bit (changed header and made courses a link) --- diff --git a/course/categories.php b/course/categories.php index 53018d14b2..7e01d51c3d 100644 --- a/course/categories.php +++ b/course/categories.php @@ -21,6 +21,7 @@ $strcourses = get_string("courses"); $stredit = get_string("edit"); $strdelete = get_string("delete"); + $straction = get_string("action"); $stradd = get_string("add"); print_header("$site->fullname: $strcategories", "$site->fullname", @@ -95,7 +96,7 @@ /// Print the table of all categories - $table->head = array ($strcategory, $strcourses, $strdelete); + $table->head = array ($strcategory, $strcourses, $straction); $table->align = array ("LEFT", "CENTER", "CENTER"); $table->size = array ("50", "20", "20"); $table->width = 100; @@ -109,7 +110,7 @@ $delete = "id\">$strdelete"; } $table->data[] = array ("id\" VALUE=\"$category->name\" SIZE=30>", - "$count", $delete); + "id\">$count", $delete); } $table->data[] = array ("", "", "$stradd"); print_table($table);