added new setting for allowvisiblecoursesinhiddencategories in appearance->front page

This commit is contained in:
toyomoyo 2006-12-06 07:57:54 +00:00
parent 6123004aaf
commit aec86ae027
2 changed files with 3 additions and 0 deletions

View File

@ -38,6 +38,7 @@ $temp->add(new admin_setting_sitesetselect('newsitems', get_string('newsitemsnum
'9' => '9',
'10' => '10')));
$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('configallowvisiblecoursesinhiddencategories', 'admin'), 0));
$ADMIN->add('appearance', $temp);
// calendar

View File

@ -14,6 +14,7 @@ $string['allowrenames'] = 'Allow renames';
$string['allowuserblockhiding'] = 'Allow users to hide blocks';
$string['allowusermailcharset'] = 'Allow user to select character set';
$string['allowuserthemes'] = 'Allow user themes';
$string['allowvisiblecoursesinhiddencategories'] = 'Allow visible courses in hidden categories';
$string['antivirus'] = 'Anti-Virus';
$string['appearance'] = 'Appearance';
$string['aspellpath'] = 'Path to aspell';
@ -51,6 +52,7 @@ $string['configallowuserblockhiding'] = 'Do you want to allow users to hide/show
$string['configallowusermailcharset'] = 'Enabling this, every user in the site will be able to specify his own charset for email.';
$string['configallowuserthemes'] = 'If you enable this, then users will be allowed to set their own themes. User themes override site themes (but not course themes)';
$string['configallusersaresitestudents'] = 'For activities on the front page of the site, should ALL users be considered as students? If you answer \"Yes\", then any confirmed user account will be allowed to participate as a student in those activities. If you answer \"No\", then only users who are already a participant in at least one course will be able to take part in those front page activities. Only admins and specially assigned teachers can act as teachers for these front page activities.';
$string['configallowvisiblecoursesinhiddencategories'] = 'Display courses in hidden categories normally';
$string['configautologinguests'] = 'Should visitors be logged in as guests automatically when entering courses with guest access?';
$string['configbloglevel'] = 'This setting allows you to restrict the level to which user blogs can be viewed on this site. Note that they specify the maximum context of the VIEWER not the poster or the types of blog posts. Blogs can also be disabled completely if you don\'t want them at all.';
$string['configcachetext'] = 'For larger sites or sites that use text filters, this setting can really speed things up. Copies of texts will be retained in their processed form for the time specified here. Setting this too small may actually slow things down slightly, but setting it too large may mean texts take too long to refresh (with new links, for example).';