Merge branch 'MDL-65987-master' of git://github.com/andrewnicols/moodle
This commit is contained in:
@@ -1842,6 +1842,7 @@ $string['shortnameuser'] = 'User short name';
|
||||
$string['shortsitename'] = 'Short name for site (eg single word)';
|
||||
$string['show'] = 'Show';
|
||||
$string['showactions'] = 'Show actions';
|
||||
$string['showadvancededitor'] = 'Advanced';
|
||||
$string['showadvancedsettings'] = 'Show advanced settings';
|
||||
$string['showall'] = 'Show all {$a}';
|
||||
$string['showallcourses'] = 'Show all courses';
|
||||
|
||||
@@ -291,7 +291,7 @@ class mod_forum_post_form extends moodleform {
|
||||
// Additional attribs to handle collapsible div.
|
||||
['data-toggle' => 'collapse', 'data-target' => "#collapseAddForm"]);
|
||||
$buttonarray[] = &$mform->createElement('submit', 'advancedadddiscussion',
|
||||
get_string('advanced'), null, null, ['customclassoverride' => 'btn-link']);
|
||||
get_string('showadvancededitor'), null, null, ['customclassoverride' => 'btn-link']);
|
||||
|
||||
$mform->addGroup($buttonarray, 'buttonar', '', array(' '), false);
|
||||
$mform->closeHeaderBefore('buttonar');
|
||||
|
||||
@@ -435,7 +435,7 @@ class behat_mod_forum extends behat_base {
|
||||
// Navigate to forum.
|
||||
$this->execute('behat_general::click_link', $this->escape($forumname));
|
||||
$this->execute('behat_general::click_link', $buttonstr);
|
||||
$this->execute('behat_forms::press_button', get_string('advanced'));
|
||||
$this->execute('behat_forms::press_button', get_string('showadvancededitor'));
|
||||
|
||||
$this->fill_new_discussion_form($table);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user