Koha/koha-tmpl/intranet-tmpl/prog/en/modules/help/edithelp.tt
Mark Tompsett 2ad6998476 Bug 12862: Staff client tweaks related to obsolete language="javascript"
As a result, this patch removed the deprecated tag from the
intranet templates.

And since there was just 1 other tiny error in the same template
file, the checked="checked" was removed from a text box.

TEST PLAN
---------
1) Install the HTML Validator 0.9.5.8 for FireFox.
2) Open Intranet to Home -> Tools -> News
3) View Page Source
   -- you'll notice the message about language="javascript" being
      one of the error messages.
4) Click Edit beside one of the news items.
5) View Page Source
   -- you'll notice the message about language="javascript" being
      one of the error messages.
6) Apply patch
7) Repeat steps 2 to 5 without "language="javascript" related
   error messages.
8) Run koha QA test tools.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
2014-10-18 11:13:01 -03: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 : "[% 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>