MDL-4655 course: Number of courses with summaries to display is configurable

This commit is contained in:
Frederic Massart 2012-10-04 17:07:58 +08:00
parent ecfe814e0f
commit 3b7bfbb5b8
5 changed files with 22 additions and 8 deletions

View file

@ -49,8 +49,6 @@ if (!during_initial_install()) { //do not use during installation
'10' => '10')));
$temp->add(new admin_setting_configtext('commentsperpage', new lang_string('commentsperpage', 'admin'), '', 15, PARAM_INT));
$temp->add(new admin_setting_configtext('coursesperpage', new lang_string('coursesperpage', 'admin'), new lang_string('configcoursesperpage', 'admin'), 20, PARAM_INT));
// front page default role
$options = array(0=>new lang_string('none')); // roles to choose from
$defaultfrontpageroleid = 0;