https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23237

Martin Renvoize <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Text to go in the|From a plugin template it   |The new feature allows
      release notes|is useful to include other  |plugin authors to use
                   |templates with [% INCLUDE   |template `[% INCLUDE %]`
                   |%] directives. But the TT   |directives in their
                   |module is used by Koha with |templates. It does so by
                   |absolute paths. Relative    |introducing a new variable,
                   |paths are forbidden for     |`PLUGIN_DIR`, allowing the
                   |security reasons. A new     |template engine to locate
                   |param [% PLUGIN_DIR %]      |the includes.
                   |allows plugin templates to  |
                   |know where to find the      |**Usage**:
                   |plugin home directory.      |`[% INCLUDE
                   |                            |"$PLUGIN_DIR/header.tt" %]`

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to