mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
Added coursesperpage so paging can be controlled
This commit is contained in:
parent
61647ccb92
commit
42093cca5c
2 changed files with 2 additions and 1 deletions
|
@ -34,6 +34,7 @@ $temp->add(new admin_setting_sitesetselect('newsitems', get_string('newsitemsnum
|
|||
'10' => '10 ' . get_string('newsitems'))));
|
||||
$temp->add(new admin_setting_courselist_frontpage(false)); // non-loggedin version of the setting (that's what the parameter is for :) )
|
||||
$temp->add(new admin_setting_courselist_frontpage(true)); // loggedin version of the setting
|
||||
$temp->add(new admin_setting_configtext('coursesperpage', get_string('coursesperpage', 'admin'), get_string('configcoursesperpage', 'admin'), '20', PARAM_INT));
|
||||
$ADMIN->add('appearance', $temp);
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue