-<h2>
- <a href="<?php echo $this->url("sources/album/view", array("album" => $this->out["album"]["id"])) ?>">
- <?php echo $this->out["album"]["reference"] ? $this->out["album"]["reference"]["titre"] : $this->out["album"]["titre"] ?>
- </a>
-
-</h2>
-
+<article class="album">
+ <header>
+ <h1>
+ <?php echo $this->out["album"]["reference"] ? $this->out["album"]["reference"]["titre"] : $this->out["album"]["titre"] ?>
+ </h1>
+ </header>
<?php
if
( $this->out["album"]["image_uri"]
&& file_exists($this->out["album"]["image_uri"])
- && ($img_size = $data->img_size($this->out["album"]["image_uri"], 150, 150)) !== false
+ && ($img_size = $data->img_size($this->out["album"]["image_uri"], 450, 450)) !== false
) :
- $margin_top = floor((150 - $img_size["height"]) / 2);
+// $margin_top = floor((450 - $img_size["height"]) / 2);
+ $margin_top = 10;
$album_image_uri = $this->path("web").$this->out["album"]["image_uri"];
?>
-<p>
+<p class="logo_source">
<img src="<?php echo $album_image_uri ?>"
width="<?php echo $img_size["width"] ?>"
height="<?php echo $img_size["height"] ?>"
<?php $items = "morceaux"; $legend = "morceaux"; require $this->out_file("views/navig.php"); ?>
-<?php endif; ?>
\ No newline at end of file
+<?php endif; ?>
+</article>
\ No newline at end of file