Lines 136-142
sub generate_subfield_form {
Link Here
|
136 |
$value =~ s/DD/$day/g; |
136 |
$value =~ s/DD/$day/g; |
137 |
} |
137 |
} |
138 |
|
138 |
|
139 |
$subfield_data{visibility} = "display:none;" if (($subfieldlib->{hidden} > 4) || ($subfieldlib->{hidden} < -4)); |
139 |
$subfield_data{visibility} = "display:none;" if (($subfieldlib->{hidden} > 4) || ($subfieldlib->{hidden} =< -4)); |
140 |
|
140 |
|
141 |
my $pref_itemcallnumber = C4::Context->preference('itemcallnumber'); |
141 |
my $pref_itemcallnumber = C4::Context->preference('itemcallnumber'); |
142 |
if (!$value && $subfieldlib->{kohafield} eq 'items.itemcallnumber' && $pref_itemcallnumber) { |
142 |
if (!$value && $subfieldlib->{kohafield} eq 'items.itemcallnumber' && $pref_itemcallnumber) { |
Lines 231-237
sub generate_subfield_form {
Link Here
|
231 |
} |
231 |
} |
232 |
} |
232 |
} |
233 |
|
233 |
|
234 |
if ($subfieldlib->{'hidden'}) { |
234 |
if ( $subfieldlib->{hidden} > 4 or $subfieldlib->{hidden} <= -4 ) { |
235 |
$subfield_data{marc_value} = qq(<input type="hidden" $attributes /> $authorised_lib{$value}); |
235 |
$subfield_data{marc_value} = qq(<input type="hidden" $attributes /> $authorised_lib{$value}); |
236 |
} |
236 |
} |
237 |
else { |
237 |
else { |
238 |
- |
|
|