[Koha-cvs] koha/updater updatedatabase [rel_2_2]

Joshua Ferraro jmf at kados.org
Sat Feb 4 00:12:23 CET 2006


CVSROOT:	/sources/koha
Module name:	koha
Branch: 	rel_2_2
Changes by:	Joshua Ferraro <kados at savannah.gnu.org>	06/02/03 23:12:23

Modified files:
	updater        : updatedatabase 

Log message:
	Adds system prefs for using Amazon.com content in the OPAC

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha/updater/updatedatabase.diff?only_with_tag=rel_2_2&tr1=1.100.2.17&tr2=1.100.2.18&r1=text&r2=text

Patches:
Index: koha/updater/updatedatabase
diff -u koha/updater/updatedatabase:1.100.2.17 koha/updater/updatedatabase:1.100.2.18
--- koha/updater/updatedatabase:1.100.2.17	Fri Feb  3 20:55:16 2006
+++ koha/updater/updatedatabase	Fri Feb  3 23:12:23 2006
@@ -1,6 +1,6 @@
 #!/usr/bin/perl
 
-# $Id: updatedatabase,v 1.100.2.17 2006/02/03 20:55:16 kados Exp $
+# $Id: updatedatabase,v 1.100.2.18 2006/02/03 23:12:23 kados Exp $
 
 # Database Updater
 # This script checks for required updates to the database.
@@ -951,6 +951,26 @@
             explanation         => 'Use HTML tabs to add navigational links to the left-hand navigational bar in OPAC',
             type                => 'free',
         },
+        {                                                                                   uniquefieldrequired => 'variable',
+            variable            => 'AmazonContent',
+	    value               => '0',
+            forceupdate         => { 'explanation' => 1,                                                             'type' => 1},
+            explanation         => 'Turn on/off Amazon Content',
+            type                => 'YesNo',
+        },                                                                              {                                                                                   
+	    uniquefieldrequired => 'variable',
+            variable            => 'AmazonDevKey',
+	    value               => '',
+            forceupdate         => { 'explanation' => 1,                                                             'type' => 1},
+            explanation         => 'Put your Amazon Developers Key here',
+            type                => 'free',
+        },                                                                              {                                                                                   uniquefieldrequired => 'variable',
+            variable            => 'AmazonAssocTag',
+	    value               => '',
+            forceupdate         => { 'explanation' => 1,                                                             'type' => 1},
+            explanation         => 'Put your Amazon Associates Tag here',
+            type                => 'free',
+        },                                                                      
     ],
 
 );
@@ -1578,6 +1598,9 @@
 exit;
 
 # $Log: updatedatabase,v $
+# Revision 1.100.2.18  2006/02/03 23:12:23  kados
+# Adds system prefs for using Amazon.com content in the OPAC
+#
 # Revision 1.100.2.17  2006/02/03 20:55:16  kados
 # Adding a new system preference: OpacNav. Can be used to add HTML
 # navigation links to the left-hand navbar in the OPAC.





More information about the Koha-cvs mailing list