<?php endif; ?>
<?php if($this->out["piste"]["reference"]) : ?>
- <li><span>référence »</span> <a href="<?php echo $this->out["piste"]["reference"]["from"] ?>"><?php echo $this->out["piste"]["reference"]["titre"] ?> (<?php echo $this->out["piste"]["reference"]["auteur"] ?>)</a></li>
+ <li><span>référence »</span> <a href="<?php echo $this->out["piste"]["reference"]["from"] ?>"><?php echo $this->out["piste"]["reference"]["titre"] ?></a></li>
<?php else : ?>
<li><a href="<?php echo $this->url("sources/piste/view", $ariane_params) ?>"><?php echo $this->out["piste"]["titre"] ?></a></li>
<?php endif; ?>
<header>
<h1>
<?php if($this->out["piste"]["reference"]) : ?>
- <span>référence »</span><?php echo $this->out["piste"]["reference"]["titre"] ?> (<?php echo $this->out["piste"]["reference"]["auteur"] ?>)
+ <span>référence »</span><?php echo $this->out["piste"]["reference"]["titre"] ?>
<?php else : ?>
<?php echo $this->out["piste"]["titre"] ?>
<?php endif; ?>
<span class="derivation">
<span>dérive de »</span>
<?php $n = 0; foreach($this->out["piste"]["derivations"] as $derivation) : ?>
- <?php echo $n ? ", " : "" ?><a href="<?php echo $derivation["from"] ?>"><?php echo $derivation["titre"] ?> (<?php echo $derivation["auteur"] ?>)</a>
+ <?php echo $n ? ", " : "" ?><a href="<?php echo $derivation["from"] ?>"><?php echo $derivation["titre"] ?></a>
<?php $n++; endforeach; ?>
</span>
<?php endif; ?>
?>
</ul>
+<?php if($this->action_allowed("users/pistes/add")) : ?>
+<form action="<?php echo $this->url("users/pistes/add"); ?>" method="post">
+ <input type="hidden" name="button_derive" value="<?php echo $piste["id"];?>" />
+ <ul class="button_derive">
+ <li><input type="submit" value="Publier une dérivation" /></li>
+ </ul>
+</form>
+<?php endif; ?>
+
<?php if(isset($piste["description"]) && !$display_name) : ?>
<div class="description">
<?php echo $piste["description"] ?>