8263 Consistent stylesheet prefs
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Mon, 18 Jun 2012 09:42:50 +0000 (11:42 +0200)
committerPaul Poulain <paul.poulain@biblibre.com>
Fri, 3 Aug 2012 10:03:30 +0000 (12:03 +0200)
commitdaeb9649966e260d9d8ecea9675faaa2940808bc
treeb7c172b56f7af116b270060b673c861e03b13a1f
parent688e81f7fe8c31156715b491f46acc2d17d7b8c9
8263 Consistent stylesheet prefs

This patch makes the use of opaccolorstylesheet and opaclayoutstylesheet more consistent. They may be: 1) just a file name, 2) a complete local path or 3) a full URL starting with http: for a remote css file.
This makes the syspref opacstylesheet that was only used for a remote css file obsolete.

June 20, 2012 Rebased.
July 18, 2012: Regex allows https too (thanks to Owen Leonard).

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
C4/Auth.pm
C4/Templates.pm
admin/systempreferences.pl
installer/data/mysql/sysprefs.sql
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref
koha-tmpl/opac-tmpl/prog/en/includes/doc-head-close.inc