"MDL-21947, fixed commentsperpage option"

This commit is contained in:
Dongsheng Cai
2010-03-29 05:34:50 +00:00
parent c794595d5f
commit cf456fbf6c
2 changed files with 3 additions and 0 deletions
+2
View File
@@ -54,6 +54,8 @@ if (!during_initial_install()) { //do not use during installation
'8' => '8',
'9' => '9',
'10' => '10')));
$temp->add(new admin_setting_configtext('commentsperpage', get_string('commentsperpage', 'admin'), '', 15, PARAM_INT));
$temp->add(new admin_setting_configtext('coursesperpage', get_string('coursesperpage', 'admin'), get_string('configcoursesperpage', 'admin'), 20, PARAM_INT));
$temp->add(new admin_setting_configcheckbox('allowvisiblecoursesinhiddencategories', get_string('allowvisiblecoursesinhiddencategories', 'admin'), get_string('configvisiblecourses', 'admin'), 0));
+1
View File
@@ -81,6 +81,7 @@ $string['clitypevaluedefault'] = 'type value, press Enter to use default value (
$string['cliupgradefinished'] = 'Command line upgrade completed successfully.';
$string['cliyesnoprompt'] = 'type y (means yes) or n (means no)';
$string['cliunknowoption'] = "Unrecognized options:\n \$a\n. Please use --help option.";
$string['commentsperpage'] = 'Comments displayed per page';
$string['commonfiltersettings'] = 'Common filter settings';
$string['commonsettings'] = 'Common settings';
$string['componentinstalled'] = 'Component Installed';