mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 08:26:37 +02:00
"MDL-13224, select how many courses can be shown in mymoodle page"
This commit is contained in:
parent
8ef19a1ede
commit
ebb1a1e847
3 changed files with 7 additions and 2 deletions
|
@ -88,6 +88,7 @@ if ($hassiteconfig) { // speedup for non-admins, add all caps used on this page
|
|||
|
||||
$temp = new admin_settingpage('mymoodle', get_string('mymoodle', 'admin'));
|
||||
$temp->add(new admin_setting_configcheckbox('mymoodleredirect', get_string('mymoodleredirect', 'admin'), get_string('configmymoodleredirect', 'admin'), 0));
|
||||
$temp->add(new admin_setting_configtext('mycoursesperpage', get_string('mycoursesperpage', 'admin'), get_string('configmycoursesperpage', 'admin'), 21, PARAM_INT));
|
||||
$ADMIN->add('appearance', $temp);
|
||||
|
||||
// new CFG variable for coursemanager (what roles to display)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue