Bugzilla – Attachment 28699 Details for
Bug 12361
No default value for opaccolorstylesheet syspref
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 12361 - No default value for opaccolorstylesheet syspref
Bug-12361---No-default-value-for-opaccolorstyleshe.patch (text/plain), 2.58 KB, created by
Jonathan Druart
on 2014-06-06 13:41:49 UTC
(
hide
)
Description:
Bug 12361 - No default value for opaccolorstylesheet syspref
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2014-06-06 13:41:49 UTC
Size:
2.58 KB
patch
obsolete
>From c8a80e9ce11eda00dba7c936cbba50502cbc21d0 Mon Sep 17 00:00:00 2001 >From: Fridolin Somers <fridolin.somers@biblibre.com> >Date: Thu, 5 Jun 2014 09:28:29 +0200 >Subject: [PATCH] Bug 12361 - No default value for opaccolorstylesheet syspref > >After install, the syspref opaccolorstylesheet will by default contain colors.css. >This file exist in OPAC prog theme but not in bootstrap theme. > >This patch set the syspref empty by default in installer/data/mysql/sysprefs.sql. > >Test plan : >- Create a fresh install >- Look at opaccolorstylesheet content >=> without this patch : is contains colors.css >=> with this patch : it is empty >- Enable opac bootstrap theme >- Go to opac main page >- Look at HTTP errors (with firebug for example) >=> without this patch : there is a 404 error because colors.css does not exist >=> with this patch : no such error > >Signed-off-by: David Cook <dcook@prosentient.com.au> > >Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> >--- > installer/data/mysql/sysprefs.sql | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/installer/data/mysql/sysprefs.sql b/installer/data/mysql/sysprefs.sql >index aff00ab..a2cd457 100644 >--- a/installer/data/mysql/sysprefs.sql >+++ b/installer/data/mysql/sysprefs.sql >@@ -223,7 +223,7 @@ INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` > ('OpacBrowser','0',NULL,'If ON, enables subject authorities browser on OPAC (needs to set misc/cronjob/sbuild_browser_and_cloud.pl)','YesNo'), > ('OpacBrowseResults','1',NULL,'Disable/enable browsing and paging search results from the OPAC detail page.','YesNo'), > ('OpacCloud','0',NULL,'If ON, enables subject cloud on OPAC','YesNo'), >-('opaccolorstylesheet','colors.css','','Define an auxiliary stylesheet for OPAC use, to override specified settings from the primary opac.css stylesheet. Enter the filename (if the file is in the server\'s css directory) or a complete URL beginning with http (if the file lives on a remote server).','free'), >+('opaccolorstylesheet','','','Define an auxiliary stylesheet for OPAC use, to override specified settings from the primary opac.css stylesheet. Enter the filename (if the file is in the server\'s css directory) or a complete URL beginning with http (if the file lives on a remote server).','free'), > ('opaccredits','','70|10','Define HTML Credits at the bottom of the OPAC page','Textarea'), > ('OPACdefaultSortField','relevance','relevance|popularity|call_number|pubdate|acqdate|title|author','Specify the default field used for sorting','Choice'), > ('OPACdefaultSortOrder','dsc','asc|dsc|za|az','Specify the default sort order','Choice'), >-- >2.0.0.rc2
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 12361
:
28669
|
28692
| 28699