Koha/koha-tmpl/opac-tmpl/bootstrap/en
Marc Véron ae684fc949 Bug 18776: Translatability: Get rid of exposed tt directives in opac-advsearch.tt
The file opac-advsearch.tt exposes template directives to translation where translators should not be confronted with.
Example in po file:
"[%% IF ( ( OpacAdvSearchOptions and OpacAdvSearchOptions.grep('itemtype')."
"size > 0 and not expanded_options ) or ( OpacAdvSearchMoreOptions and "
"OpacAdvSearchMoreOptions.grep('itemtype').size > 0 and expanded_options ) ) "
"%%] "

To test:
- Apply patch
- Verify that advanced search in OPAC behaves as before
- Create a new translation for a 'language' aa-AA (perl translate create aa-AA)
- Verify that template directives ar no longer exposed in aa-AA-opac-bootstrap.po

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2017-08-30 16:43:36 -03:00
..
includes Bug 18726: Fix XSS at the OPAC - biblionumber 2017-08-29 12:00:37 -03:00
modules Bug 18776: Translatability: Get rid of exposed tt directives in opac-advsearch.tt 2017-08-30 16:43:36 -03:00
xslt Bug 15140 (QA Followup) lowercase the search index 2017-07-26 14:42:45 -03:00