Lines 148-154
sub get_plugins_intranet_js {
Link Here
|
148 |
} |
148 |
} |
149 |
|
149 |
|
150 |
sub get_plugins_intranet_catalog_biblio_tab { |
150 |
sub get_plugins_intranet_catalog_biblio_tab { |
151 |
|
151 |
my ( $self, $params ) = @_; |
152 |
my $tabs = []; |
152 |
my $tabs = []; |
153 |
|
153 |
|
154 |
return $tabs unless C4::Context->config("enable_plugins"); |
154 |
return $tabs unless C4::Context->config("enable_plugins"); |
Lines 164-170
sub get_plugins_intranet_catalog_biblio_tab {
Link Here
|
164 |
|
164 |
|
165 |
foreach my $plugin (@plugins) { |
165 |
foreach my $plugin (@plugins) { |
166 |
try { |
166 |
try { |
167 |
my @newtabs = $plugin->intranet_catalog_biblio_tab(); |
167 |
my @newtabs = $plugin->intranet_catalog_biblio_tab($params); |
168 |
foreach my $newtab (@newtabs) { |
168 |
foreach my $newtab (@newtabs) { |
169 |
# Add a unique HTML id |
169 |
# Add a unique HTML id |
170 |
my $html_id = 'tab-'. $plugin->{class} . '-' . $newtab->title; |
170 |
my $html_id = 'tab-'. $plugin->{class} . '-' . $newtab->title; |