---
installer/data/mysql/en/mandatory/sysprefs.sql | 4 +++-
opac/opac-detail.pl | 13 ++++++-------
2 files changed, 9 insertions(+), 8 deletions(-)
diff --git a/installer/data/mysql/en/mandatory/sysprefs.sql
b/installer/data/mysql/en/mandatory/sysprefs.sql
index 70d1f81..eda1416 100644
--- a/installer/data/mysql/en/mandatory/sysprefs.sql
+++ b/installer/data/mysql/en/mandatory/sysprefs.sql
@@ -229,4 +229,6 @@ INSERT INTO systempreferences
(variable,value,explanation,options,type) VALUES (
INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES
('SyndeticsCoverImageSize', 'MC', 'Choose the size of the Syndetics Cover Image
to display on the OPAC detail page, MC is Medium, LC is
Large','MC|LC','Choice');
INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES
('OPACAmazonCoverImages', '0', 'Display cover images on OPAC from Amazon Web
Services','','YesNo');
INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES
('AmazonCoverImages', '0', 'Display Cover Images in Staff Client from Amazon
Web Services','','YesNo');
-INSERT INTO systempreferences
(variable,value,explanation,options,type)VALUES('LibraryThingForLibrariesTabbedView','1','Put
LibraryThingForLibraries Content in Tabs.','','YesNo');
+INSERT INTO systempreferences
(variable,value,explanation,options,type)VALUES('LibraryThingForLibrariesID','','See:http://librarything.com/forlibraries/','','free');
+INSERT INTO systempreferences
(variable,value,explanation,options,type)VALUES('LibraryThingForLibrariesEnabled','0','Enable
or Disable Library Thing for Libraries Features','','YesNo');
+INSERT INTO systempreferences
(variable,value,explanation,options,type)VALUES('LibraryThingForLibrariesTabbedView','0','Put
LibraryThingForLibraries Content in Tabs.','','YesNo');
diff --git a/opac/opac-detail.pl b/opac/opac-detail.pl
index b071ca2..4cb8376 100755
--- a/opac/opac-detail.pl
+++ b/opac/opac-detail.pl
@@ -344,17 +344,16 @@ if ( C4::Context->preference("SyndeticsEnabled")
};
warn $@ if $@;
}
-# LibraryThingForLibraries
+
+# LibraryThingForLibraries ID Code and Tabbed View Option
if( C4::Context->preference('LibraryThingForLibrariesEnabled') )
{
- $template->param(LibraryThingForLibrariesID =>
+$template->param(LibraryThingForLibrariesID =>
C4::Context->preference('LibraryThingForLibrariesID') );
-}
-if( C4::Context->preference('LibraryThingForLibrariesEnabled') )
-{
- $template->param(LibraryThingForLibrariesTabbedView =>
+$template->param(LibraryThingForLibrariesTabbedView =>
C4::Context->preference('LibraryThingForLibrariesTabbedView') );
-}
+}
+
# Shelf Browser Stuff
if (C4::Context->preference("OPACShelfBrowser")) {
--
1.5.6.3
_______________________________________________
Koha-patches mailing list
[email protected]
http://lists.koha.org/mailman/listinfo/koha-patches