Bug 12862: Staff client tweaks related to obsolete language="javascript"
[srvgit] / koha-tmpl / intranet-tmpl / prog / en / modules / help / edithelp.tt
index 209c832..9ed805c 100644 (file)
@@ -1,16 +1,17 @@
 [% INCLUDE 'doc-head-open.inc' %]
-<title>Online Help</title>
-<script language="javascript" type="text/javascript" src="[% themelang %]/js/tinymce/jscripts/tiny_mce/tiny_mce.js"></script>
-<script language="javascript" type="text/javascript">
+<title>Online help</title>
+<script type="text/javascript" src="[% interface %]/lib/tiny_mce/tiny_mce.js"></script>
+<script type="text/javascript">//<![CDATA[
 tinyMCE.init({
        mode : "textareas",
         theme : "advanced",
-       plugins : "table,save,advhr,advlink,iespell,searchreplace,print,contextmenu",
+    content_css : "[% themelang %]/css/tinymce.css",
+    plugins : "table,save,advhr,advlink,searchreplace,print,contextmenu",
         theme_advanced_disable : "underline,strikethrough,styleselect,image",
-       theme_advanced_buttons1_add_before : "savecommaseparator",
-       theme_advanced_buttons2_add_before: "cut,copy,paste,separator,search,replace,separator",
-       theme_advanced_buttons3_add_before : "tablecontrolscommaseparator",
-       theme_advanced_buttons3_add : "iespell,advhr,separator,print",
+       theme_advanced_buttons1_add_before : "save,|",
+       theme_advanced_buttons2_add_before: "cut,copy,paste,|,search,replace,|",
+       theme_advanced_buttons3_add_before : "tablecontrols,|",
+    theme_advanced_buttons3_add : "advhr,|,print",
        theme_advanced_toolbar_location : "top",
        theme_advanced_toolbar_align : "left",
        theme_advanced_path_location : "bottom",
@@ -18,15 +19,9 @@ tinyMCE.init({
        plugin_insertdate_timeFormat : "%H:%M:%S",
     apply_source_formatting : true
 });
+//]]>
 </script>
-[% IF ( intranetstylesheet ) %]
-    <link rel="stylesheet" type="text/css" href="[% intranetstylesheet %]" />
-[% ELSE %]
-    <link rel="stylesheet" type="text/css" href="[% themelang %]/css/staff-global.css" />
-[% END %]
-[% IF ( intranetcolorstylesheet ) %]
-    <link rel="stylesheet" type="text/css" href="[% themelang %]/css/[% intranetcolorstylesheet %]" />
-[% END %]
+[% INCLUDE intranetstylesheet.inc %]
 <link rel="stylesheet" type="text/css" href="[% themelang %]/css/help.css" />
 </head>
 <body id="help">