gestion des erreurs en exceptions
[mw_pages] / out / dist / views / pages / view / page.php
1 <h2>
2 <?php $k = 0; foreach($this->out["ariane"] as $page) : if($k < count($this->out["ariane"]) - 1) : ?>
3   <?php if($k > 0) : ?>
4   &raquo;
5   <?php endif; ?>
6   <a href="<?= $this->url("pages/view/page", array("id" => $page["id"])) ?>"><?= $page["title"] ?></a>
7 <?php $k++; endif; endforeach; ?>
8   <?php if($k > 0) : ?>
9   &raquo;
10   <?php endif; ?>
11   <?= $this->out["page"]["title"] ?>
12 </h2>
13
14 <?php if($this->out["pages"]["list"]) : ?>
15 <ul class="pages_menu">
16 <?php foreach($this->out["pages"]["list"] as $page) : ?>
17   <li><a href="<?= $this->url("pages/view/page", array("id" => $page["id"])) ?>"><?= $page["title"] ?></a></li>
18 <?php endforeach; ?>
19 </ul>
20 <?php endif; ?>
21
22 <div>
23   <?= $this->out["page"]["content"]  ?>
24 </div>