summaryrefslogtreecommitdiff
path: root/buildscripts/apigen/pradosoft/overview.latte
diff options
context:
space:
mode:
Diffstat (limited to 'buildscripts/apigen/pradosoft/overview.latte')
-rw-r--r--buildscripts/apigen/pradosoft/overview.latte68
1 files changed, 26 insertions, 42 deletions
diff --git a/buildscripts/apigen/pradosoft/overview.latte b/buildscripts/apigen/pradosoft/overview.latte
index 96d205ff..1db4e4f9 100644
--- a/buildscripts/apigen/pradosoft/overview.latte
+++ b/buildscripts/apigen/pradosoft/overview.latte
@@ -1,56 +1,40 @@
-{*
-ApiGen 2.8.0 - API documentation generator for PHP 5.3+
-
-Copyright (c) 2010-2011 David Grudl (http://davidgrudl.com)
-Copyright (c) 2011-2012 Jaroslav Hanslík (https://github.com/kukulich)
-Copyright (c) 2011-2012 Ondřej Nešpor (https://github.com/Andrewsville)
-
-For the full copyright and license information, please view
-the file LICENSE.md that was distributed with this source code.
-*}
{layout '@layout.latte'}
{var $active = 'overview'}
-{block #title}{$config->title ?: 'Overview'}{/block}
+{block title}{$config->title ?: 'Overview'}{/block}
-{block #content}
+{block content}
<div id="content">
- <h1>{include #title}</h1>
+ <h1>{include title}</h1>
{var $group = false}
- {if $namespaces}
- {if}
- <table class="summary" id="namespaces">
- <caption>Namespaces summary</caption>
- {foreach $namespaces as $namespace}
- {continueIf $config->main && 0 !== strpos($namespace, $config->main)}
- <tr>
- {var $group = true}
- <td class="name"><a href="{$namespace|namespaceUrl}">{$namespace}</a></td>
- </tr>
- {/foreach}
+ <table class="summary" id="namespaces" n:if="$namespaces">
+ <caption>Namespaces summary</caption>
+ {foreach $namespaces as $namespace}
+ {continueIf $config->main && 0 !== strpos($namespace, $config->main)}
+ <tr>
+ {var $group = true}
+ <td class="name"><a href="{$namespace|namespaceUrl}">{$namespace}</a></td>
+ </tr>
+ {/foreach}
</table>
- {/if $iterations}
- {/if}
- {if $packages}
- {if}
- <table class="summary" id="packages">
- <caption>Packages summary</caption>
- {foreach $packages as $package}
- {continueIf $config->main && 0 !== strpos($package, $config->main)}
- <tr>
- {var $group = true}
- <td class="name"><a href="{$package|packageUrl}">{$package}</a></td>
- </tr>
- {/foreach}
+ <table class="summary" id="packages" n:if="count($packages)">
+ <caption>Packages summary</caption>
+ {foreach $packages as $package}
+ {continueIf $config->main && 0 !== strpos($package, $config->main)}
+ <tr>
+ {var $group = true}
+ <td class="name">
+ <a href="{$package|packageUrl}">{$package}</a>
+ </td>
+ </tr>
+ {/foreach}
</table>
- {/if $iterations}
- {/if}
- {if !$group}
- {include '@elementlist.latte'}
+ {if ! $group}
+ {include '@elementlist.latte'}
{/if}
</div>
-{/block} \ No newline at end of file
+{/block}