mirror of
https://github.com/moodle/moodle.git
synced 2025-01-30 03:58:34 +01:00
Added coursesperpage so paging can be controlled
This commit is contained in:
parent
61647ccb92
commit
42093cca5c
@ -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);
|
||||
|
||||
|
||||
|
@ -6,7 +6,7 @@
|
||||
// This is compared against the values stored in the database to determine
|
||||
// whether upgrades should be performed (see lib/db/*.php)
|
||||
|
||||
$version = 2006090300; // YYYYMMDD = date
|
||||
$version = 2006090400; // YYYYMMDD = date
|
||||
// XY = increments within a single day
|
||||
|
||||
$release = '1.7 dev'; // Human-friendly version name
|
||||
|
Loading…
x
Reference in New Issue
Block a user