]> git.mjollnir.org Git - moodle.git/commitdiff
jstemplate
authortomflannaghan <tomflannaghan>
Thu, 17 Aug 2006 09:26:31 +0000 (09:26 +0000)
committertomflannaghan <tomflannaghan>
Thu, 17 Aug 2006 09:26:31 +0000 (09:26 +0000)
mod/data/templates.php

index dd32238e0c37260ecbf198631833598140d7712f..f15e0b8e446d96ae7dd375d7c940aa528ceadb0e 100755 (executable)
 
 
 /// Add the HTML editor(s).
-    $usehtmleditor = can_use_html_editor() && ($mode != 'csstemplate');
+    $usehtmleditor = can_use_html_editor() && ($mode != 'csstemplate') && ($mode != 'jstemplate');
     if ($mode == 'listtemplate'){
         // Print the list template header.
         echo '<tr>';