From 71e21fc074b2fd074c526fb793c0e5e01222edb8 Mon Sep 17 00:00:00 2001 From: doxulting Date: Thu, 2 Jun 2005 15:50:23 +0000 Subject: [PATCH] Plugin for field 128b --- value_builder/unimarc_field_128b.pl | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/value_builder/unimarc_field_128b.pl b/value_builder/unimarc_field_128b.pl index 2b643861b3..11bdac1066 100755 --- a/value_builder/unimarc_field_128b.pl +++ b/value_builder/unimarc_field_128b.pl @@ -52,7 +52,7 @@ function Blur$function_name(subfield_managed) { function Clic$function_name(i) { defaultvalue=document.forms[0].field_value[i].value; - newin=window.open(\"../plugin_launcher.pl?plugin_name=unimarc_field_128b.pl&index=\"+i+\"&result=\"+defaultvalue,\"unimarc field 128b\",'width=1000,height=375,toolbar=false,scrollbars=yes'); + newin=window.open(\"../plugin_launcher.pl?plugin_name=unimarc_field_128b.pl&index=\"+i+\"&result=\"+defaultvalue,\"unimarc field 128b\",'width=800,height=400,toolbar=false,scrollbars=yes'); } @@ -80,8 +80,10 @@ my ($template, $loggedinuser, $cookie) debug => 1, }); my $f1 = substr($result,0,2); + my $f2 = substr($result,2,2); $template->param(index => $index, - "f1$f1" => $f1); + "f1$f1" => $f1, + f2 => $f2); print $input->header(-cookie => $cookie),$template->output; } -- 2.39.5