Owen Leonard
3c0883fac7
- Increases the width of the editor to fill the space provided - Adjusts the layout of the toolbars to better fit the space - Adds a custom editor stylesheet to make the contents of the editor better match the expected output In changing the toolbar configuration I chose to make the display of each button explicit rather than assuming a default set of buttons and adding or subtracting from that. I think this is clearer for someone approaching the configuration trying to under- stand how buttons are displayed. I also chose to use the shorthand "|" instead of "separator" for brevity. This last change is the only one made to the edithelp configuration. [2011.09.20] F. Demians. This patch is compatible with bug 6649 patch, fixing help pages editing, and so could be applied before or after it. Signed-off-by: Frédéric Demians <f.demians@tamil.fr> Signed-off-by: Ian Walls <ian.walls@bywatersolutions.com> Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
48 lines
2 KiB
Text
48 lines
2 KiB
Text
[% 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">
|
|
tinyMCE.init({
|
|
mode : "textareas",
|
|
theme : "advanced",
|
|
content_css : "[% themelang %]/css/tinymce.css",
|
|
plugins : "table,save,advhr,advlink,iespell,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 : "iespell,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>
|
|
[% 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 %]
|
|
<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>
|
|
|
|
|