16 |
|
|
17 |
=head1 VERSION |
=head1 VERSION |
18 |
|
|
19 |
Version 0.03 |
Version 0.05 |
20 |
|
|
21 |
=cut |
=cut |
22 |
|
|
23 |
our $VERSION = '0.03'; |
our $VERSION = '0.05'; |
24 |
|
|
25 |
=head1 SYNOPSIS |
=head1 SYNOPSIS |
26 |
|
|
203 |
my $d = $item->{'display'}->[$i] || die "can't find value $i for type display in field $display"; |
my $d = $item->{'display'}->[$i] || die "can't find value $i for type display in field $display"; |
204 |
|
|
205 |
push @html, <<__JS_LINK_SEARCH__ |
push @html, <<__JS_LINK_SEARCH__ |
206 |
<a href="#" onclick="new Ajax.Updater( 'results', '/search/results?$search=$s', { asynchronous: 1,onLoading: function(request){show_searching();},onLoaded: function(request){hide_searching();} } ) ; return false">$d</a> |
<a href="#" onclick="new WebPAC.Updater( 'results', '/search/results?$search=$s', { asynchronous: 1,onLoading: function(request){show_searching();},onLoaded: function(request){hide_searching();} } ) ; return false">$d</a> |
207 |
__JS_LINK_SEARCH__ |
__JS_LINK_SEARCH__ |
208 |
} |
} |
209 |
|
|
262 |
$args->{'load_template'} = sub { |
$args->{'load_template'} = sub { |
263 |
my $template = shift or return "Logger.error('load_template missing template name!'); return false;"; |
my $template = shift or return "Logger.error('load_template missing template name!'); return false;"; |
264 |
return "load_template($template); return false;"; |
return "load_template($template); return false;"; |
265 |
} |
}; |
266 |
|
|
267 |
my $out; |
my $out; |
268 |
|
|