echo 'pgui-shortcut="'; echo $this->_tpl_vars['PageNavigatorPage']->GetShortCut(); echo '"'; } echo '>'; echo $this->_tpl_vars['PageNavigatorPage']->GetPageCaption(); echo '</a></li>'; } else { echo '<li class="pagination-spacer"><a'; echo smarty_function_n(array(), $this); echo ' href="#"'; echo smarty_function_n(array(), $this); echo ' title="'; echo $this->_tpl_vars['PageNavigatorPage']->GetHint(); echo '"'; echo smarty_function_n(array(), $this); echo ' onclick="return false;">'; echo $this->_tpl_vars['PageNavigatorPage']->GetPageCaption(); echo '</a></li>'; } echo ''; } } unset($_from); ?> </ul> <ul><li><a class="define-page-size-button" href="#"><?php echo $this->_tpl_vars['Captions']->GetMessageString('DefaultPageSize'); ?> </a></ul> </div>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php'); smarty_core_load_plugins(array('plugins' => array(array('function', 'n', 'list/page_navigator.tpl', 8, false),array('function', 'eval', 'list/page_navigator.tpl', 38, false),array('modifier', 'escapeurl', 'list/page_navigator.tpl', 8, false),array('modifier', 'escape', 'list/page_navigator.tpl', 66, false),)), $this); ?> <div class="pgui-pagination" data-total-record-count="<?php echo $this->_tpl_vars['PageNavigator']->GetRowCount(); ?> "> <div class="pagination"> <ul><?php $_from = $this->_tpl_vars['PageNavigatorPages']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): foreach ($_from as $this->_tpl_vars['PageNavigatorPage']): ?><?php echo ''; ?><?php if ($this->_tpl_vars['PageNavigatorPage']->GetPageLink()): ?><?php echo '<li '; ?><?php if ($this->_tpl_vars['PageNavigatorPage']->IsCurrent()): ?><?php echo 'class="active"'; ?><?php endif; ?><?php echo '><a'; ?><?php echo smarty_function_n(array(), $this);?><?php echo ' href="'; ?><?php echo ((is_array($_tmp=$this->_tpl_vars['PageNavigatorPage']->GetPageLink())) ? $this->_run_mod_handler('escapeurl', true, $_tmp) : smarty_modifier_escapeurl($_tmp)); ?><?php echo '"'; ?><?php echo smarty_function_n(array(), $this);?><?php echo ' title="'; ?><?php echo $this->_tpl_vars['PageNavigatorPage']->GetHint(); ?><?php echo '"'; ?><?php echo smarty_function_n(array(), $this);?><?php echo ' '; ?><?php if ($this->_tpl_vars['PageNavigatorPage']->HasShortCut()): ?><?php echo 'pgui-shortcut="'; ?><?php echo $this->_tpl_vars['PageNavigatorPage']->GetShortCut(); ?><?php echo '"'; ?><?php endif; ?><?php echo '>'; ?><?php echo $this->_tpl_vars['PageNavigatorPage']->GetPageCaption(); ?><?php echo '</a></li>'; ?><?php else: ?><?php echo '<li class="pagination-spacer"><a'; ?><?php echo smarty_function_n(array(), $this);?><?php echo ' href="#"'; ?><?php echo smarty_function_n(array(), $this);?><?php echo ' title="'; ?><?php echo $this->_tpl_vars['PageNavigatorPage']->GetHint(); ?><?php echo '"'; ?><?php echo smarty_function_n(array(), $this);?><?php echo ' onclick="return false;">'; ?><?php echo $this->_tpl_vars['PageNavigatorPage']->GetPageCaption(); ?><?php echo '</a></li>'; ?><?php endif; ?><?php echo ''; ?> <?php endforeach; endif; unset($_from); ?></ul> <ul><li><a class="define-page-size-button" href="#"><?php echo $this->_tpl_vars['Captions']->GetMessageString('DefaultPageSize'); ?> </a></ul> </div> <div class="modal hide pagination-size"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal"><i class="icon-remove"></i></button> <h3><?php echo $this->_tpl_vars['Captions']->GetMessageString('ChangePageSizeTitle'); ?> </h3> </div> <div class="modal-body"> <?php $this->assign('row_count', $this->_tpl_vars['PageNavigator']->GetRowCount()); ?> <p><?php echo smarty_function_eval(array('var' => $this->_tpl_vars['Captions']->GetMessageString('ChangePageSizeText')), $this);?> </p> <form> <table class="table table-bordered"> <tr> <th><?php echo $this->_tpl_vars['Captions']->GetMessageString('RecordsPerPage'); ?> </th>