]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-9041
authornicolasconnault <nicolasconnault>
Mon, 26 Mar 2007 09:28:58 +0000 (09:28 +0000)
committernicolasconnault <nicolasconnault>
Mon, 26 Mar 2007 09:28:58 +0000 (09:28 +0000)
user/index.php

index 34aaa8bf3b79af203ae13032177ee091d7a09e7c..853a22a49df4459466208b625481047fe4cd3221 100644 (file)
         $rolenames = array(0 => get_string('all')) + $rolenames;
         popup_form("$CFG->wwwroot/user/index.php?contextid=$context->id&amp;sifirst=&amp;silast=&amp;roleid=", $rolenames,
                    'rolesform', $roleid, '');
+        // Link to Groups page
+        echo "\n".'<input type="button" onclick="window.location=\'' . $CFG->wwwroot . '/group/index.php?id='
+                . $course->id . '\';" value="' . get_string('groups') . '" />';
         echo '</div>';
     }
 
         echo '</div>';
         echo '</div>';
         echo '</form>';
+
     }
 
     if ($bulkoperations && $totalcount > ($perpage*3)) {