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