}
push( @authorised_values, "branches" );
push( @authorised_values, "itemtypes" );
+ push( @authorised_values, "cn_source" );
# build thesaurus categories list
$sth2->finish;
},
-default => $data->{'tab'},
-size => 1,
- -tabindex => '',
-multiple => 0,
);
$row_data{tagsubfield} =
. $data->{'tagsubfield'}
. "\" id=\"tagsubfield\" />";
$row_data{subfieldcode} = $data->{'tagsubfield'} eq '@'?'_':$data->{'tagsubfield'};
+ $row_data{urisubfieldcode} = $row_data{subfieldcode} eq '%' ? 'pct' : $row_data{subfieldcode};
$row_data{liblibrarian} = CGI::escapeHTML( $data->{'liblibrarian'} );
$row_data{libopac} = CGI::escapeHTML( $data->{'libopac'} );
$row_data{seealso} = CGI::escapeHTML( $data->{'seealso'} );
-values => \@kohafields,
-default => "$data->{'kohafield'}",
-size => 1,
- -tabindex => '',
-multiple => 0,
);
$row_data{authorised_value} = CGI::scrolling_list(
- -name => 'authorised_value',
- -id => 'authorised_value',
+ -name => "authorised_value",
+ -id => "authorised_value$i",
-values => \@authorised_values,
-default => $data->{'authorised_value'},
-size => 1,
- -tabindex => '',
-multiple => 0,
);
$row_data{value_builder} = CGI::scrolling_list(
- -name => 'value_builder',
- -id => 'value_builder',
+ -name => "value_builder",
+ -id => "value_builder$i",
-values => \@value_builder,
-default => $data->{'value_builder'},
-size => 1,
- -tabindex => '',
-multiple => 0,
);
$row_data{authtypes} = CGI::scrolling_list(
- -name => 'authtypecode',
- -id => 'authtypecode',
+ -name => "authtypecode",
+ -id => "authtypecode$i",
-values => \@authtypes,
-default => $data->{'authtypecode'},
-size => 1,
- -tabindex => '',
-multiple => 0,
);
$row_data{repeatable} = CGI::checkbox(
-name => "repeatable$i",
-checked => $data->{'repeatable'} ? 'checked' : '',
-value => 1,
- -tabindex => '',
-label => '',
-id => "repeatable$i"
);
$row_data{mandatory} = CGI::checkbox(
- -name => "mandatory$i",
+ -name => "mandatory",
-checked => $data->{'mandatory'} ? 'checked' : '',
-value => 1,
- -tabindex => '',
-label => '',
-id => "mandatory$i"
);
-id => "isurl$i",
-checked => $data->{'isurl'} ? 'checked' : '',
-value => 1,
- -tabindex => '',
-label => ''
);
$row_data{row} = $i;
},
-default => "",
-size => 1,
- -tabindex => '',
-multiple => 0,
);
$row_data{tagsubfield} =
-values => \@kohafields,
-default => "",
-size => 1,
- -tabindex => '',
-multiple => 0,
);
$row_data{hidden} = "";
-id => "repeatable$j",
-checked => '',
-value => 1,
- -tabindex => '',
-label => ''
);
$row_data{mandatory} = CGI::checkbox(
-id => "mandatory$j",
-checked => '',
-value => 1,
- -tabindex => '',
-label => ''
);
$row_data{isurl} = CGI::checkbox(
-id => "isurl$j",
-checked => '',
-value => 1,
- -tabindex => '',
-label => ''
);
$row_data{value_builder} = CGI::scrolling_list(
- -name => 'value_builder',
- -id => 'value_builder',
+ -name => "value_builder",
+ -id => "value_builder$j",
-values => \@value_builder,
-default => $data->{'value_builder'},
-size => 1,
- -tabindex => '',
-multiple => 0,
);
$row_data{authorised_value} = CGI::scrolling_list(
- -name => 'authorised_value',
- -id => 'authorised_value',
+ -name => "authorised_value",
+ -id => "authorised_value$j",
-values => \@authorised_values,
-size => 1,
- -tabindex => '',
-multiple => 0,
);
$row_data{authtypes} = CGI::scrolling_list(
- -name => 'authtypecode',
- -id => 'authtypecode',
+ -name => "authtypecode",
+ -id => "authtypecode$j",
-values => \@authtypes,
-size => 1,
- -tabindex => '',
-multiple => 0,
);
$row_data{link} = CGI::escapeHTML( $data->{'link'} );
if ( $offset > 0 ) {
my $prevpage = $offset - $pagesize;
$template->param(
- prev => "<a href=\"$script_name?offset=$prevpage\">" );
+ prev => "<a href=\"$script_name?offset=$prevpage\&tagfield=$tagfield\&frameworkcode=$frameworkcode \">" );
}
if ( $offset + $pagesize < $count ) {
my $nextpage = $offset + $pagesize;
$template->param(
- next => "<a href=\"$script_name?offset=$nextpage\">" );
+ next => "<a href=\"$script_name?offset=$nextpage\&tagfield=$tagfield\&frameworkcode=$frameworkcode \">" );
}
} #---- END $OP eq DEFAULT