Koha/koha-tmpl/intranet-tmpl/prog/en/modules/help/edithelp.tt
Owen Leonard 6381d1853d Bug 16241 - Move staff client CSS out of language directory
The staff client CSS is not language-specific, so it can be moved out of
the en/ directory and thus not be duplicated for every translation.

In order to be able to have a generic path to the YUI CSS files, the YUI
directory is moved by this patch to the staff client's lib/ directory.

To test, apply the patch and visit various pages in the staff client.
Look in particular at pages which include more than the standard CSS.
For example:

- The staff client login page.
- The staff client home page.
- Patron -> Set permissions.
- The advanced cataloging editor.
- Acquisitions -> Vendor -> Basket groups.
- Tools -> News -> Edit news.
- Administration -> System preferences.

Revised: I intended for this to be built on top of Bug 15883. Now it is.

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>

On top of 15883
Works as described, all pages on test plan
No Errors

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
2016-04-29 13:54:37 +00:00

42 lines
1.6 KiB
Text

[% INCLUDE 'doc-head-open.inc' %]
<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",
content_css : "[% interface %]/[% theme %]/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="[% interface %]/[% theme %]/css/help.css" />
</head>
<body id="help_edithelp" class="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>