]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-16627 removing obsoleted HTMLArea
authorskodak <skodak>
Tue, 23 Sep 2008 14:51:55 +0000 (14:51 +0000)
committerskodak <skodak>
Tue, 23 Sep 2008 14:51:55 +0000 (14:51 +0000)
lib/weblib.php

index 1ac2faf4cc38a592239bdd188378c41ecbd32a1f..b2f2c8b0214733e887de5ba33dd3c89f145830d4 100644 (file)
@@ -6015,10 +6015,12 @@ function editortogglebutton($id) {
 function editorshortcutshelpbutton() {
 
     global $CFG;
-    $imagetext = '<img src="' . $CFG->httpswwwroot . '/lib/editor/htmlarea/images/kbhelp.gif" alt="'.
+    //TODO: detect current editor and print correct info
+/*    $imagetext = '<img src="' . $CFG->httpswwwroot . '/lib/editor/htmlarea/images/kbhelp.gif" alt="'.
         get_string('editorshortcutkeys').'" class="iconkbhelp" />';
 
-    return helpbutton('editorshortcuts', get_string('editorshortcutkeys'), 'moodle', true, false, '', true, $imagetext);
+    return helpbutton('editorshortcuts', get_string('editorshortcutkeys'), 'moodle', true, false, '', true, $imagetext);*/
+    return '';
 }
 
 /**