koha-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Owen Leonard
Subject: [Koha-cvs] koha/updater updatedatabase [rel_2_2]
Date: Thu, 27 Apr 2006 18:07:41 +0000

CVSROOT:        /sources/koha
Module name:    koha
Branch:         rel_2_2
Changes by:     Owen Leonard <address@hidden>   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
 #




reply via email to

[Prev in Thread] Current Thread [Next in Thread]