Bug 10052: Make intranetstylesheet and intranetcolorstylesheet behave exactly like...
commitf1bc4eff4ce5060b7c2b01c5b39e2da005c83e41
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Mon, 15 Apr 2013 09:11:20 +0000 (15 11:11 +0200)
committerGalen Charlton <gmc@esilibrary.com>
Thu, 23 May 2013 15:55:08 +0000 (23 08:55 -0700)
treec4440a484769a34d9b2da787399b386dfd84b77c
parent81937d1d790ed09bf8f28b25774e7416fc7c9f8c
Bug 10052: Make intranetstylesheet and intranetcolorstylesheet behave exactly like their opac counterparts

Allow a relative path (within theme/css) in intranetstylesheet too.
Allow a full path, local or remote with http(s), in intranetcolorstylesheet.
This restores consistency between opac and staff.

Test plan:
First: the patch with the db revision should have been applied. And also the
updatestructure step from the web installer should have been run.

Clear intranetstylesheet. Check included stylesheet with page source in browser.
Enter a full path with http or / in intranetstylesheet. Check again.
Enter a relative path (such as staff-global.css). Check again.

Clear intranetcolorstylesheet. Check if there is no reference with page source.
Enter a full path with http or / in intranetcolorstylesheet. Check reference.
Enter a relative path (such as blue.css). Check again.

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
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/modules/admin/preferences/staff_client.pref