Lines 61-67
sub get_plugins_opac_head {
Link Here
|
61 |
} |
61 |
} |
62 |
); |
62 |
); |
63 |
|
63 |
|
64 |
my @data = map { $_->opac_head || q{} } @plugins; |
64 |
my @data = (); |
|
|
65 |
foreach my $plugin (@plugins){ |
66 |
try { |
67 |
my $datum = $plugin->opac_head || q{}; |
68 |
push(@data,$datum); |
69 |
} |
70 |
catch { |
71 |
warn "Error calling 'opac_head' on the " . $plugin->{class} . "plugin ($_)"; |
72 |
}; |
73 |
} |
65 |
|
74 |
|
66 |
return join( "\n", @data ); |
75 |
return join( "\n", @data ); |
67 |
} |
76 |
} |
Lines 88-94
sub get_plugins_opac_js {
Link Here
|
88 |
} |
97 |
} |
89 |
); |
98 |
); |
90 |
|
99 |
|
91 |
my @data = map { $_->opac_js || q{} } @plugins; |
100 |
my @data = (); |
|
|
101 |
foreach my $plugin (@plugins){ |
102 |
try { |
103 |
my $datum = $plugin->opac_js || q{}; |
104 |
push(@data,$datum); |
105 |
} |
106 |
catch { |
107 |
warn "Error calling 'opac_js' on the " . $plugin->{class} . "plugin ($_)"; |
108 |
}; |
109 |
} |
92 |
|
110 |
|
93 |
return join( "\n", @data ); |
111 |
return join( "\n", @data ); |
94 |
} |
112 |
} |
Lines 115-121
sub get_plugins_intranet_head {
Link Here
|
115 |
} |
133 |
} |
116 |
); |
134 |
); |
117 |
|
135 |
|
118 |
my @data = map { $_->intranet_head || q{} } @plugins; |
136 |
my @data = (); |
|
|
137 |
foreach my $plugin (@plugins){ |
138 |
try { |
139 |
my $datum = $plugin->intranet_head || q{}; |
140 |
push(@data,$datum); |
141 |
} |
142 |
catch { |
143 |
warn "Error calling 'intranet_head' on the " . $plugin->{class} . "plugin ($_)"; |
144 |
}; |
145 |
} |
119 |
|
146 |
|
120 |
return join( "\n", @data ); |
147 |
return join( "\n", @data ); |
121 |
} |
148 |
} |
Lines 142-148
sub get_plugins_intranet_js {
Link Here
|
142 |
} |
169 |
} |
143 |
); |
170 |
); |
144 |
|
171 |
|
145 |
my @data = map { $_->intranet_js || q{} } @plugins; |
172 |
my @data = (); |
|
|
173 |
foreach my $plugin (@plugins){ |
174 |
try { |
175 |
my $datum = $plugin->intranet_js || q{}; |
176 |
push(@data,$datum); |
177 |
} |
178 |
catch { |
179 |
warn "Error calling 'intranet_js' on the " . $plugin->{class} . "plugin ($_)"; |
180 |
}; |
181 |
} |
146 |
|
182 |
|
147 |
return join( "\n", @data ); |
183 |
return join( "\n", @data ); |
148 |
} |
184 |
} |
149 |
- |
|
|