correction notices et modifs css
[mw_pages] / app / out / default / views / pages / view / page.php
index 66a6c6b..17c3dbd 100644 (file)
@@ -1,10 +1,12 @@
 <article>
   <header>
+    <?php if(count($this->out["ariane"]) > 1) : ?>
     <ul class="page_ariane">
       <?php foreach($this->out["ariane"] as $page) : ?>
       <li><a href="<?php echo $this->url("pages/view/page", array("id" => $page["id"])); ?>"><?php echo $page["title"]; ?></a></li>
       <?php endforeach; ?>
     </ul>
+    <?php endif; ?>
     <h1><?php echo $this->out["page"]["title"]; ?></h1>
     <?php if($this->out["pages"]["list"]) : ?>
     <nav class="sous_pages">