Added coursesperpage so paging can be controlled

This commit is contained in:
moodler 2006-09-05 03:28:25 +00:00
parent 61647ccb92
commit 42093cca5c
2 changed files with 2 additions and 1 deletions

View File

@ -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);

View File

@ -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