From d27c5bb42742926fab6817bf02679c9b9b02f94a Mon Sep 17 00:00:00 2001
From: rangi
diff --git a/koha-tmpl/intranet-tmpl/prog/en/members/memberentryC.tmpl b/koha-tmpl/intranet-tmpl/prog/en/members/memberentryC.tmpl index 5abd9a7249..43cc3fca87 100755 --- a/koha-tmpl/intranet-tmpl/prog/en/members/memberentryC.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/members/memberentryC.tmpl @@ -137,7 +137,11 @@ + " > + + " > +
diff --git a/koha-tmpl/intranet-tmpl/prog/en/members/memberentryP.tmpl b/koha-tmpl/intranet-tmpl/prog/en/members/memberentryP.tmpl index dc44cef870..728f71321c 100755 --- a/koha-tmpl/intranet-tmpl/prog/en/members/memberentryP.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/members/memberentryP.tmpl @@ -132,7 +132,11 @@ - " > + + " > + + " > +
diff --git a/koha-tmpl/intranet-tmpl/prog/fr/members/memberentryA.tmpl b/koha-tmpl/intranet-tmpl/prog/fr/members/memberentryA.tmpl index 29043d944f..6848b99fba 100644 --- a/koha-tmpl/intranet-tmpl/prog/fr/members/memberentryA.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/fr/members/memberentryA.tmpl @@ -132,7 +132,14 @@ - " > + + " > + + " > + + + +
diff --git a/members/memberentry.pl b/members/memberentry.pl index 8788e41ed5..aad5a04ceb 100755 --- a/members/memberentry.pl +++ b/members/memberentry.pl @@ -83,6 +83,8 @@ my $check_categorytype=$input->param('check_categorytype'); # NOTE: Alert for ethnicity and ethnotes fields, they are unvalided in all borrowers form my $borrower_data; +$template->param("uppercasesurnames" => C4::Context->preference('uppercasesurnames')); + #function to automatic setup the mandatory fields (visual with css) my $check_BorrowerMandatoryField=C4::Context->preference("BorrowerMandatoryField"); my @field_check=split(/\|/,$check_BorrowerMandatoryField); diff --git a/updater/updatedatabase b/updater/updatedatabase index 18fd16f057..441fba8dd0 100755 --- a/updater/updatedatabase +++ b/updater/updatedatabase @@ -519,6 +519,14 @@ my %tabledata = ( explanation => "Enter a specific hash for NoZebra indexes. Enter : 'indexname' => '100a,245a,500*','index2' => '...'", type => 'Free', }, + { + uniquefieldrequired => 'variable', + variable => 'uppercasesurnames', + value => '0', + forceupdate => {'explanation' => 1, 'type' => 1}, + explanation => "Force Surnames to be uppercase", + type => 'YesNo', + }, ], userflags => [ { @@ -2048,6 +2056,9 @@ $sth->finish; exit; # $Log$ +# Revision 1.171 2007/07/02 02:30:16 rangi +# Fix for bug 1296, making surnames uppercase a systems preference +# # Revision 1.170 2007/06/26 13:25:37 tipaul # removing some useless tables from updatedatabase #