box-shadow: 0px 0px 5px #d5d5d5;
}
-.track h1{
- font-size: 1.3em;
+.track .logo_source{
float: left;
}
+
+.track h1{
+ font-size: 1.2em;
+ padding-left: 0;
+}
+.track h1.with_image{
+ padding-left: 110px;
+}
+
.track h1 a{
color: #555555;
}
text-decoration: underline;
}
+.track h3{
+ font-size: 1.1em;
+}
+
.track ul.authors{
float: right;
padding: 0;
}
.pistes
-{ margin: 0px 13px 10px 45px;
+{ margin: 0px 13px 10px 13px;
padding-left: 0px;
}
.derivation
-{ margin: 0px 13px 10px 45px;
+{ margin: 0px 13px 10px 13px;
padding-left: 0px;
}
.source_arbo h3{
font-size: 1em;
font-weight: bold;
- padding-left: 35px;
+ padding-left: 13px;
color: #444444;
}
.derivation h3{
font-size: 1em;
font-weight: bold;
- padding-left: 35px;
+ padding-left: 13px;
color: #444444;
}
.pistes h3{
font-weight: bold;
- padding-left: 35px;
+ padding-left: 13px;
color: #444444;
}
?>
<header>
+ <?php if($groupes) : ?>
+ <ul class="authors">
+ <?php foreach($groupes as $groupe) : ?>
+ <li><a class="auteur" href="<?php echo $groupe["url"] ?>"><?php echo $groupe["nom"] ?></a></li>
+ <?php endforeach; ?>
+ </ul>
+ <?php endif; ?>
<?php if(!isset($display_name) || $display_name) : ?>
- <h1>
+ <?php
+
+ $HAS_IMAGE = false;
+ if
+ ( $source["image_uri"]
+ && file_exists($source["image_uri"])
+ && ($img_size = $data->img_size($source["image_uri"], 100, 100)) !== false
+ ) :
+ $source_image_uri = $this->path("web").$source["image_uri"];
+ $HAS_IMAGE = true;
+
+ ?>
+ <p class="logo_source">
+ <a href="<?php echo $source["reference"] ? $source["reference"]["from"] : $source["url"] ?>">
+ <img src="<?php echo $source_image_uri ?>"
+ width="<?php echo $img_size["width"] ?>"
+ height="<?php echo $img_size["height"] ?>"
+ alt="" />
+ </a>
+ </p>
+ <?php endif; ?>
+ <h1<?php if($HAS_IMAGE): ?> class="with_image"<?php endif; ?>>
<?php if($source["reference"]) : ?>
<span>référence » <a href="<?php echo $source["reference"]["from"] ?>"><strong><?php echo $source["reference"]["titre"] ?></strong></a></span>
<?php else : ?>
<?php endif; ?>
</h1>
<?php endif; ?>
- <?php if($groupes) : ?>
- <ul class="authors">
- <?php foreach($groupes as $groupe) : ?>
- <li><a class="auteur" href="<?php echo $groupe["url"] ?>"><?php echo $groupe["nom"] ?></a></li>
- <?php endforeach; ?>
- </ul>
- <?php endif; ?>
<br class="clear" />