From f56f05dab11910ecbf2e8508fd104f0af9ce2258 Mon Sep 17 00:00:00 2001 From: skodak Date: Sun, 10 Dec 2006 22:15:15 +0000 Subject: [PATCH] MDL-5671 html editor can now be switched off on the fly while editing database templates; removed editor button from js and css template --- mod/data/templates.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/data/templates.php b/mod/data/templates.php index 046241f20f..453a97e167 100755 --- a/mod/data/templates.php +++ b/mod/data/templates.php @@ -211,7 +211,7 @@ } echo ''; echo '



'; - if (can_use_html_editor()) { + if (can_use_html_editor() && ($mode != 'csstemplate') && ($mode != 'jstemplate')) { echo '

'; if ($editor) { $switcheditor = get_string('editordisable', 'data'); -- 2.39.5