moodle/lib/defaults.php
moodler 32e2b30209 This more or less completes the PHP side of the 1.5 themes
Added $user->theme and $course->theme choices, controlled by admin
variables on the main config variables page.

By default this is all turned off, since multiple themes can be
a little disorienting.

A hidden feature is session themes ... you can change the theme
on any page by passing theme=xxxx as a parameter.  By default this
requires sesskey (so that people don't change theme on each other),
but this security can be switched off using a hidden variable
$CFG->allowthemechangeonurl = true;   Good for quick tests.
2005-02-10 10:28:27 +00:00

79 lines
3.5 KiB
PHP

<?php // $Id$
// This file is generally only included from admin/index.php
// It defines default values for any important configuration variables
$defaults = array (
'allowunenroll' => true,
'allowcoursethemes' => false,
'allowuserthemes' => false,
'allusersaresitestudents' => true,
'auth' => 'email',
'auth_pop3mailbox' => 'INBOX',
'autologinguests' => 0,
'cachetext' => 60,
'changepassword' => true,
'country' => '',
'dbsessions' => false,
'debug' => 7,
'deleteunconfirmed' => 168,
'digestmailtime' => 17,
'displayloginfailures' => '',
'enablerssfeeds' => 0,
'enrol' => 'internal',
'extendedusernamechars' => false,
'editorbackgroundcolor' => '#ffffff',
'editorfontfamily' => 'Trebuchet MS,Verdana,Arial,Helvetica,sans-serif',
'editorfontsize' => '',
'editorkillword' => 1,
'editorspelling' => 0,
'editorfontlist' => 'Trebuchet:Trebuchet MS,Verdana,Arial,Helvetica,sans-serif;Arial:arial,helvetica,sans-serif;Courier New:courier new,courier,monospace;Georgia:georgia,times new roman,times,serif;Tahoma:tahoma,arial,helvetica,sans-serif;Times New Roman:times new roman,times,serif;Verdana:verdana,arial,helvetica,sans-serif;Impact:impact;Wingdings:wingdings',
'editorhidebuttons' => '',
'filteruploadedfiles' => true,
'forcelogin' => false,
'forceloginforprofiles' => false,
'fullnamedisplay' => 'firstname lastname',
'framename' => '_top',
'frontpage' => 0,
'gdversion' => 1,
'guestloginbutton' => 1,
'htmleditor' => true,
'lang' => 'en',
'langmenu' => 1,
'langlist' => '',
'locale' => 'en',
'loginhttps' => false,
'loglifetime' => 0,
'longtimenosee' => 100,
'maxbytes' => 0,
'maxeditingtime' => 1800,
'messaging' => true,
'noreplyaddress' => 'noreply@'.$_SERVER['HTTP_HOST'],
'notifyloginfailures' => '',
'notifyloginthreshold' => 10,
'opentogoogle' => false,
'prefix' => '',
'proxyhost' => '',
'proxyport' => '',
'secureforms' => false,
'sessioncookie' => '',
'sessiontimeout' => 7200,
'showsiteparticipantslist' => 0,
'sitepolicy' => '',
'slasharguments' => 1,
'smtphosts' => '',
'smtppass' => '',
'smtpuser' => '',
'style' => 'default',
'teacherassignteachers' => true,
'template' => 'default',
'textfilters' => 'mod/glossary/dynalink.php',
'themelist' => '',
'timezone' => 99,
'theme' => 'standard',
'unzip' => '',
'zip' => ''
);
?>