88068283 by logesh

dev:changes in notes settings

1 parent bbb7b480
......@@ -747,7 +747,7 @@ define(['jquery', 'core/yui', 'core/str', 'core/config', 'core/notification'], f
panel = new M.core.dialogue({
width: '300px',
draggable: false,
draggable: true,
modal: true,
closeButton: true,
headerContent: M.util.get_string('mynotes', 'block_mynotes'),
......
......@@ -26,14 +26,14 @@ defined('MOODLE_INTERNAL') || die;
if ($ADMIN->fulltree) {
$perpageoptions = array();
for ($i = 1; $i < 30; $i++) {
for ($i = 1; $i < 50; $i++) {
$perpageoptions[$i] = $i;
}
$settings->add(new admin_setting_configselect('block_mynotes/mynotesperpage', get_string('mynotesperpage', 'block_mynotes'),
get_string('mynotesperpage_help', 'block_mynotes'), 20, $perpageoptions));
get_string('mynotesperpage_help', 'block_mynotes'), 48, $perpageoptions));
$settings->add(new admin_setting_configtext('block_mynotes/characterlimit', get_string('characterlimit', 'block_mynotes'),
get_string('characterlimit_help', 'block_mynotes'), 450, PARAM_INT, 3));
get_string('characterlimit_help', 'block_mynotes'), 500, PARAM_INT, 3));
$positionoptions = array();
$positionoptions['mynotes-pos-rb'] = get_string('bottomright', 'block_mynotes');
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!