From: Petr Skoda Date: Fri, 25 Dec 2009 22:47:41 +0000 (+0000) Subject: MDL-21189 yui combined file loading admin setting X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=84d6e8323dfbc8169b5f9ca7a20ac71fccf65272;p=moodle.git MDL-21189 yui combined file loading admin setting --- diff --git a/admin/settings/appearance.php b/admin/settings/appearance.php index 180c98dc02..4cf9db0f7e 100644 --- a/admin/settings/appearance.php +++ b/admin/settings/appearance.php @@ -135,6 +135,7 @@ if ($hassiteconfig) { // speedup for non-admins, add all caps used on this page $temp = new admin_settingpage('ajax', get_string('ajaxuse')); $temp->add(new admin_setting_configcheckbox('enableajax', get_string('enableajax', 'admin'), get_string('configenableajax', 'admin'), 1)); $temp->add(new admin_setting_configcheckbox('useexternalyui', get_string('useexternalyui', 'admin'), get_string('configuseexternalyui', 'admin'), 0)); + $temp->add(new admin_setting_configcheckbox('yuicomboloading', get_string('yuicomboloading', 'admin'), get_string('configyuicomboloading', 'admin'), 1)); $temp->add(new admin_setting_configcheckbox('disablecourseajax', get_string('disablecourseajax', 'admin'), get_string('configdisablecourseajax', 'admin'), isset($CFG->disablecourseajax) ? 1 : empty($CFG->enableajax))); $ADMIN->add('appearance', $temp); diff --git a/lang/en_utf8/admin.php b/lang/en_utf8/admin.php index b7026a98a4..c330391196 100644 --- a/lang/en_utf8/admin.php +++ b/lang/en_utf8/admin.php @@ -317,6 +317,7 @@ $string['configvariables'] = 'Variables'; $string['configverifychangedemail'] = 'Enables verification of changed email addresses using allowed and denied email domains settings. If this setting is disabled the domains are enforced only when creating new users.'; $string['configwarning'] = 'Be careful modifying these settings - strange values could cause problems.'; $string['configxmlstrictheaders'] = 'Set to on, each page will be generated using XML http headers and prolog, so browsers will show XHTML errors inline. This is only useful for developers.'; +$string['configyuicomboloading'] = 'This options enables combined file loading optimisation for YUI libraries. This setting should be enabled on production sites for performance reasons.'; $string['configzip'] = 'Indicate the location of your zip program (Unix only, optional). If specified, this will be used to create zip archives on the server. If you leave this blank, then Moodle will use internal routines.'; $string['confirmation'] = 'Confirmation'; $string['confirmed'] = 'Confirmed'; @@ -961,6 +962,7 @@ $string['webproxy'] = 'Web proxy'; $string['webproxyinfo'] = 'Fill in following options if your Moodle server can not access internet directly. Internet access is required for download of environment data, language packs, RSS feeds, timezones, etc.
PHP cURL extension is highly recommended.'; $string['xmlrpcrecommended'] = 'Installing the optional xmlrpc extension is useful for Moodle Networking functionality.'; $string['xmlstrictheaders'] = 'XML strict headers'; +$string['yuicomboloading'] = 'YUI combo loading'; $string['useblogassociations'] = 'Enable associations'; $string['configuseblogassociations'] = 'Should users be able to organize their blog by associating entries with courses and course modules?'; $string['ziprequired'] = 'The Zip PHP extension is now required by Moodle, info-ZIP binaries or PclZip library are not used anymore.'; diff --git a/version.php b/version.php index 8bc204a200..949c09be0d 100644 --- a/version.php +++ b/version.php @@ -6,7 +6,7 @@ // This is compared against the values stored in the database to determine // whether upgrades should be performed (see lib/db/*.php) - $version = 2009112400; // YYYYMMDD = date of the last version bump + $version = 2009122500; // YYYYMMDD = date of the last version bump // XX = daily increments $release = '2.0 dev (Build: 20091225)'; // Human-friendly version name