use C4::Search;
use C4::Output;
-=head1
+=head1 FUNCTIONS
-plugin_parameters : other parameters added when the plugin is called by the dopop function
+=head2 plugin_parameters
+
+Other parameters added when the plugin is called by the dopop function
=cut
+
sub plugin_parameters {
my ($dbh,$record,$tagslib,$i,$tabloop) = @_;
return "";
my $dbh = C4::Context->dbh;
-my ($template, $loggedinuser, $cookie)
- = get_template_and_user({template_name => "cataloguing/value_builder/unimarc_field_124a.tt",
- query => $input,
- type => "intranet",
- authnotrequired => 0,
- flagsrequired => {editcatalogue => '*'},
- debug => 1,
- });
+ my ($template, $loggedinuser, $cookie) = get_template_and_user(
+ {
+ template_name => "cataloguing/value_builder/unimarc_field_124a.tt",
+ query => $input,
+ type => "intranet",
+ authnotrequired => 0,
+ flagsrequired => { editcatalogue => '*' },
+ debug => 1,
+ }
+ );
my $f1 = substr($result,0,1);
$template->param(index => $index,
"f1$f1" => 1);