From: mchurch Date: Mon, 25 Jun 2007 20:50:17 +0000 (+0000) Subject: Fixing update_group_button and update_groups_button. They were no longer calling... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=12c1f0abea5bf02b084d12d0a9ada99bd26e2da2;p=moodle.git Fixing update_group_button and update_groups_button. They were no longer calling valid URL's. --- diff --git a/lib/weblib.php b/lib/weblib.php index 6604a6af7c..5c14d54a8e 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -4553,10 +4553,11 @@ function update_group_button($courseid, $groupid) { if (has_capability('moodle/course:managegroups', get_context_instance(CONTEXT_GROUP, $groupid))) { $string = get_string('editgroupprofile'); - return "
frametarget method=\"get\" action=\"$CFG->wwwroot/course/group.php\">". + return "frametarget method=\"get\" action=\"$CFG->wwwroot/group/edit.php\">". '
'. - ''. - ''. + ''. + ''. + ''. ''. '
'; } @@ -4583,7 +4584,7 @@ function update_groups_button($courseid) { $edit = 'on'; } - return "
frametarget method=\"get\" action=\"$CFG->wwwroot/course/groups.php\">". + return "frametarget method=\"get\" action=\"$CFG->wwwroot/group/index.php\">". '
'. "". "".