+ <?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; ?>>