Bug 20190: TinyMCE is broken and not displayed
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / help / edithelp.tt
1 [% INCLUDE 'doc-head-open.inc' %]
2 <title>Online help</title>
3 <script type="text/javascript" src="[% interface %]/lib/tiny_mce/tiny_mce_[% KOHA_VERSION %].js"></script>
4 <script type="text/javascript">//<![CDATA[
5 tinyMCE.baseURL = "/intranet-tmpl/lib/tiny_mce";
6 tinyMCE.init({
7         mode : "textareas",
8         theme : "advanced",
9     content_css : "[% interface %]/[% theme %]/css/tinymce.css",
10     plugins : "table,save,advhr,advlink,searchreplace,print,contextmenu",
11         theme_advanced_disable : "underline,strikethrough,styleselect,image",
12         theme_advanced_buttons1_add_before : "save,|",
13         theme_advanced_buttons2_add_before: "cut,copy,paste,|,search,replace,|",
14         theme_advanced_buttons3_add_before : "tablecontrols,|",
15     theme_advanced_buttons3_add : "advhr,|,print",
16         theme_advanced_toolbar_location : "top",
17         theme_advanced_toolbar_align : "left",
18         theme_advanced_path_location : "bottom",
19         plugin_insertdate_dateFormat : "%Y-%m-%d",
20         plugin_insertdate_timeFormat : "%H:%M:%S",
21     apply_source_formatting : true
22 });
23 //]]>
24 </script>
25 [% INCLUDE intranetstylesheet.inc %]
26 <link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/help_[% KOHA_VERSION %].css" />
27 </head>
28 <body id="help_edithelp" class="help">
29         <h1>Online Help</h1>
30 [% IF ( error ) %]
31 <h5>[% error %]</h5>
32 [% END %]
33 <form action="/cgi-bin/koha/edithelp.pl" method="post">
34 <input type="hidden" name="referer" value="[% referer %]" />
35 <input type="hidden" name="type" value="[% type %]" />
36 <textarea name="help" cols="60" rows="20">[% help %]</textarea>
37 <fieldset class="action"><input type="submit" name="submit" class="submit" value="Submit" /> <a class="cancel" href="#" onclick="history.back(); return false;">Cancel</a></fieldset>
38 </form>
39         
40 </body>
41 </html>
42
43