Bug 10052 Followup for edithelp.tt and help-top.inc
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Mon, 15 Apr 2013 11:01:45 +0000 (13:01 +0200)
committerGalen Charlton <gmc@esilibrary.com>
Thu, 23 May 2013 15:55:11 +0000 (08:55 -0700)
commit70855acfea86c663f1258488294bb6542a9d5567
tree867819cd2bb65d09a25baf07f8d72a076b716452
parentf1bc4eff4ce5060b7c2b01c5b39e2da005c83e41
Bug 10052 Followup for edithelp.tt and help-top.inc

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>
koha-tmpl/intranet-tmpl/prog/en/includes/doc-head-close.inc
koha-tmpl/intranet-tmpl/prog/en/includes/help-top.inc
koha-tmpl/intranet-tmpl/prog/en/includes/intranetstylesheet.inc [new file with mode: 0644]
koha-tmpl/intranet-tmpl/prog/en/modules/help/edithelp.tt