[Top][All Lists]
[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: |
Sat, 22 Apr 2006 13:52:13 +0000 |
CVSROOT: /sources/koha
Module name: koha
Branch: rel_2_2
Changes by: Owen Leonard <address@hidden> 06/04/22 13:52:12
Modified files:
updater : updatedatabase
Log message:
Adding opacheader and IntranetBiblioDefaultView system preferences
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha/updater/updatedatabase.diff?only_with_tag=rel_2_2&tr1=1.100.2.41&tr2=1.100.2.42&r1=text&r2=text
Patches:
Index: koha/updater/updatedatabase
diff -u koha/updater/updatedatabase:1.100.2.41
koha/updater/updatedatabase:1.100.2.42
--- koha/updater/updatedatabase:1.100.2.41 Fri Apr 21 08:54:55 2006
+++ koha/updater/updatedatabase Sat Apr 22 13:52:12 2006
@@ -1,6 +1,6 @@
#!/usr/bin/perl
-# $Id: updatedatabase,v 1.100.2.41 2006/04/21 08:54:55 hdl Exp $
+# $Id: updatedatabase,v 1.100.2.42 2006/04/22 13:52:12 oleonard Exp $
# Database Updater
# This script checks for required updates to the database.
@@ -1295,6 +1295,29 @@
type => 'Textarea',
options => '70|10'
},
+
+{
+ uniquefieldrequired => 'variable',
+ variable => 'opacheader',
+ value => '',
+ forceupdate => { 'explanation' => 1,
+ 'type' => 1},
+ explanation => 'Enter HTML to be included as a custom
header in the OPAC',
+ type => 'Textarea',
+ options => '30|10'
+ },
+
+ {
+ uniquefieldrequired => 'variable',
+ variable => 'IntranetBiblioDefaultView',
+ value => 'marc',
+ forceupdate => { 'explanation' => 1,
+ 'type' => 1},
+ explanation => 'Define the default view of a biblio in the
intranet. Can be either normal, marc, or ISBD',
+ type => 'Choice',
+ options => 'normal|marc|isbd'
+ },
+
{
uniquefieldrequired => 'variable',
variable => 'serialsadditems',
@@ -2080,6 +2103,9 @@
exit;
# $Log: updatedatabase,v $
+# Revision 1.100.2.42 2006/04/22 13:52:12 oleonard
+# Adding opacheader and IntranetBiblioDefaultView system preferences
+#
# Revision 1.100.2.41 2006/04/21 08:54:55 hdl
# Adding two new sysprefs :
# - z3950NormalizeAuthor of type YesNo. Set this to yes if you want author
field to be filled with authorities fields when importing biblio in z3950