]> git.mjollnir.org Git - moodle.git/commitdiff
Bug #6168 - missing link for course request - fixed; merged from MOODLE_16_STABLE
authorskodak <skodak>
Mon, 31 Jul 2006 09:18:52 +0000 (09:18 +0000)
committerskodak <skodak>
Mon, 31 Jul 2006 09:18:52 +0000 (09:18 +0000)
course/index.php

index 74a7ec9c75bd449e9c32204368d0eb3e7e256965..a5debf2b6c55723dea98f6ce7b17914a3666d7da 100644 (file)
@@ -56,6 +56,9 @@
         }
 
         echo "<center>";
+        if (isloggedin() and !isguest() and !isadmin() and !iscreator()) {  // Print link to request a new course
+            print_single_button("request.php", NULL, get_string("courserequest"), "get");
+        }
         if (iscreator()) {       // Print link to create a new course
             print_single_button("edit.php", NULL, get_string("addnewcourse"), "get");
         }