diff options
Diffstat (limited to 'templates/html/htmlinclude.tpl')
-rw-r--r-- | templates/html/htmlinclude.tpl | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/templates/html/htmlinclude.tpl b/templates/html/htmlinclude.tpl new file mode 100644 index 0000000..24bfac6 --- /dev/null +++ b/templates/html/htmlinclude.tpl @@ -0,0 +1,27 @@ +{# input: ii with attributes (file,name,isImport,isLocal), compound with attribute language #} +{% spaceless %} + {% if ii.file or ii.name %} + <tt> + {% if compound.language=='java' or compound.language=='idl' %} + import  + {%else %} + {% if ii.isImport %} + #import  + {% else %} + #include  + {% endif %} + {%endif %} + {% if ii.isLocal %}"{% else %}<{% endif %} + {% if ii.name %} + {% if ii.file %} + <a class="el" href="{{ ii.file.sourceFileName }}{{ config.HTML_FILE_EXTENSION }}">{{ ii.name }}</a> + {% else %} + {{ ii.name }} + {% endif %} + {% else %} + <a class="el" href="{{ ii.file.sourceFileName }}{{ config.HTML_FILE_EXTENSION }}">{{ ii.file.name }}</a> + {% endif %} + {% if ii.isLocal %}"{% else %}>{% endif %} + </tt> + {% endif %} +{% endspaceless %} |