4 <li><a class="add" href="<?php echo $this->url("users/albums/add") ?>">Nouvel album</a></li>
7 <?php if($this->out["groupes"]["total"] > 0) : ?>
11 <select onchange="document.location=this.options[this.selectedIndex].value;">
12 <option value="<?php echo $this->url("users/albums") ?>"<?php echo $_GET[$this->param("groupe")] == "0" ? " selected=\"selected\"" : "" ?>>Tous les groupes</option>
13 <?php foreach($this->out["groupes"]["list"] as $id_groupe => $groupe) : ?>
14 <option value="<?php echo $this->url("users/albums", array("groupe" => $id_groupe)) ?>"<?php echo $_GET[$this->param("groupe")] == $id_groupe ? " selected=\"selected\"" : "" ?>><?php echo $groupe["nom"] ?></option>
22 <?php if($this->out["albums"]["list"]) : ?>
24 <?php $items = "albums"; $legend = "albums"; require $this->out_file("views/navig.php"); ?>
28 $get_params = array();
29 if(isset($_GET[$this->param("groupe")]) && $_GET[$this->param("groupe")]) $get_params["groupe"] = $_GET[$this->param("groupe")];
32 <form name="sources_form" action="<?php echo $this->url("users/albums", $get_params) ?>" method="post">
38 <th align="center" colspan="2">actions</th>
40 <?php foreach($this->out["albums"]["list"] as $id_album => $album) : ?>
43 <?php if($album["reference"]) : ?>
44 <?php echo $album["reference"]["titre"] ?> <span>[ référence » <a href="<?php echo $album["reference"]["from"] ?>"><?php echo $album["reference"]["auteur"] ?></a> ]</span>
46 <?php echo $album["titre"] ?>
49 <td class="action"><input type="text" name="ordre_<?php echo $id_album ?>" value="<?php echo isset($album["ordre"]) ? $album["ordre"] : 0 ?>" size="3" /></td>
51 <?php if($album["permissions"]["editeur"]) : ?>
52 <a href="<?php echo $this->url("users/albums/edit", array("id" => $id_album)) ?>"
54 title="modifier cet album"><img src="<?php echo $this->out_url("icons/edit.gif") ?>" /></a>
60 <?php if($album["permissions"]["admin"]) : ?>
61 <a href="<?php echo $this->url("users/albums/del", array("id" => $id_album)) ?>"
63 title="supprimer cet album"><img src="<?php echo $this->out_url("icons/del.gif") ?>"
64 onclick="return confirm('Supprimer cet album ?')"/></a>
74 <div class="form_buttons">
75 <input type="submit" value="Enregistrer l'ordre" />
82 <?php $items = "albums"; $legend = "albums"; require $this->out_file("views/navig.php"); ?>
85 <p>Aucun album pour le moment</p>