Koha/installer/data/mysql
Marcel de Rooy 81937d1d79 Bug 10052: Db revision for intranetstylesheet
Report 10052 makes the intranetstylesheet prefs behave like the opac ones.
This patch contains an optional db revision: If the pref intranetstylesheet is
not blank, and does not start with http, https or /, then prefix it with a
slash to make it an absolute path.

Test plan:
Before applying this patch:
1) Put intranet-tmpl/prog/en/css/staff-global.css into intranetstylesheet.
This works in the current staff client, but will be interpreted as relative as
soon as both patches for this report have been applied.
Apply the patch. And run: /cgi-bin/koha/installer/install.pl?step=3&op=updatestructure
Check the webinstaller warning and the pref value. There should be a slash
in front now. The css should still work.

Continue after applying this patch with:
2) Clear the intranetstylesheet pref. Run updatestructure again. No message: OK
3) Put /intranet-tmpl/prog/en/css/staff-global.css in intranetstylesheet.
Run updatestructure again. No message: OK
4) Prefix intranetstylesheet with http://[your-server-here]. Test again.

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Comments on last patch.
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
2013-05-23 08:55:05 -07:00
..
atomicupdate Bug 7475: Update configuration 2012-09-19 17:15:25 +02:00
de-DE Bug 8215 - Course Reserves 2013-05-21 15:50:55 -07:00
en Bug 8215 - Course Reserves 2013-05-21 15:50:55 -07:00
es-ES Bug 8215 - Course Reserves 2013-05-21 15:50:55 -07:00
fr-FR Bug 8215 - Course Reserves 2013-05-21 15:50:55 -07:00
it-IT Bug 8215 - Course Reserves 2013-05-21 15:50:55 -07:00
nb-NO Bug 8215 - Course Reserves 2013-05-21 15:50:55 -07:00
pl-PL Bug 8215 - Course Reserves 2013-05-21 15:50:55 -07:00
ru-RU Bug 8215 - Course Reserves 2013-05-21 15:50:55 -07:00
uk-UA Bug 8215 - Course Reserves 2013-05-21 15:50:55 -07:00
backfill_statistics.pl Bug 5370: Fix all the references to koha.org 2010-11-08 09:41:49 +13:00
kohastructure.sql Bug 7718 - Remove itemnumber column from serials table 2013-05-22 08:44:31 -07:00
labels_upgrade.pl Bug 2505 - Add commented use warnings where missing in the installer/ directory 2010-04-21 20:26:28 +12:00
patroncards_upgrade.pl Bug 2505 - Add commented use warnings where missing in the installer/ directory 2010-04-21 20:26:28 +12:00
sample_only_param_tables.sql
sysprefs.sql Bug 9722: Allow users to add notes when placing a hold in opac (dbrev) 2013-05-23 08:12:53 -07:00
update22to30.pl Bug 8289 Upgrading from 2.2 does not work anymore 2012-06-25 16:15:42 +02:00
updatedatabase.pl Bug 10052: Db revision for intranetstylesheet 2013-05-23 08:55:05 -07:00