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

Joshua Ferraro jmf at kados.org
Wed Mar 1 16:38:54 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:38:54

Modified files:
	updater        : updatedatabase 

Log message:
	Adding patronimages syspref. Adding opaclayoutstylesheet. Some explainations
	are in order:
	
	Right now there are three stylesheet sysprefs:
	
	opacstylesheet - an external stylesheet specified by URL (replaces all other
	stylesheets)
	
	opaccolorstylesheet - local stylesheet specified by filename
	opaclayoutstylesheet - local stylesheet specified by filename

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

Patches:
Index: koha/updater/updatedatabase
diff -u koha/updater/updatedatabase:1.100.2.27 koha/updater/updatedatabase:1.100.2.28
--- koha/updater/updatedatabase:1.100.2.27	Mon Feb 27 15:40:32 2006
+++ koha/updater/updatedatabase	Wed Mar  1 15:38:53 2006
@@ -1,6 +1,6 @@
 #!/usr/bin/perl
 
-# $Id: updatedatabase,v 1.100.2.27 2006/02/27 15:40:32 tipaul Exp $
+# $Id: updatedatabase,v 1.100.2.28 2006/03/01 15:38:53 kados Exp $
 
 # Database Updater
 # This script checks for required updates to the database.
@@ -847,11 +847,30 @@
             value               => '',
             forceupdate         => { 'explanation' => 1,
                                      'type' => 1},
-            explanation         => 'Enter a complete URL to use an alternate color stylesheet in OPAC',
+            explanation         => 'Enter the name of the color stylesheet to use in the OPAC',
             type                => 'free',
         },
 	{
             uniquefieldrequired => 'variable',
+            variable            => 'opaclayoutstylesheet',
+            value               => '',
+            forceupdate         => { 'explanation' => 1,
+                                     'type' => 1},
+            explanation         => 'Enter the name of the layout stylesheet to use in the OPAC',
+            type                => 'free',
+        },
+
+        {
+            uniquefieldrequired => 'variable',
+            variable            => 'patronimages',
+            value               => '0',
+            forceupdate         => { 'explanation' => 1,
+                                     'type' => 1},
+            explanation         => 'Turn on/off display of patron images in Intranet',
+            type                => 'YesNo',
+        },
+	{
+            uniquefieldrequired => 'variable',
             variable            => 'intranetstylesheet',
             value               => '',
             forceupdate         => { 'explanation' => 1,
@@ -865,7 +884,7 @@
             value               => '',
             forceupdate         => { 'explanation' => 1,
                                      'type' => 1},
-            explanation         => 'Enter a complete URL to use an alternate color stylesheet in Intranet',
+            explanation         => 'Enter the name of the color stylesheet to use in Intranet',
             type                => 'free',
         },  
         {
@@ -1681,6 +1700,18 @@
 exit;
 
 # $Log: updatedatabase,v $
+# Revision 1.100.2.28  2006/03/01 15:38:53  kados
+# Adding patronimages syspref. Adding opaclayoutstylesheet. Some explainations
+# are in order:
+#
+# Right now there are three stylesheet sysprefs:
+#
+# opacstylesheet - an external stylesheet specified by URL (replaces all other
+# stylesheets)
+#
+# opaccolorstylesheet - local stylesheet specified by filename
+# opaclayoutstylesheet - local stylesheet specified by filename
+#
 # Revision 1.100.2.27  2006/02/27 15:40:32  tipaul
 # setting serialadditems systempreference to 0 by default : no behaviour change when upgrading Koha
 #





More information about the Koha-cvs mailing list