sourceml devient un plugin mtweb
[mw_sourceml] / app / out / default / views / sources / piste / ariane.php
1 <h2>Sources</h2>
2
3 <?php $ariane_params = array(); ?>
4 <?php $FIRST = true; ?>
5 <h2>
6 <?php if(isset($this->out["groupe"]) && $this->out["groupe"]) : $ariane_params["groupe"] = $this->out["groupe"]["id"]; ?>
7   <?php if($FIRST) : $FIRST = false; else : ?>&raquo;<?php endif; ?>
8   <a href="<?php echo $this->url("sources/groupe/view", array("id" => $this->out["groupe"]["id"])) ?>"><?php echo $this->out["groupe"]["nom"] ?></a>
9 <?php endif; ?>
10 <?php if(isset($this->out["album"]) && $this->out["album"]) : $ariane_params["album"] = $this->out["album"]["id"]; ?>
11   <?php if($FIRST) : $FIRST = false; else : ?>&raquo;<?php endif; ?>
12   <a href="<?php echo $this->url("sources/album/view", $ariane_params) ?>"><?php echo $this->out["album"]["titre"] ?></a>
13 <?php endif; ?>
14 <?php if(isset($this->out["morceau"]) && $this->out["morceau"]) : $ariane_params["morceau"] = $this->out["morceau"]["id"]; ?>
15   <?php if($FIRST) : $FIRST = false; else : ?>&raquo;<?php endif; ?>
16   <a href="<?php echo $this->url("sources/morceau/view", $ariane_params) ?>"><?php echo $this->out["morceau"]["reference"] ? $this->out["morceau"]["reference"]["titre"] : $this->out["morceau"]["titre"] ?></a>
17 <?php endif; ?>
18 <?php if(isset($this->out["piste"]) && $this->out["piste"]) : $ariane_params["piste"] = $this->out["piste"]["id"]; ?>
19   <?php if($FIRST) : $FIRST = false; else : ?>&raquo;<?php endif; ?>
20   <a href="<?php echo $this->url("sources/piste/view", $ariane_params) ?>"><?php echo $this->out["piste"]["titre"] ?></a>
21 <?php endif; ?>
22 </h2>