$string['anonymous_entries'] = 'Anonymous entries';
$string['anonymous_user'] = 'Anonymous user';
$string['append_new_items'] = 'Append new items';
-$string['autonumbering'] = 'automated numbers for each question';
+$string['autonumbering'] = 'automated numbers';
+$string['autonumbering_hlp'] = 'enables or disables automated numbers for each question';
$string['average'] = 'Average';
$string['bold'] = 'Bold';
$string['cancel_moving'] = 'Cancel moving';
$string['edit_item'] = 'Edit question';
$string['edit_items'] = 'Edit questions';
$string['email_notification'] = 'Send e-mail notifications';
+$string['emailnotification'] = 'emailnotifications';
+$string['emailnotification_hlp'] = 'On the submission of a Feedback response, Administrators will receive email notification';
$string['emailteachermail'] = '{$a->username} has completed feedback activity : \'{$a->feedback}\'
You can view it here:
$string['mapcourse'] = 'Map course';
$string['mapcourseinfo'] = 'This is a sitewide feedback that is available to all courses using the feedback block. You can however limit the courses to which it will appear by mapping them. Search the course and map it to this feedback.';
$string['mapcoursenone'] = 'No courses mapped. Feedback available to all courses';
+$string['mapcourse'] = 'Map feedback to courses';
+$string['mapcourse_hlp'] = 'By default Feedback forms created on your Moodle main page are available site wide
+and will appear in all courses using the Feedback block. You can also force the Feedback
+to appear by making it a Sticky Block.<br />
+You can however limit the courses in which a Feedback form will appear by Mapping it
+to specific courses.
+';
$string['mapcourses'] = 'Map feedback to courses';
+$string['mapcourses_hlp'] = 'Once you have selected the relevant Course(s) and/or Programme(s) from your Search,
+you can associate them with this Feedback using Map Course(s). You can Ctrl select
+multiple Courses or Shift select a series of Courses.<br />
+You can disassociated a Course or Programme from a Feedback at any time.';
$string['mappedcourses'] = 'Mapped courses';
$string['max_args_exceeded'] = 'Max 6 arguments can be handled, too many arguments for';
$string['maximal'] = 'maximal';
$string['multichoicetype'] = 'Multiple choice type';
$string['multichoice_values'] = 'Multiple choice values';
$string['multiple_submit'] = 'Multiple submit';
+$string['multiplesubmit'] = 'Multiple submit';
+$string['multiplesubmit_hlp'] = 'For Anonymous polls Multiple Submit will allow unlimited answers for every user. Where a User\'s name is collected, Multiple Submit will allow them allow to resubmit their Feedback answers.';
$string['name'] = 'Name';
$string['name_required'] = 'Name required';
$string['next_page'] = 'Next page';
$string['saving_failed'] = 'Saving failed';
$string['saving_failed_because_missing_or_false_values'] = 'Saving failed because missing or false values';
$string['search_course'] = 'Search course';
+$string['searchcourses'] = 'Search courses';
+$string['searchcourses_hlp'] = 'Search for the Code or Name of the Course(s) that you wish to associate with this Feedback.';
$string['selected_dump'] = 'Selected indexes of $SESSION variable are dumped below:';
$string['separator_decimal'] = '.';
$string['separator_thousand'] = ',';
$string['textfield_maxlength'] = 'Maximum characters accepted';
$string['textfield_size'] = 'Textfield width';
$string['this_feedback_is_already_submitted'] = 'You\'ve already completed this activity.';
+$string['timeclose'] = 'time to close';
+$string['timeclose_hlp'] = 'You can specify times when the feedback is accessible for people to answer the questions.<br />
+At a time after this time here defined, the feedback will be unavailable.<br />
+If the checkbox is not selected so there is no limit defined.';
+$string['timeopen'] = 'time to open';
+$string['timeopen_hlp'] = 'You can specify times when the feedback is accessible for people to answer the questions.<br />
+At a time before this time here defined, the feedback will be unavailable.<br />
+If the checkbox is not selected so there is no limit defined.';
$string['typemissing'] = 'missing value "type"';
$string['update_item'] = 'Save changes to question';
+$string['url_for_continue'] = 'URL for continue-button';
+$string['url_for_continue_hlp'] = 'By default after a feedback is submitted the target of the
+continue button is the course page.<br />
+You can define here another target url for this continue-button.';
$string['url_for_continue_button'] = 'URL for continue-button';
$string['use_one_line_for_each_value'] = '<br />Use one line for each answer!';
$string['use_this_template'] = 'Use this template';
$string['using_templates'] = 'Use a template';
$string['vertical'] = 'vertical';
+$string['viewcompleted'] = 'completed feedbacks';
+$string['viewcompleted_hlp'] = 'You may view completed Feedback forms, searchable by Course and/or by Question.
+Feedback responses may be exported to Excel.';
echo ' ' . get_string('courses') . ': ';
echo html_writer::select($courses, 'coursefilter', $coursefilter);
echo '<input type="submit" value="'.get_string('mapcourse', 'feedback').'"/>';
- echo $OUTPUT->old_help_icon('mapcourses', '', 'feedback', true);
+ echo $OUTPUT->help_icon('mapcourses', 'feedback');
echo '<input type="button" value="'.get_string('searchagain').'" onclick="document.location=\'mapcourse.php?id='.$id.'\'"/>';
echo '<input type="hidden" name="searchcourse" value="'.$searchcourse.'"/>';
echo '<input type="hidden" name="feedbackid" value="'.$feedback->id.'"/>';
- echo $OUTPUT->old_help_icon('searchcourses', '', 'feedback', true);
+ echo $OUTPUT->help_icon('searchcourses', 'feedback');
} else {
echo '<input type="text" name="searchcourse" value="'.$searchcourse.'"/> <input type="submit" value="'.get_string('searchcourses').'"/>';
- echo $OUTPUT->old_help_icon('searchcourses', '', 'feedback', true);
+ echo $OUTPUT->help_icon('searchcourses', 'feedback');
}
echo '</form>';
$enableopengroup[] =& $mform->createElement('checkbox', 'openenable', get_string('feedbackopen', 'feedback'));
$enableopengroup[] =& $mform->createElement('date_time_selector', 'timeopen', '');
$mform->addGroup($enableopengroup, 'enableopengroup', get_string('feedbackopen', 'feedback'), ' ', false);
- $mform->setHelpButton('enableopengroup', array('timeopen', get_string('feedbackopens', 'feedback'), 'feedback'));
+ $mform->addHelpButton('enableopengroup', 'timeopen', 'feedback');
$mform->disabledIf('enableopengroup', 'openenable', 'notchecked');
$enableclosegroup = array();
$enableclosegroup[] =& $mform->createElement('checkbox', 'closeenable', get_string('feedbackclose', 'feedback'));
$enableclosegroup[] =& $mform->createElement('date_time_selector', 'timeclose', '');
$mform->addGroup($enableclosegroup, 'enableclosegroup', get_string('feedbackclose', 'feedback'), ' ', false);
- $mform->setHelpButton('enableclosegroup', array('timeclose', get_string('feedbackcloses', 'feedback'), 'feedback'));
+ $mform->addHelpButton('enableclosegroup', 'timeclose', 'feedback');
$mform->disabledIf('enableclosegroup', 'closeenable', 'notchecked');
//-------------------------------------------------------------------------------
$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'));
+ $mform->addHelpButton('email_notification', 'emailnotification', 'feedback');
// check if there is existing responses to this feedback
if (is_numeric($this->_instance) AND $this->_instance and $feedback = $DB->get_record("feedback", array("id"=>$this->_instance))) {
$mform->addElement('text', 'multiple_submit_static', get_string('multiple_submit', 'feedback'), array('size'=>'4','disabled'=>'disabled', 'value'=>$multiple_submit_value));
$mform->addElement('hidden', 'multiple_submit', '');
$mform->setType('', PARAM_INT);
- $mform->setHelpButton('multiple_submit_static', array('multiplesubmit', get_string('multiple_submit', 'feedback'), 'feedback'));
+ $mform->addHelpButton('multiple_submit_static', 'multiplesubmit', 'feedback');
}else {
$mform->addElement('selectyesno', 'multiple_submit', get_string('multiple_submit', 'feedback'));
- $mform->setHelpButton('multiple_submit', array('multiplesubmit', get_string('multiple_submit', 'feedback'), 'feedback'));
+ $mform->addHelpButton('multiple_submit', 'multiplesubmit', 'feedback');
}
$mform->addElement('selectyesno', 'autonumbering', get_string('autonumbering', 'feedback'));
- $mform->setHelpButton('autonumbering', array('autonumbering', get_string('autonumbering', 'feedback'), 'feedback'));
+ $mform->addHelpButton('autonumbering', 'autonumbering', 'feedback');
//-------------------------------------------------------------------------------
$mform->addElement('header', 'aftersubmithdr', get_string('after_submit', 'feedback'));
$mform->addElement('text', 'site_after_submit', get_string('url_for_continue_button', 'feedback'), array('size'=>'64','maxlength'=>'255'));
$mform->setType('site_after_submit', PARAM_TEXT);
- $mform->setHelpButton('site_after_submit', array('url_for_continue', get_string('url_for_continue_button', 'feedback'), 'feedback'));
+ $mform->addHelpButton('site_after_submit', 'url_for_continue', 'feedback');
//-------------------------------------------------------------------------------
$this->standard_coursemodule_elements();
//-------------------------------------------------------------------------------
$analysisurl = new moodle_url('/mod/feedback/analysis_course.php', array('id'=>$id, 'courseid'=>$courseid));
echo '<div class="mdl-align"><a href="'.$analysisurl->out().'">';
echo get_string('course') .' '. get_string('analysis', 'feedback') . ' ('.get_string('completed_feedbacks', 'feedback').': '.intval($completedFeedbackCount).')</a>';
- echo $OUTPUT->old_help_icon('viewcompleted', '', 'feedback', true);
+ echo $OUTPUT->help_icon('viewcompleted', 'feedback');
echo '</div>';
}else {
$analysisurl = new moodle_url('/mod/feedback/analysis.php', array('id'=>$id, 'courseid'=>$courseid));
echo '<input type="hidden" name="sesskey" value="'.sesskey().'" />';
echo '<input type="hidden" name="id" value="'.$id.'" />';
echo '<button type="submit">'.get_string('mapcourses', 'feedback').'</button>';
- echo $OUTPUT->old_help_icon('mapcourse', '', 'feedback', true);
+ echo $OUTPUT->help_icon('mapcourse', 'feedback');
echo '</form>';
echo '<br />';
echo '</div>';