• Marvin Scholz's avatar
    Add support for 'admin' includes from web XSLT files · 5b416b31
    Marvin Scholz authored
    This adds support for including xslt files that are in the admin
    directory in an xslt file which is in the webroot, without having to
    specify the full path.
    
    For example:
    
        <xsl:include href="includes/head.xsl"/>
    
    will look inside the admin directory (foo/bar/admin/includes/header.xsl)
    and include it, if it's found. If not it will as usual look for it in
    the directory where the xslt file is located. This enables us to have
    common files like the header, footer, json stuff, etc. in the admin
    directory, so we don't need to have an extra copy in the web folder.
    
    Note:
    The configuration value for the admin directory is requested
    every time an xslt is requested (if not in the cache).
    Additonally it should be noted that the includes are not cached.
    5b416b31
Name
Last commit
Last update
admin Loading commit data...
conf Loading commit data...
doc Loading commit data...
examples Loading commit data...
m4 @ 17a3e593 Loading commit data...
src Loading commit data...
web Loading commit data...
win32 Loading commit data...
.gitignore Loading commit data...
.gitmodules Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
ChangeLog Loading commit data...
HACKING Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
README.md Loading commit data...
autogen.sh Loading commit data...
configure.in Loading commit data...