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

Joshua Ferraro jmf at kados.org
Sat Feb 4 02:44:59 CET 2006


CVSROOT:	/sources/koha
Module name:	koha
Branch: 	rel_2_2
Changes by:	Joshua Ferraro <kados at savannah.gnu.org>	06/02/04 01:44:59

Modified files:
	updater        : updatedatabase 

Log message:
	Adds Fully Preferences-based Amazon.com feature. See mail to koha-devel
	for details.

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

Patches:
Index: koha/updater/updatedatabase
diff -u koha/updater/updatedatabase:1.100.2.18 koha/updater/updatedatabase:1.100.2.19
--- koha/updater/updatedatabase:1.100.2.18	Fri Feb  3 23:12:23 2006
+++ koha/updater/updatedatabase	Sat Feb  4 01:44:59 2006
@@ -1,6 +1,6 @@
 #!/usr/bin/perl
 
-# $Id: updatedatabase,v 1.100.2.18 2006/02/03 23:12:23 kados Exp $
+# $Id: updatedatabase,v 1.100.2.19 2006/02/04 01:44:59 kados Exp $
 
 # Database Updater
 # This script checks for required updates to the database.
@@ -954,21 +954,27 @@
         {                                                                                   uniquefieldrequired => 'variable',
             variable            => 'AmazonContent',
 	    value               => '0',
-            forceupdate         => { 'explanation' => 1,                                                             'type' => 1},
-            explanation         => 'Turn on/off Amazon Content',
-            type                => 'YesNo',
-        },                                                                              {                                                                                   
+            forceupdate         => { 'explanation' => 1,                                                             '
+	    				type' => 1},
+            explanation         => 'Turn On Amazon Content - You MUST set AmazonDevKey and AmazonAssocTag if enabled',
+	    type                => 'YesNo',
+        },                                                                              
+	{                                                                                   
 	    uniquefieldrequired => 'variable',
             variable            => 'AmazonDevKey',
 	    value               => '',
-            forceupdate         => { 'explanation' => 1,                                                             'type' => 1},
-            explanation         => 'Put your Amazon Developers Key here',
+            forceupdate         => { 'explanation' => 1,                                                             '
+	    				type' => 1},
+            explanation         => 'Put your Amazon Developers Key here. Get one from aws-portal.amazon.com/gp/aws/developer/registration/index.html',
             type                => 'free',
-        },                                                                              {                                                                                   uniquefieldrequired => 'variable',
+        },                                                                              
+	{                                                                                   
+	    uniquefieldrequired => 'variable',
             variable            => 'AmazonAssocTag',
 	    value               => '',
-            forceupdate         => { 'explanation' => 1,                                                             'type' => 1},
-            explanation         => 'Put your Amazon Associates Tag here',
+            forceupdate         => { 'explanation' => 1,                                                             '
+	    				type' => 1},
+            explanation         => 'Put your Amazon Associates ID here. Get one from associates.amazon.com/gp/flex/associates/apply-login.html',
             type                => 'free',
         },                                                                      
     ],
@@ -1598,6 +1604,10 @@
 exit;
 
 # $Log: updatedatabase,v $
+# Revision 1.100.2.19  2006/02/04 01:44:59  kados
+# Adds Fully Preferences-based Amazon.com feature. See mail to koha-devel
+# for details.
+#
 # Revision 1.100.2.18  2006/02/03 23:12:23  kados
 # Adds system prefs for using Amazon.com content in the OPAC
 #





More information about the Koha-cvs mailing list