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

Joshua Ferraro jmf at kados.org
Wed Mar 1 16:51:28 CET 2006


CVSROOT:	/sources/koha
Module name:	koha
Branch: 	rel_2_2
Changes by:	Joshua Ferraro <kados at savannah.gnu.org>	06/03/01 15:51:28

Modified files:
	updater        : updatedatabase 

Log message:
	adds opaclanguages syspref, which allows turning on/off the display of
	the languages pref on OPAC (default is on)

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

Patches:
Index: koha/updater/updatedatabase
diff -u koha/updater/updatedatabase:1.100.2.28 koha/updater/updatedatabase:1.100.2.29
--- koha/updater/updatedatabase:1.100.2.28	Wed Mar  1 15:38:53 2006
+++ koha/updater/updatedatabase	Wed Mar  1 15:51:28 2006
@@ -1,6 +1,6 @@
 #!/usr/bin/perl
 
-# $Id: updatedatabase,v 1.100.2.28 2006/03/01 15:38:53 kados Exp $
+# $Id: updatedatabase,v 1.100.2.29 2006/03/01 15:51:28 kados Exp $
 
 # Database Updater
 # This script checks for required updates to the database.
@@ -859,7 +859,16 @@
             explanation         => 'Enter the name of the layout stylesheet to use in the OPAC',
             type                => 'free',
         },
-
+	
+        {
+            uniquefieldrequired => 'variable',
+            variable            => 'opaclanguages',
+            value               => '1',
+            forceupdate         => { 'explanation' => 1,
+                                     'type' => 1},
+            explanation         => 'Turn on/off display of Change Language feature on OPAC',
+            type                => 'YesNo',
+        },
         {
             uniquefieldrequired => 'variable',
             variable            => 'patronimages',
@@ -1700,6 +1709,10 @@
 exit;
 
 # $Log: updatedatabase,v $
+# Revision 1.100.2.29  2006/03/01 15:51:28  kados
+# adds opaclanguages syspref, which allows turning on/off the display of
+# the languages pref on OPAC (default is on)
+#
 # Revision 1.100.2.28  2006/03/01 15:38:53  kados
 # Adding patronimages syspref. Adding opaclayoutstylesheet. Some explainations
 # are in order:





More information about the Koha-cvs mailing list