Lines 137-148
Then name of the plugin method used. For example 'tool' or 'report'.
Link Here
|
137 |
The URL path to the plugin. It can be used in templates in order to localize |
137 |
The URL path to the plugin. It can be used in templates in order to localize |
138 |
ressources like images in html tags, or other templates. |
138 |
ressources like images in html tags, or other templates. |
139 |
|
139 |
|
140 |
=item B<PLUGN_DIR> |
140 |
=item B<PLUGIN_DIR> |
141 |
|
141 |
|
142 |
The absolute pathname to the plugin directory. Necessary to include other |
142 |
The absolute pathname to the plugin directory. Necessary to include other |
143 |
templates from a template with the [% INCLUDE %] directive. |
143 |
templates from a template with the [% INCLUDE %] directive. |
144 |
|
144 |
|
145 |
=over |
145 |
=back |
146 |
|
146 |
|
147 |
|
147 |
|
148 |
=cut |
148 |
=cut |
Lines 177-183
sub get_template {
Link Here
|
177 |
sub get_metadata { |
177 |
sub get_metadata { |
178 |
my ( $self, $args ) = @_; |
178 |
my ( $self, $args ) = @_; |
179 |
|
179 |
|
180 |
#FIXME: Why another encoding issue? For metadata containg non latin characters. |
180 |
#FIXME: Why another encoding issue? For metadata containing non latin characters. |
181 |
my $metadata = $self->{metadata}; |
181 |
my $metadata = $self->{metadata}; |
182 |
utf8::decode($metadata->{$_}) for keys %$metadata; |
182 |
utf8::decode($metadata->{$_}) for keys %$metadata; |
183 |
return $metadata; |
183 |
return $metadata; |
184 |
- |
|
|