source: trunk/web/app/out/dist/views/menu_admin_artiste.php

Last change on this file was 6, checked in by dj3c1t, 12 years ago

mise a jour du trunk

File size: 1.7 KB
Line 
1      <div id="artiste_logo">
2
3      <a href="<?= $env->url(array("e" => "artistes", "artiste" => $env->out["artiste"]["id"], "page" => "presentation")) ?>">
4      <?php
5
6        if($env->out["artiste"]["image"] && ($img_size = img_size($env->out["artiste"]["image"], 240, 190)) !== false) :
7        $margin_top = floor((190 - $img_size["height"]) / 2);
8
9      ?>
10
11        <img src="<?php echo $env->out["artiste"]["image"]; ?>" alt="<?= $env->out["artiste"]["nom"] ?>"
12             width="<?= $img_size["width"] ?>"
13             height="<?= $img_size["height"] ?>"
14             style="margin-top:<?= $margin_top ?>px" />
15
16      <?php else : ?>
17        <?= $env->out["artiste"]["nom"] ?><br />
18        (pas d'image pour le moment)
19      <?php endif; ?>
20      </a>
21
22      </div>
23
24
25
26
27<div id="artiste_admin_infos">
28  <br />
29  <h3>Administration de votre compte</h3>
30  <br />
31  <ul class="menu_admin">
32    <li><a href="<?= $env->url(array("e" => "set_artiste_infos", "artiste" => $env->out["artiste"]["id"])) ?>">
33      Informations g&eacute;n&eacute;rales
34    </a></li>
35    <li><a href="<?= $env->url(array("e" => "set_artiste_presentation", "artiste" => $env->out["artiste"]["id"])) ?>">
36      Pr&eacute;sentation
37    </a></li>
38    <li><a href="<?= $env->url(array("e" => "set_artiste_news", "artiste" => $env->out["artiste"]["id"])) ?>">
39      News
40    </a></li>
41    <li><a href="<?= $env->url(array("e" => "set_artiste_downloads", "artiste" => $env->out["artiste"]["id"])) ?>">
42      Downloads
43    </a></li>
44    <li><a href="<?= $env->url(array("e" => "set_artiste_albums", "artiste" => $env->out["artiste"]["id"])) ?>">
45      Albums
46    </a></li>
47  </ul>
48</div>
49<div style="clear: both">&nbsp;</div>
Note: See TracBrowser for help on using the repository browser.