]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-21149 fixyed todos
authorPetr Skoda <skodak@moodle.org>
Thu, 17 Dec 2009 20:11:39 +0000 (20:11 +0000)
committerPetr Skoda <skodak@moodle.org>
Thu, 17 Dec 2009 20:11:39 +0000 (20:11 +0000)
lib/db/install.php
lib/installlib.php
lib/outputlib.php

index f0e2a73e5df210f1c1e4a17e6986b3ae0843cc97..954b674142b3a8a18e7ae62f865e7746d0ac3ded 100644 (file)
@@ -49,7 +49,7 @@ function xmldb_main_install() {
         'enrol_plugins_enabled' => 'manual',
         'style'                 => 'default',
         'template'              => 'default',
-        'theme'                 => 'standard', //TODO: MDL-20204 replace with some new default theme when implemented
+        'theme'                 => 'standard', //TODO: MDL-21149 replace with some new default theme when implemented
         'filter_multilang_converted' => 1,
         'siteidentifier'        => random_string(32).get_host_from_url($CFG->wwwroot),
         'backup_version'        => 2008111700,
index bd4f3b6378f73b0c50500b1fcb06cfc388695358..c28ec18ee913cb6f30b8960e77063e290dd7a017 100644 (file)
@@ -384,7 +384,7 @@ function install_css_styles() {
     @header('Expires: Mon, 20 Aug 1969 09:23:00 GMT');
     @header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
 
-//TODO: add rtl support here
+//TODO: add rtl support here, make it match new default theme MDL-21149
 
     echo '
 
index 4ca88695b93d85834ce3d2b8bc4c13a2b5a10bed..1ae80af1505acfb85efd721e038c80bccf53c378 100644 (file)
@@ -320,7 +320,7 @@ class theme_config {
         try {
             $settings = get_config('theme_'.$themename);
         } catch (dml_exception $e) {
-            // most probably not installed yet
+            // most probably moodle tables not created yet
             $settings = new object();
         }
 
@@ -328,7 +328,7 @@ class theme_config {
             return new theme_config($config);
         } else {
             // bad luck, the requested theme has some problems - admin see details in theme config
-            return new theme_config(theme_config::find_theme_config('standard', $settings)); // TODO: use some other default
+            return new theme_config(theme_config::find_theme_config('standard', $settings)); // TODO: use some other default MDL-21149
         }
     }