modifications sur le template default
[mw_sourceml] / app / out / default / views / sources / groupe / view.php
index 88556d9..180eb2a 100644 (file)
@@ -1,10 +1,18 @@
-<h2><?php echo $this->out["groupe"]["nom"]; ?></h2>
-<div class="description">
-<?php echo $this->out["groupe"]["description"] ?>
-</div>
+<article class="groupe">
+  <header>
+    <h1><?php echo $this->out["groupe"]["nom"]; ?></h1>
+  </header>
+
+  <?php if($this->out["groupe"]["description"]) : ?>
+  <div class="description">
+  <?php echo $this->out["groupe"]["description"] ?>
+  </div>
+  <?php endif; ?>
+  <ul class="groupes_sources">
+    <li><a href="<?php echo $this->url("sources/morceau", array("groupe" => $this->out["groupe"]["id"])); ?>">Morceaux</a></li>
+    <li><a href="<?php echo $this->url("sources/piste", array("groupe" => $this->out["groupe"]["id"])); ?>">Sources</a></li>
+  </ul>
 
-<div class="clear"><!-- --></div>
-<br />
 <?php
 
   if
@@ -13,8 +21,7 @@
   ) :
 
 ?>
-
-<h3 class="menu_albums">Albums</h3>
+<h2 class="menu_albums">Albums</h2>
 <ul class="menu_albums">
 <?php foreach($this->out["albums"]["list"] as $id_album => $album) : ?>
   <li><a href="<?php echo $this->url("sources/album/view", array("album" => $id_album)) ?>" title="<?php echo str_replace("\"", "&quot;", $album["titre"]) ?>">
@@ -43,8 +50,9 @@
 <?php endif; ?>
 
 <?php if($this->out["groupe"]["contact_form"]) : ?>
-<h3>Contact</h3>
+<h2>Contact</h2>
 <p>
   <a href="<?php echo $this->url("forms/sourceml/contact_author", array("id" => $this->out["groupe"]["id"])) ?>">Envoyer un message à <?php echo $this->out["groupe"]["nom"]; ?></a>.
 </p>
 <?php endif; ?>
+</article>
\ No newline at end of file