ddblock-cycle-pager-content.tpl.php in Dynamic display block 6
File
ddblock-cycle-pager-content.tpl.php
View source
<?php
$number_of_items = 6;
$number_of_items_per_row = 3;
?>
<?php
?>
<?php
if ($pager == 'custom-pager') {
?>
<?php
if ($pager_position == 'bottom' || $pager_position == 'both') {
?>
<div class="spacer-horizontal"><b></b></div>
<?php
}
?>
<div id="ddblock-pager-<?php
print $delta;
?>" class="<?php
print $pager;
?>" class="clear-block border">
<div class="<?php
print $pager;
?>-inner" class="clear-block border">
<?php
if ($pager_items) {
?>
<?php
$item_counter = 0;
?>
<?php
foreach ($pager_items as $pager_item) {
?>
<div class="<?php
print $pager;
?>-item <?php
print $pager;
?>-item-<?php
print $item_counter;
?>">
<div class="<?php
print $pager;
?>-item-inner">
<a href="#" title="navigate to topic"><?php
print $pager_item['image'];
print $pager_item['text'];
?></a>
</div>
</div>
<?php
$item_counter++;
if ($item_counter == $number_of_items_per_row) {
?>
<div class="spacer-horizontal"><b></b></div>
<?php
}
else {
?>
<div class="spacer-vertical"></div>
<?php
}
?>
<?php
}
?>
<?php
}
?>
</div> <!-- pager-inner-->
</div> <!-- pager-->
<?php
if ($pager_position == 'top' || $pager_position == 'both') {
?>
<div class="spacer-horizontal"><b></b></div>
<?php
}
}
?>