Bugzilla – Attachment 20131 Details for
Bug 10690
Warn about trailing slashes in description of OPACBaseURL and staffClientBaseURL
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 10690 - Warn about trailing slashes in description of OPACBaseURL and staffClientBaseURL
Bug-10690---Warn-about-trailing-slashes-in-descrip.patch (text/plain), 2.47 KB, created by
Magnus Enger
on 2013-08-06 14:05:21 UTC
(
hide
)
Description:
Bug 10690 - Warn about trailing slashes in description of OPACBaseURL and staffClientBaseURL
Filename:
MIME Type:
Creator:
Magnus Enger
Created:
2013-08-06 14:05:21 UTC
Size:
2.47 KB
patch
obsolete
>From 0ef59b6ca2a4b5ce3ad052a0f286bd440249e57f Mon Sep 17 00:00:00 2001 >From: Magnus Enger <magnus@enger.priv.no> >Date: Tue, 6 Aug 2013 16:00:01 +0200 >Subject: [PATCH] Bug 10690 - Warn about trailing slashes in description of > OPACBaseURL and staffClientBaseURL > >The descriptions for OPACBaseURL and staffClientBaseURL are not explicit >about including a trailing slash or not. This patch makes it explicit >that the trailing slash should *not* be included. > >To test: >- Apply the patch >- Search for "baseurl" in the system preferences >- Check that the description of both sysprefs includes a warning about > not including a trailing slash. >- Sign off > >If you want to check that the trailing slash is in fact superfluous you >can do something like 'grep -r "BaseURL" *' and check that these >sysprefs are usually concatenated with some string that starts with a >slash. >--- > koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref | 2 +- > .../prog/en/modules/admin/preferences/staff_client.pref | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref >index 90295ef..a75c7ef 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref >@@ -9,7 +9,7 @@ OPAC: > - "The OPAC is located at http://" > - pref: OPACBaseURL > class: url >- - . (This must be filled in correctly for RSS, unAPI, and search plugins to work.) >+ - . Do not include a trailing slash in the URL. (This must be filled in correctly for RSS, unAPI, and search plugins to work.) > - > - Show > - pref: LibraryName >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/staff_client.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/staff_client.pref >index 462286a..8c31c46 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/staff_client.pref >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/staff_client.pref >@@ -9,7 +9,7 @@ Staff Client: > - "The staff client is located at http://" > - pref: staffClientBaseURL > class: url >- - . >+ - . Do not include a trailing slash in the URL. > - > - Use the CSS stylesheet > - pref: intranetstylesheet >-- >1.7.10.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 10690
:
20131
|
20190
|
20608