scald_galleria.tpl.php in Scald: Gallery 7.2
Theme implementation of the Scald Galleria player.
Variables:
- $options: An array of settings from the player.
- $galleria_id: The ID of the gallery instance.
- $items: An array of items to be displayed in the gallery.
1 theme call to scald_galleria.tpl.php
- scald_galleria_scald_prerender in scald_galleria/
scald_galleria.module - Implements hook_scald_prerender().
File
scald_galleria/scald_galleria.tpl.phpView source
<?php
/**
* @file
* Theme implementation of the Scald Galleria player.
*
* Variables:
* - $options: An array of settings from the player.
* - $galleria_id: The ID of the gallery instance.
* - $items: An array of items to be displayed in the gallery.
*/
if (!empty($options['fullscreen_link'])) {
?>
<div class="galleria-fullscreen"><a class="galleria-fullscreen-link">fullscreen</a></div>
<?php
}
?>
<div class="scald-gallery <?php
print $galleria_id;
?>" style="width: <?php
print $options['width'];
?>; height: <?php
print $options['height'];
?>">
<?php
foreach ($items as $item) {
?>
<?php
print $item;
?>
<?php
}
?>
</div>