Nick Clemens
0fce4ba81d
To test: 1 - Enable DumpSearchQueryTemplate 2 - Confirm you can find the search query in the HTML as a comment 3 - Enable other template dump preference 4 - Confirm they work as before 5 - Confirm new description of preference makes sense Signed-off-by: Andrew Fuerste-Henry <andrewfh@dubcolib.org> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
33 lines
911 B
HTML
33 lines
911 B
HTML
<!DOCTYPE html>
|
|
<!-- TEMPLATE FILE: [% template.name.split('/').last | html %] -->
|
|
|
|
[% USE Koha %]
|
|
[% USE raw %]
|
|
[% USE Dumper( Indent=1, SortKeys=1 ) %]
|
|
|
|
[% IF Koha.Preference('DumpSearchQueryTemplate') %]
|
|
<!-- SearchQuery
|
|
[% Dumper.dump( search_query ) | $raw %]
|
|
-->
|
|
[% END %]
|
|
|
|
[% IF Koha.Preference('DumpTemplateVarsIntranet') %]
|
|
[% TRY %]
|
|
[% USE Stash %]
|
|
<!--
|
|
[% FILTER replace('<!--', '<!- -') %]
|
|
[% FILTER replace('-->', '- ->') %]
|
|
[% Dumper.dump( Stash.stash() ) | $raw %]
|
|
[% END %]
|
|
[% END %]
|
|
-->
|
|
[% CATCH %]
|
|
<!--
|
|
DumpTemplateVarsIntranet is set to 'Do', but
|
|
Template::Plugin::Stash is not installed.
|
|
-->
|
|
[% END %]
|
|
[% END %]
|
|
|
|
[% IF ( bidi ) %]<html lang="[% lang | html %]" dir="[% bidi | html %]">[% ELSE %]<html lang="[% lang | html %]">[% END %]
|
|
<head>
|