From 7ac32c7087289f9c297062fc786289fdb1447ef2 Mon Sep 17 00:00:00 2001 From: agrabs <agrabs> Date: Sun, 22 Jun 2008 18:06:14 +0000 Subject: [PATCH] MDL-14780 Show analysis to students setting does not reflect roles aliases --- lang/en_utf8/feedback.php | 2 +- mod/feedback/mod_form.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lang/en_utf8/feedback.php b/lang/en_utf8/feedback.php index 18d54ef83e6..759c74340c3 100644 --- a/lang/en_utf8/feedback.php +++ b/lang/en_utf8/feedback.php @@ -134,7 +134,6 @@ $string['position'] = 'Position'; $string['preview'] = 'Preview'; $string['previous_page'] = 'Previous page'; $string['public'] = 'Public'; -$string['publish_stats_on_students'] = 'Show analysis to students'; $string['question'] = 'Question'; $string['questions'] = 'Questions'; $string['radio'] = 'Multiple choice - single answer';; @@ -159,6 +158,7 @@ $string['selected_dump']='Selected indexes of \$SESSION variable are dumped belo $string['separator_decimal'] = '.'; $string['separator_thousand'] = ','; $string['show_all'] = 'Show all'; +$string['show_analysepage_after_submit'] = 'Show analysepage after submit'; $string['show_entries'] = 'Show responses'; $string['show_entry'] = 'Show response'; $string['site_after_submit'] = 'Site after submit'; diff --git a/mod/feedback/mod_form.php b/mod/feedback/mod_form.php index 457cde73367..a96dc11d65c 100644 --- a/mod/feedback/mod_form.php +++ b/mod/feedback/mod_form.php @@ -53,7 +53,7 @@ class mod_feedback_mod_form extends moodleform_mod { $options[2] = get_string('non_anonymous', 'feedback'); $mform->addElement('select', 'anonymous', get_string('anonymous_edit', 'feedback'), $options); - $mform->addElement('selectyesno', 'publish_stats', get_string('publish_stats_on_students', 'feedback')); + $mform->addElement('selectyesno', 'publish_stats', get_string('show_analysepage_after_submit', 'feedback')); $mform->addElement('selectyesno', 'email_notification', get_string('email_notification', 'feedback')); $mform->setHelpButton('email_notification', array('emailnotification', get_string('email_notification', 'feedback'), 'feedback'));