From: moodler Date: Fri, 15 Sep 2006 12:53:23 +0000 (+0000) Subject: Just tidying X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=2febd88e67b1ddb48a9936f2e557055c2985a627;p=moodle.git Just tidying --- diff --git a/admin/settings/appearance.php b/admin/settings/appearance.php index cc300bc3a1..6af5403493 100644 --- a/admin/settings/appearance.php +++ b/admin/settings/appearance.php @@ -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);