Index: lang/en_utf8/quiz_overview.php =================================================================== RCS file: /cvsroot/moodle/moodle/lang/en_utf8/quiz_overview.php,v retrieving revision 1.17 diff -u -r1.17 quiz_overview.php --- lang/en_utf8/quiz_overview.php 26 Aug 2008 09:01:41 -0000 1.17 +++ lang/en_utf8/quiz_overview.php 12 Sep 2008 08:30:01 -0000 @@ -50,4 +50,5 @@ $string['showinggradedandungraded'] = 'Showing graded and ungraded attempts for each user. The one attempt for each user that is graded is highlighted. The grading method for this quiz is $a.'; $string['showdetailedmarks'] = 'Show / download marks for each question'; $string['studentingroup'] = '\'$a->coursestudent\' in group \'$a->groupname\''; +$string['studentingrouplong'] = '\'$a->coursestudent\' in this group'; // ou-specific ends ?> Index: mod/quiz/report/overview/overviewsettings_form.php =================================================================== RCS file: /cvsroot/moodle/moodle/mod/quiz/report/overview/overviewsettings_form.php,v retrieving revision 1.8 diff -u -r1.8 overviewsettings_form.php --- mod/quiz/report/overview/overviewsettings_form.php 15 Aug 2008 09:59:55 -0000 1.8 +++ mod/quiz/report/overview/overviewsettings_form.php 12 Sep 2008 08:30:01 -0000 @@ -14,7 +14,11 @@ $a = new object(); $a->coursestudent = $COURSE->students; $a->groupname = groups_get_group_name($this->_customdata['currentgroup']); - $studentsstring = get_string('studentingroup', 'quiz_overview', $a); + if (20 < strlen($a->groupname)){ + $studentsstring = get_string('studentingrouplong', 'quiz_overview', $a); + } else { + $studentsstring = get_string('studentingroup', 'quiz_overview', $a); + } } $options = array(); if (!$this->_customdata['currentgroup']){