1 <?php if(isset($this->out["albums"]) && $this->out["albums"]["list"]) : ?>
2 <ul class="menu_albums">
3 <?php foreach($this->out["albums"]["list"] as $id_album => $album) : ?>
4 <li><a href="<?php echo $this->url("sources/album/view", array("album" => $id_album)) ?>" title="<?php echo str_replace("\"", """, $album["titre"]) ?>">
10 && file_exists($album["image_uri"])
11 && ($img_size = $data->img_size($album["image_uri"], 90, 90)) !== false
13 $margin_top = floor((90 - $img_size["height"]) / 2);
16 <img src="<?php echo $this->path("web").$album["image_uri"]; ?>"
17 width="<?php echo $img_size["width"] ?>"
18 height="<?php echo $img_size["height"] ?>"
19 style="margin-top:<?php echo $margin_top ?>px" />
21 <span><?php echo $album["titre"] ?></span>
26 <div class="clear"><!-- --></div>