[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] koha/admin marc_subfields_structure.pl [R_2-2-7-1]
From: |
paul poulain |
Subject: |
[Koha-cvs] koha/admin marc_subfields_structure.pl [R_2-2-7-1] |
Date: |
Mon, 30 Apr 2007 09:39:49 +0000 |
CVSROOT: /sources/koha
Module name: koha
Branch: R_2-2-7-1
Changes by: paul poulain <tipaul> 07/04/30 09:39:49
Modified files:
admin : marc_subfields_structure.pl
Log message:
fix for #1288, error when creating a new subfield (repeatable &
mandatory not taken in account
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/admin/marc_subfields_structure.pl?cvsroot=koha&only_with_tag=R_2-2-7-1&r1=1.32.2.11&r2=1.32.2.11.2.1
Patches:
Index: marc_subfields_structure.pl
===================================================================
RCS file: /sources/koha/koha/admin/marc_subfields_structure.pl,v
retrieving revision 1.32.2.11
retrieving revision 1.32.2.11.2.1
diff -u -b -r1.32.2.11 -r1.32.2.11.2.1
--- marc_subfields_structure.pl 20 Jun 2006 16:21:42 -0000 1.32.2.11
+++ marc_subfields_structure.pl 30 Apr 2007 09:39:49 -0000 1.32.2.11.2.1
@@ -237,7 +237,7 @@
$i++;
}
# add more_subfields empty lines for add if needed
- for (my $i=1;$i<=$more_subfields;$i++) {
+ for (my $j=1;$j<=$more_subfields;$j++) {
my %row_data; # get a fresh hash for the row data
$row_data{tab} = CGI::scrolling_list(-name=>'tab',
-id => "tab$i",
@@ -257,19 +257,19 @@
$row_data{libopac} = "";
$row_data{seealso} = "";
$row_data{hidden} = "";
- $row_data{repeatable} = CGI::checkbox( -name=> 'repeatable',
+ $row_data{repeatable} = CGI::checkbox( -name=> "repeatable$i",
-id => "repeatable$i",
-checked => '',
-value => 1,
-tabindex=>'',
-label => '');
- $row_data{mandatory} = CGI::checkbox( -name=> 'mandatory',
+ $row_data{mandatory} = CGI::checkbox( -name=> "mandatory$i",
-id => "mandatory$i",
-checked => '',
-value => 1,
-tabindex=>'',
-label => '');
- $row_data{isurl} = CGI::checkbox(-name => 'isurl',
+ $row_data{isurl} = CGI::checkbox(-name => "isurl$i",
-id => "isurl$i",
-checked => '',
-value => 1,
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Koha-cvs] koha/admin marc_subfields_structure.pl [R_2-2-7-1],
paul poulain <=