]> git.mjollnir.org Git - moodle.git/commitdiff
Tweak to modify interface a bit (changed header and made courses a link)
authormartin <martin>
Mon, 9 Sep 2002 15:50:55 +0000 (15:50 +0000)
committermartin <martin>
Mon, 9 Sep 2002 15:50:55 +0000 (15:50 +0000)
course/categories.php

index 53018d14b28eb2277791771694aab35907f37b38..7e01d51c3dd94346c516d7b2197add249cc49916 100644 (file)
@@ -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;
             $delete = "<A HREF=\"categories.php?delete=$category->id\">$strdelete</A>";
         }
         $table->data[] = array ("<INPUT TYPE=text NAME=\"c$category->id\" VALUE=\"$category->name\" SIZE=30>",
-                                "$count", $delete);
+                                "<A HREF=\"index.php?category=$category->id\">$count</A>", $delete);
     }
     $table->data[] = array ("<INPUT TYPE=text NAME=\"new\" VALUE=\"\" SIZE=30>", "", "$stradd");
     print_table($table);