]> git.mjollnir.org Git - moodle.git/commitdiff
Just tidying
authormoodler <moodler>
Fri, 15 Sep 2006 12:53:23 +0000 (12:53 +0000)
committermoodler <moodler>
Fri, 15 Sep 2006 12:53:23 +0000 (12:53 +0000)
admin/settings/appearance.php

index cc300bc3a17d476e9ebf9f5a8ec8c4eade2403ce..6af5403493c40c1596db83ae27ac512e4b2e78aa 100644 (file)
@@ -17,23 +17,26 @@ $ADMIN->add('themes', new admin_externalpage('themeselector', get_string('themes
 
 // "frontpage" settingpage
 $temp = new admin_settingpage('frontpage', get_string('frontpage','admin'));
-$temp->add(new admin_setting_sitesettext('fullname', get_string('fullsitename'), get_string('fullsitenamehelp'), '', PARAM_NOTAGS));
-$temp->add(new admin_setting_sitesettext('shortname', get_string('shortsitename'), get_string('shortsitenamehelp'), '', PARAM_NOTAGS));
+$temp->add(new admin_setting_sitesettext('fullname', get_string('fullsitename'), '', '', PARAM_NOTAGS));
+$temp->add(new admin_setting_sitesettext('shortname', get_string('shortsitename'), '', PARAM_NOTAGS));
 $temp->add(new admin_setting_special_frontpagedesc());
-$temp->add(new admin_setting_sitesetcheckbox('numsections', get_string('sitesection'), get_string('sitesectionhelp'), 1));
-$temp->add(new admin_setting_sitesetselect('newsitems', get_string('newsitemsnumber'), get_string('newsitemsnumberhelp'), 3, array('0' => '0 ' . get_string('newsitems'),
-                                                                                                                                '1' => '1 ' . get_string('newsitem'),
-                                                                                                                                '2' => '2 ' . get_string('newsitems'),
-                                                                                                                                '3' => '3 ' . get_string('newsitems'),
-                                                                                                                                '4' => '4 ' . get_string('newsitems'),
-                                                                                                                                '5' => '5 ' . get_string('newsitems'),
-                                                                                                                                '6' => '6 ' . get_string('newsitems'),
-                                                                                                                                '7' => '7 ' . get_string('newsitems'),
-                                                                                                                                '8' => '8 ' . get_string('newsitems'),
-                                                                                                                                '9' => '9 ' . 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(true)); // loggedin version of the setting
+$temp->add(new admin_setting_sitesetcheckbox('numsections', get_string('sitesection'), 
+               get_string('sitesectionhelp','admin'), 1));
+$temp->add(new admin_setting_sitesetselect('newsitems', get_string('newsitemsnumber'), 
+     '', 3, 
+     array('0' => '0',
+           '1' => '1',
+           '2' => '2',
+           '3' => '3',
+           '4' => '4',
+           '5' => '5',
+           '6' => '6',
+           '7' => '7',
+           '8' => '8',
+           '9' => '9',
+           '10' => '10')));
 $temp->add(new admin_setting_configtext('coursesperpage', get_string('coursesperpage', 'admin'), get_string('configcoursesperpage', 'admin'), '20', PARAM_INT));
 $ADMIN->add('appearance', $temp);