mirror of https://github.com/MISP/MISP
19 lines
970 B
PHP
19 lines
970 B
PHP
<?php
|
|
$options = array(
|
|
'update' => '.span12',
|
|
'evalScripts' => true,
|
|
'before' => '$(".progress").show()',
|
|
'complete' => '$(".progress").hide()',
|
|
);
|
|
if (!empty($paginationOptions)) {
|
|
$options = array_merge($options, $paginationOptions);
|
|
}
|
|
echo $this->Paginator->options($options);
|
|
echo sprintf(
|
|
'<div class="pagination"><ul>%s%s%s</ul></div>',
|
|
$this->Paginator->prev('« ' . __('previous'), array('tag' => 'li', 'escape' => false), null, array('tag' => 'li', 'class' => 'prev disabled', 'escape' => false, 'disabledTag' => 'span')),
|
|
$this->Paginator->numbers(array('modulus' => 20, 'separator' => '', 'tag' => 'li', 'currentClass' => 'active', 'currentTag' => 'span')),
|
|
$this->Paginator->next(__('next') . ' »', array('tag' => 'li', 'escape' => false), null, array('tag' => 'li', 'class' => 'next disabled', 'escape' => false, 'disabledTag' => 'span'))
|
|
);
|
|
?>
|