mirror of
https://github.com/moodle/moodle.git
synced 2025-03-19 15:10:05 +01:00
MDL-19348 - "Site after submit" option is not clear to understand
This commit is contained in:
parent
76b6c644b2
commit
788b72a6a6
@ -193,6 +193,7 @@ $string['update_item'] = 'Save changes to question';
|
||||
$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['url_for_continue_button'] = 'URL for continue-button';
|
||||
$string['vertical'] = 'vertical';
|
||||
|
||||
?>
|
||||
|
3
lang/en_utf8/help/feedback/url_for_continue.html
Normal file
3
lang/en_utf8/help/feedback/url_for_continue.html
Normal file
@ -0,0 +1,3 @@
|
||||
<p>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.</p>
|
@ -77,11 +77,12 @@ class mod_feedback_mod_form extends moodleform_mod {
|
||||
//-------------------------------------------------------------------------------
|
||||
$mform->addElement('header', 'aftersubmithdr', get_string('after_submit', 'feedback'));
|
||||
|
||||
$mform->addElement('text', 'site_after_submit', get_string('site_after_submit', 'feedback'), array('size'=>'64','maxlength'=>'255'));
|
||||
$mform->setType('site_after_submit', PARAM_TEXT);
|
||||
|
||||
$mform->addElement('htmleditor', 'page_after_submit', get_string("page_after_submit", "feedback"), array('rows' => 20));
|
||||
$mform->setType('page_after_submit', PARAM_RAW);
|
||||
|
||||
$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'));
|
||||
//-------------------------------------------------------------------------------
|
||||
$this->standard_coursemodule_elements();
|
||||
//-------------------------------------------------------------------------------
|
||||
|
Loading…
x
Reference in New Issue
Block a user