aboutsummaryrefslogtreecommitdiff
path: root/classes/helpers/CinisisDisplayHelper.php
diff options
context:
space:
mode:
Diffstat (limited to 'classes/helpers/CinisisDisplayHelper.php')
-rw-r--r--classes/helpers/CinisisDisplayHelper.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/classes/helpers/CinisisDisplayHelper.php b/classes/helpers/CinisisDisplayHelper.php
index 5ee48f2..7ada5a7 100644
--- a/classes/helpers/CinisisDisplayHelper.php
+++ b/classes/helpers/CinisisDisplayHelper.php
@@ -181,6 +181,8 @@ class CinisisDisplayHelper {
* Extra parameters.
*/
protected static function webNavbar($entry, $entries, $action = 'index.php', $extra = NULL) {
+ self::preOpen();
+
// First / prev links.
if ($entry != 1) {
$prev = $entry - 1;
@@ -194,6 +196,8 @@ class CinisisDisplayHelper {
echo '<a href="'. $action .'?entry='. $next . $extra .'">next &gt;</a> ';
echo '<a href="'. $action .'?entry='. $entries . $extra .'">last</a>';
}
+
+ self::preClose();
}
/**