1
0
mirror of synced 2024-12-16 16:16:04 +03:00
doctrine2/website/apps/frontend/modules/manual/templates/indexSuccess.php
2007-09-06 18:29:27 +00:00

21 lines
618 B
PHP

<div class="content">
<h1>Doctrine Manual</h1>
</div>
<?php if( isset($output) ): ?>
<?php echo $output; ?>
<?php else: ?>
<p>There are several different versions of this manual available online:
<ul>
<li>View as <a href="?one-page">all chapters in one page</a>.</li>
<li>View as <a href="?chapter=<?php echo $toc->findByIndex('1.')->getPath(); ?>">one chapter per page</a>.</li>
<li>Download the <a href="?format=pdf">PDF version</a>.</li>
</ul>
</p>
<?php endif; ?>
<?php slot('right'); ?>
<h2>Table of Contents</h2>
<?php echo $renderer->renderToc(); ?>
<?php end_slot(); ?>