dev:changes in notes settings
Showing
2 changed files
with
4 additions
and
4 deletions
... | @@ -747,7 +747,7 @@ define(['jquery', 'core/yui', 'core/str', 'core/config', 'core/notification'], f | ... | @@ -747,7 +747,7 @@ define(['jquery', 'core/yui', 'core/str', 'core/config', 'core/notification'], f |
747 | 747 | ||
748 | panel = new M.core.dialogue({ | 748 | panel = new M.core.dialogue({ |
749 | width: '300px', | 749 | width: '300px', |
750 | draggable: false, | 750 | draggable: true, |
751 | modal: true, | 751 | modal: true, |
752 | closeButton: true, | 752 | closeButton: true, |
753 | headerContent: M.util.get_string('mynotes', 'block_mynotes'), | 753 | headerContent: M.util.get_string('mynotes', 'block_mynotes'), | ... | ... |
... | @@ -26,14 +26,14 @@ defined('MOODLE_INTERNAL') || die; | ... | @@ -26,14 +26,14 @@ defined('MOODLE_INTERNAL') || die; |
26 | if ($ADMIN->fulltree) { | 26 | if ($ADMIN->fulltree) { |
27 | 27 | ||
28 | $perpageoptions = array(); | 28 | $perpageoptions = array(); |
29 | for ($i = 1; $i < 30; $i++) { | 29 | for ($i = 1; $i < 50; $i++) { |
30 | $perpageoptions[$i] = $i; | 30 | $perpageoptions[$i] = $i; |
31 | } | 31 | } |
32 | $settings->add(new admin_setting_configselect('block_mynotes/mynotesperpage', get_string('mynotesperpage', 'block_mynotes'), | 32 | $settings->add(new admin_setting_configselect('block_mynotes/mynotesperpage', get_string('mynotesperpage', 'block_mynotes'), |
33 | get_string('mynotesperpage_help', 'block_mynotes'), 20, $perpageoptions)); | 33 | get_string('mynotesperpage_help', 'block_mynotes'), 48, $perpageoptions)); |
34 | 34 | ||
35 | $settings->add(new admin_setting_configtext('block_mynotes/characterlimit', get_string('characterlimit', 'block_mynotes'), | 35 | $settings->add(new admin_setting_configtext('block_mynotes/characterlimit', get_string('characterlimit', 'block_mynotes'), |
36 | get_string('characterlimit_help', 'block_mynotes'), 450, PARAM_INT, 3)); | 36 | get_string('characterlimit_help', 'block_mynotes'), 500, PARAM_INT, 3)); |
37 | 37 | ||
38 | $positionoptions = array(); | 38 | $positionoptions = array(); |
39 | $positionoptions['mynotes-pos-rb'] = get_string('bottomright', 'block_mynotes'); | 39 | $positionoptions['mynotes-pos-rb'] = get_string('bottomright', 'block_mynotes'); | ... | ... |
-
Please register or sign in to post a comment