Added first/last links to event navigation.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@1550 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
parent
a55cbe32f8
commit
edcb21fcfd
|
@ -269,7 +269,8 @@ function viewEvents( form, name )
|
|||
if ( $page > 1 )
|
||||
{
|
||||
?>
|
||||
<a href="<?= $PHP_SELF ?>?view=<?= $view ?>&page=<?= $page - 1 ?><?= $filter_query ?><?= $sort_query ?>&limit=<?= $limit ?>"><<</a>
|
||||
<a href="<?= $PHP_SELF ?>?view=<?= $view ?>&page=1<?= $filter_query ?><?= $sort_query ?>&limit=<?= $limit ?>"><<</a>
|
||||
<a href="<?= $PHP_SELF ?>?view=<?= $view ?>&page=<?= $page - 1 ?><?= $filter_query ?><?= $sort_query ?>&limit=<?= $limit ?>"><</a>
|
||||
<?php
|
||||
$new_pages = array();
|
||||
$pages_used = array();
|
||||
|
@ -323,7 +324,8 @@ function viewEvents( form, name )
|
|||
<?php
|
||||
}
|
||||
?>
|
||||
<a href="<?= $PHP_SELF ?>?view=<?= $view ?>&page=<?= $page + 1 ?><?= $filter_query ?><?= $sort_query ?>&limit=<?= $limit ?>">>></a>
|
||||
<a href="<?= $PHP_SELF ?>?view=<?= $view ?>&page=<?= $page + 1 ?><?= $filter_query ?><?= $sort_query ?>&limit=<?= $limit ?>">></a>
|
||||
<a href="<?= $PHP_SELF ?>?view=<?= $view ?>&page=<?= $pages ?><?= $filter_query ?><?= $sort_query ?>&limit=<?= $limit ?>">>></a>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
|
|
Loading…
Reference in New Issue