summaryrefslogtreecommitdiffstats
path: root/templates/html/htmlinclude.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/html/htmlinclude.tpl')
-rw-r--r--templates/html/htmlinclude.tpl27
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&#160;
+ {%else %}
+ {% if ii.isImport %}
+ #import&#160;
+ {% else %}
+ #include&#160;
+ {% endif %}
+ {%endif %}
+ {% if ii.isLocal %}"{% else %}&lt;{% 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 %}&gt;{% endif %}
+ </tt>
+ {% endif %}
+{% endspaceless %}