node-gallery-image-navigator.tpl.php in Node Gallery 6.3
Default theme implementation to show a 6 column table containing the image navigator.
Available variables: @todo: fill this in
See also
theme_preprocess_gallery_image_navigator()
2 theme calls to node-gallery-image-navigator.tpl.php
- node_gallery_views_handler_image_navigator::render in views2inc/
node_gallery_views_handler_image_navigator.inc - _node_gallery_image_view in ./
node_gallery.module - Attaches the image navigator to the image node's content.
File
theme/node-gallery-image-navigator.tpl.phpView source
<?php
/**
* @file
* Default theme implementation to show a 6 column table containing the image navigator.
*
* Available variables:
* @todo: fill this in
*
* @see theme_preprocess_gallery_image_navigator()
*/
?>
<table id="node-gallery-image-navigator" class="image-navigator">
<tbody>
<tr class="odd">
<td class="image-navigator-position">
<?php
print t("%current of %total", array(
'%current' => $navigator['current'],
'%total' => $navigator['total'],
));
?>
</td>
<td class="image-navigator-first">
<?php
print isset($first_link) ? '<a href="' . $first_link . '"><< ' . t('First') . '</a>' : ' ';
?>
</td>
<td class="image-navigator-prev">
<?php
print isset($prev_link) ? '<a href="' . $prev_link . '">< ' . t('Previous') . '</a>' : ' ';
?>
</td>
<td class="image-navigator-next">
<?php
print isset($next_link) ? '<a href="' . $next_link . '">' . t('Next') . ' ></a>' : ' ';
?>
</td>
<td class="image-navigator-last">
<?php
print isset($last_link) ? '<a href="' . $last_link . '">' . t('Last') . ' >></a>' : ' ';
?>
</td>
<td class="image-navigator-gallery-link">
<?php
print '<a href="' . $gallery_link . '">' . t("Back to gallery") . '</a>';
?>
</td>
</tr>
</tbody>
</table>