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'))));
|
'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(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_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);
|
$ADMIN->add('appearance', $temp);
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
// This is compared against the values stored in the database to determine
|
// This is compared against the values stored in the database to determine
|
||||||
// whether upgrades should be performed (see lib/db/*.php)
|
// whether upgrades should be performed (see lib/db/*.php)
|
||||||
|
|
||||||
$version = 2006090300; // YYYYMMDD = date
|
$version = 2006090400; // YYYYMMDD = date
|
||||||
// XY = increments within a single day
|
// XY = increments within a single day
|
||||||
|
|
||||||
$release = '1.7 dev'; // Human-friendly version name
|
$release = '1.7 dev'; // Human-friendly version name
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue