From 10efbe0bf55b5a986288a99451f5d804db760ce1 Mon Sep 17 00:00:00 2001 From: kados Date: Wed, 1 Mar 2006 15:38:53 +0000 Subject: [PATCH] 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 --- updater/updatedatabase | 35 +++++++++++++++++++++++++++++++++-- 1 file changed, 33 insertions(+), 2 deletions(-) diff --git a/updater/updatedatabase b/updater/updatedatabase index 858d0d26d1..16e214870a 100755 --- a/updater/updatedatabase +++ b/updater/updatedatabase @@ -847,9 +847,28 @@ my %tabledata = ( 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', @@ -865,7 +884,7 @@ my %tabledata = ( 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 @@ $sth->finish; exit; # $Log$ +# 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 #