Main Koha release repository https://koha-community.org
Find a file
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
acqui Bug 9806 : QA Followup - use template plugin for branch names 2013-05-23 08:03:19 -07:00
admin Bug 8215 - Course Reserves 2013-05-21 15:50:55 -07:00
authorities Revert "Bug 6554 - make Koha internally utf-8 clean" 2013-04-29 15:12:32 -07:00
basket
C4 Bug 10313 Fix link to invoice from orders 2013-05-23 07:54:52 -07:00
catalogue Bug 10080: (followup) change two last instances of the old syspref name 2013-05-22 08:10:35 -07:00
cataloguing Bug 10080 - Change system pref IndependantBranches to IndependentBranches 2013-05-22 07:58:23 -07:00
circ Bug 10080 - Change system pref IndependantBranches to IndependentBranches 2013-05-22 07:58:23 -07:00
course_reserves bug 8215: (followup) avoid spurious warning in Apache log 2013-05-21 16:01:08 -07:00
debian Bug 10259 - koha-*-zebra scripts are expected to run without warnings if no instance name passed 2013-05-18 06:07:57 -04:00
docs Add Rafal Kopaczka to the history 2013-05-17 07:53:53 -04:00
errors
etc Bug 9804 - Fix name for NORMARC biblio-koha-indexdefs.xml 2013-04-24 09:16:17 -04:00
install_misc Bug 8840 - [SIGNED-OFF] Patch to solve false "All dependencies installed!" 2013-05-12 21:15:19 -04:00
installer Bug 10052: Db revision for intranetstylesheet 2013-05-23 08:55:05 -07:00
Koha bug 8215: (followup) run new files through perltidy 2013-05-21 15:51:00 -07:00
koha-tmpl bug 9722: (followup) allow patrons to see hold notes in their summary 2013-05-23 08:28:32 -07:00
labels Bug 8943 - Add table sorting to labels - Followup - Sort pulldowns in batch export. 2013-03-31 08:33:42 -04:00
members Bug 10080 - Change system pref IndependantBranches to IndependentBranches 2013-05-22 07:58:23 -07:00
misc Update release notes for final 3.12.00 release 2013-05-19 17:57:26 -04:00
offline_circ
opac bug 9722: (followup) allow patrons to see hold notes in their summary 2013-05-23 08:28:32 -07:00
OpenILS
patroncards Revert "Bug 9951: Followup for Tools" 2013-04-29 15:04:38 -07:00
plugins
reports Bug 9508: Standardize the dateformat value from C4::Auth 2013-05-20 09:05:01 -07:00
reserve Bug 10080 - Change system pref IndependantBranches to IndependentBranches - Followup 2013-05-22 07:58:27 -07:00
reviews
rotating_collections Bug 9605: rotating collections permissions are wrong 2013-03-30 22:11:05 -04:00
selenium
serials Bug 10080 - Change system pref IndependantBranches to IndependentBranches 2013-05-22 07:58:23 -07:00
services
skel
sms
suggestion Bug 10080 - Change system pref IndependantBranches to IndependentBranches 2013-05-22 07:58:23 -07:00
svc Bug 9908 - Fixing OCLC Connexion Client 2013-03-29 21:29:10 -04:00
t Bug 10080 - Change system pref IndependantBranches to IndependentBranches 2013-05-22 07:58:23 -07:00
tags Merge remote branch 'origin/new/bug6554_reverts' 2013-05-01 11:22:30 -07:00
test
tmp/modified_authorities
tools Bug 10080 - Change system pref IndependantBranches to IndependentBranches 2013-05-22 07:58:23 -07:00
virtualshelves
xt
.htaccess
.mailmap
about.pl Bug 6506: Followup add warning in the system information tab. 2013-05-01 08:44:11 -04:00
changelanguage.pl
edithelp.pl 7368 Typo in edithelp.pl warning 2013-04-18 09:47:58 -04:00
fix-perl-path.PL
help.pl Bug 8949: Trying to view help on a page without any help results in a nasty error 2012-11-05 08:39:23 -05:00
INSTALL
install-CPAN.pl
INSTALL.debian
INSTALL.fedora7
INSTALL.opensuse
INSTALL.ubuntu
INSTALL.ubuntu.12.04
INSTALL.ubuntu.lucid
koha_perl_deps.pl
kohaversion.pl bug 9722: DBrev 3.13.00.004 to add OpacShowHoldNotes syspref 2013-05-23 08:29:24 -07:00
LICENSE Bug 9440 - update Koha's LICENSE file from GPL2 to GPL3 2013-02-12 08:52:10 -05:00
mainpage.pl Bug 10080 - Change system pref IndependantBranches to IndependentBranches 2013-05-22 07:58:23 -07:00
Makefile.PL Bug 8215 - Course Reserves 2013-05-21 15:50:55 -07:00
MANIFEST.SKIP
README
README.robots
rewrite-config.PL

Koha is a free software integrated library system.

Koha is distributed under the GNU GPL version 3 or later.
Please read the file LICENSE for more details.

To install or upgrade Koha, please see the INSTALL file appropriate
to your platform.

Report bugs at http://bugs.koha-community.org/

Visit the Koha Project website at http://www.koha-community.org/