From da0c0e2595e789c508176967b084512dc8fbe4f2 Mon Sep 17 00:00:00 2001 From: Petr Skoda Date: Thu, 17 Dec 2009 20:11:39 +0000 Subject: [PATCH] MDL-21149 fixyed todos --- lib/db/install.php | 2 +- lib/installlib.php | 2 +- lib/outputlib.php | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/db/install.php b/lib/db/install.php index f0e2a73e5d..954b674142 100644 --- a/lib/db/install.php +++ b/lib/db/install.php @@ -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, diff --git a/lib/installlib.php b/lib/installlib.php index bd4f3b6378..c28ec18ee9 100644 --- a/lib/installlib.php +++ b/lib/installlib.php @@ -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 ' diff --git a/lib/outputlib.php b/lib/outputlib.php index 4ca88695b9..1ae80af150 100644 --- a/lib/outputlib.php +++ b/lib/outputlib.php @@ -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 } } -- 2.39.5