summaryrefslogtreecommitdiff
path: root/buildscripts/PhpDocumentor/phpDocumentor/Converters/HTML/Smarty/templates/PradoSoft/templates/tutorial_toc.tpl
blob: 1db344384429b658590d4bff02840fe0be6d6f49 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{if count($toc)}
<h1 align="center">Table of Contents</h1>
<ul>
{section name=toc loop=$toc}
{if $toc[toc].tagname == 'refsect1'}
{assign var="context" value="refsect1"}
{$toc[toc].link}<br />
{/if}
{if $toc[toc].tagname == 'refsect2'}
{assign var="context" value="refsect2"}
&nbsp;&nbsp;&nbsp;{$toc[toc].link}<br />
{/if}
{if $toc[toc].tagname == 'refsect3'}
{assign var="context" value="refsect3"}
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{$toc[toc].link}<br />
{/if}
{if $toc[toc].tagname == 'table'}
{if $context == 'refsect2'}&nbsp;&nbsp;&nbsp;{/if}
{if $context == 'refsect3'}&nbsp;&nbsp;&nbsp;{/if}
Table: {$toc[toc].link}
{/if}
{if $toc[toc].tagname == 'example'}
{if $context == 'refsect2'}&nbsp;&nbsp;&nbsp;{/if}
{if $context == 'refsect3'}&nbsp;&nbsp;&nbsp;{/if}
Table: {$toc[toc].link}
{/if}
{/section}
</ul>
{/if}