Changes Made to further optimize and condense code, include code documentation, and...
authorChristopher Hyde <chyde@ebpl.org>
Thu, 2 Apr 2009 14:50:35 +0000 (10:50 -0400)
committerGalen Charlton <galen.charlton@liblime.com>
Thu, 23 Apr 2009 20:36:49 +0000 (15:36 -0500)
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
installer/data/mysql/en/mandatory/sysprefs.sql
opac/opac-detail.pl

index be67787..3c86a76 100644 (file)
@@ -233,4 +233,6 @@ INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES (
 INSERT INTO `systempreferences` ( `variable` , `value` , `options` , `explanation` , `type` ) VALUES ( 'StaffSerialIssueDisplayCount', '3', '', 'Number of serial issues to display per subscription in the Staff client', 'Integer');
 INSERT INTO `systempreferences` ( `variable` , `value` , `options` , `explanation` , `type` ) VALUES ( 'OPACSerialIssueDisplayCount', '3', '', 'Number of serial issues to display per subscription in the OPAC', 'Integer');
 INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('OPACShowCheckoutName','0','Displays in the OPAC the name of patron who has checked out the material. WARNING: Most sites should leave this off. It is intended for corporate or special sites which need to track who has the item.','','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');
index bbfc028..dd21abe 100755 (executable)
@@ -357,17 +357,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') );
-}
+} 
+
 
 # Babelthèque
 if ( C4::Context->preference("Babeltheque") ) {