Marcel de Rooy
70855acfea
A grep on the stylesheet names revealed that similar code was used in those template files. This patch moves the code from doc-head-close.inc to a new include file. Now, doc-head-close and the help templates refer to that one file. Test plan: If you tested the preceding two patches, now you only need to: 1) Check included css via page source in browser from staff main page. 2) Check it also from some other location. 3) Check again from Help: e.g. /cgi-bin/koha/help.pl 4) Check again from Edit Help: /cgi-bin/koha/edithelp.pl Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz> Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> Template only, no string changes. Tested according to test plan. Signed-off-by: Galen Charlton <gmc@esilibrary.com>
42 lines
1.6 KiB
Text
42 lines
1.6 KiB
Text
[% INCLUDE 'doc-head-open.inc' %]
|
|
<title>Online help</title>
|
|
<script language="javascript" type="text/javascript" src="[% interface %]/lib/tiny_mce/tiny_mce.js"></script>
|
|
<script type="text/javascript">//<![CDATA[
|
|
tinyMCE.init({
|
|
mode : "textareas",
|
|
theme : "advanced",
|
|
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 : "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",
|
|
plugin_insertdate_dateFormat : "%Y-%m-%d",
|
|
plugin_insertdate_timeFormat : "%H:%M:%S",
|
|
apply_source_formatting : true
|
|
});
|
|
//]]>
|
|
</script>
|
|
[% INCLUDE intranetstylesheet.inc %]
|
|
<link rel="stylesheet" type="text/css" href="[% themelang %]/css/help.css" />
|
|
</head>
|
|
<body id="help">
|
|
<h1>Online Help</h1>
|
|
[% IF ( error ) %]
|
|
<h5>[% error %]</h5>
|
|
[% END %]
|
|
<form action="/cgi-bin/koha/edithelp.pl" method="post">
|
|
<input type="hidden" name="referer" value="[% referer %]" />
|
|
<input type="hidden" name="type" value="[% type %]" />
|
|
<textarea name="help" cols="60" rows="20">[% help %]</textarea>
|
|
<fieldset class="action"><input type="submit" name="submit" class="submit" value="Submit" /> <a class="cancel" href="#" onclick="history.back(); return false;">Cancel</a></fieldset>
|
|
</form>
|
|
|
|
</body>
|
|
</html>
|
|
|
|
|