minor modifs for hidden subfields
This commit is contained in:
parent
75e8b810e8
commit
19ae27fc49
2 changed files with 10 additions and 3 deletions
|
@ -184,8 +184,8 @@ sub create_input () {
|
|||
my ($function_name,$javascript) = plugin_javascript($dbh,$rec,$tagslib,$i,$tabloop);
|
||||
$subfield_data{marc_value}="<input type=\"text\" name=\"field_value\" value=\"$value\" DISABLE READONLY size=47 maxlength=255 OnFocus=\"javascript:Focus$function_name($i)\" OnBlur=\"javascript:Blur$function_name($i)\"> <a href=\"javascript:Clic$function_name($i)\">...</a> $javascript";
|
||||
# it's an hidden field
|
||||
} elsif ($tag eq '') {
|
||||
$subfield_data{marc_value}="<input type=\"hidden\" name=\"field_value\" size=50 maxlength=255>";
|
||||
} elsif ($tag eq '' or $tagslib->{$tag}->{$subfield}->{'hidden'}) {
|
||||
$subfield_data{marc_value}="<input type=\"text\" name=\"field_value\" value=\"$value\" size=50 maxlength=255 DISABLE READONLY>";
|
||||
# it's a standard field
|
||||
} else {
|
||||
$subfield_data{marc_value}="<input type=\"text\" name=\"field_value\" value=\"$value\" size=50 maxlength=255>"; #"
|
||||
|
|
|
@ -20,7 +20,14 @@
|
|||
<a href="javascript:Dopop('detailprint.pl?bib=<!-- TMPL_VAR NAME="biblionumber" -->')" class="button catalogue">
|
||||
Print
|
||||
</a>
|
||||
|
||||
<!-- TMPL_IF name="subscriptionid" -->
|
||||
<a href="bull/subscription-detail.pl?subscriptionid=<!-- TMPL_VAR NAME="subscriptionid" -->" class="button catalogue">
|
||||
Subscription
|
||||
</a>
|
||||
<a href="bull/serial-issues.pl?subscriptionid=<!-- TMPL_VAR NAME="subscriptionid" -->" class="button catalogue" title="Serial issues">
|
||||
Issues
|
||||
</a>
|
||||
<!-- /TMPL_IF -->
|
||||
<!-- TMPL_IF NAME="norequests" -->
|
||||
<!-- TMPL_ELSE -->
|
||||
<a href="request.pl?bib=<!-- TMPL_VAR NAME="biblionumber" -->" class="button catalogue">Request</a>
|
||||
|
|
Loading…
Reference in a new issue