views-slideshow-xtra-image.tpl.php in Views Slideshow Xtra 6.3
Same filename and directory in other branches
Template to display a Views Slideshow Xtra image element.
File
theme/views-slideshow-xtra-image.tpl.phpView source
<?php
/**
* @file
* Template to display a Views Slideshow Xtra image element.
*
* @ingroup themeable
*/
?>
<div<?php
print drupal_attributes($attributes);
?>>
<?php
if (empty($url)) {
?>
<img class="<? print !empty($img_class) ? $img_class : ''; ?>" src="<?php
print $src;
?>"/>
<?php
}
else {
?>
<a class="<? print !empty($anchor_class) ? $anchor_class : ''; ?>" href="<?php
print $url;
?>" <?php
if ($target) {
print 'target="' . $target . '" ';
}
?>>
<img class="<? print !empty($img_class) ? $img_class : ''; ?>" src="<?php
print $src;
?>"/></a>
<?php
}
?>
</div>