doc: Fix links in index view scripts

refs #4820
This commit is contained in:
Eric Lippmann 2014-05-28 17:24:28 +02:00
parent 49e927c4bf
commit 0f1983fb25
2 changed files with 6 additions and 2 deletions

View File

@ -1,5 +1,5 @@
<h1>Available documentations</h1>
<ul>
<li><a href="<?= $this->href('doc/icingaweb'); ?>">Icinga Web 2</a></li>
<li><a href="<?= $this->href('doc/icingaweb/toc'); ?>">Icinga Web 2</a></li>
<li><a href="<?= $this->href('doc/module/'); ?>">Module documentations</a></li>
</ul>

View File

@ -1,6 +1,10 @@
<h1>Module documentations</h1>
<ul>
<?php foreach ($enabledModules as $module): ?>
<li><a href="<?= $this->href('doc/module/' . $module); ?>"><?= $module ?></a></li>
<li>
<a href="<?= $this->getHelper('Url')->url(array('moduleName' => $module), 'doc/module/toc', false, false); ?>">
<?= $module ?>
</a>
</li>
<?php endforeach ?>
</ul>