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

Owen Leonard oleonard at athenscounty.lib.oh.us
Thu Apr 27 20:07:41 CEST 2006


CVSROOT:	/sources/koha
Module name:	koha
Branch: 	rel_2_2
Changes by:	Owen Leonard <oleonard at savannah.gnu.org>	06/04/27 18:07:41

Modified files:
	updater        : updatedatabase 

Log message:
	Adding two new system preferences:
	
	1. opacuserlogin shows/hides login-based features like reserves, private shelves, and login forms. On by default.
	2. opacbookbag shows/hides the book bag (biblio basket). On by default.

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

Patches:
Index: koha/updater/updatedatabase
diff -u koha/updater/updatedatabase:1.100.2.42 koha/updater/updatedatabase:1.100.2.43
--- koha/updater/updatedatabase:1.100.2.42	Sat Apr 22 13:52:12 2006
+++ koha/updater/updatedatabase	Thu Apr 27 18:07:40 2006
@@ -1,6 +1,6 @@
 #!/usr/bin/perl
 
-# $Id: updatedatabase,v 1.100.2.42 2006/04/22 13:52:12 oleonard Exp $
+# $Id: updatedatabase,v 1.100.2.43 2006/04/27 18:07:40 oleonard Exp $
 
 # Database Updater
 # This script checks for required updates to the database.
@@ -1318,6 +1318,26 @@
 			options				=> 'normal|marc|isbd'
         },
 		
+				{
+            uniquefieldrequired => 'variable',
+            variable            => 'opacbookbag',
+            value               => '1',
+            forceupdate         => { 'explanation' => 1,                                                             
+								'type' => 1},
+            explanation         => 'Enable or disable display of biblio basket (book bag)',
+            type                => 'YesNo'
+        },
+		
+				{
+            uniquefieldrequired => 'variable',
+            variable            => 'opacuserlogin',
+            value               => '1',
+            forceupdate         => { 'explanation' => 1,                                                             
+								'type' => 1},
+            explanation         => 'Enable or disable display of user login features',
+            type                => 'YesNo'
+        },
+		
         {
             uniquefieldrequired => 'variable',
             variable            => 'serialsadditems',
@@ -2103,6 +2123,12 @@
 exit;
 
 # $Log: updatedatabase,v $
+# Revision 1.100.2.43  2006/04/27 18:07:40  oleonard
+# Adding two new system preferences:
+#
+# 1. opacuserlogin shows/hides login-based features like reserves, private shelves, and login forms. On by default.
+# 2. opacbookbag shows/hides the book bag (biblio basket). On by default.
+#
 # Revision 1.100.2.42  2006/04/22 13:52:12  oleonard
 # Adding opacheader and IntranetBiblioDefaultView system preferences
 #





More information about the Koha-cvs mailing list