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

Joshua Ferraro jmf at kados.org
Wed Apr 5 16:58:04 CEST 2006


CVSROOT:	/sources/koha
Module name:	koha
Branch: 	rel_2_2
Changes by:	Joshua Ferraro <kados at savannah.gnu.org>	06/04/05 14:58:04

Modified files:
	updater        : updatedatabase 

Log message:
	adding TemplateEncoding syspref: allows librarian to specify the
	encoding to use on templates.

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

Patches:
Index: koha/updater/updatedatabase
diff -u koha/updater/updatedatabase:1.100.2.37 koha/updater/updatedatabase:1.100.2.38
--- koha/updater/updatedatabase:1.100.2.37	Tue Apr  4 13:54:10 2006
+++ koha/updater/updatedatabase	Wed Apr  5 14:58:04 2006
@@ -1,6 +1,6 @@
 #!/usr/bin/perl
 
-# $Id: updatedatabase,v 1.100.2.37 2006/04/04 13:54:10 tipaul Exp $
+# $Id: updatedatabase,v 1.100.2.38 2006/04/05 14:58:04 kados Exp $
 
 # Database Updater
 # This script checks for required updates to the database.
@@ -1093,7 +1093,19 @@
 	    				type' => 1},
             explanation         => 'see: associates.amazon.com/gp/flex/associates/apply-login.html',
             type                => 'free',
-        },                                                                      
+        },                                                                     
+		{   
+            uniquefieldrequired => 'variable',
+			forceupdate     => { 'explanation' => 1,
+                         'type' => 1,
+                     'options' => 1 },
+            variable            => 'TemplateEncoding',
+            value               => 'iso-8859-1',
+            explanation         => 'Specify the encoding to use in Templates',
+        	type        => 'Choice',
+        	options         => 'iso-8859-1|utf-8'
+        },
+ 
 	{
             uniquefieldrequired => 'variable',
             variable            => 'opaccredits',
@@ -1749,6 +1761,10 @@
 exit;
 
 # $Log: updatedatabase,v $
+# Revision 1.100.2.38  2006/04/05 14:58:04  kados
+# adding TemplateEncoding syspref: allows librarian to specify the
+# encoding to use on templates.
+#
 # Revision 1.100.2.37  2006/04/04 13:54:10  tipaul
 # advancedMARCeditor systempref management
 #





More information about the Koha-cvs mailing list