Removed paginator from doc index

This commit is contained in:
Karl Cordes 2016-05-17 22:59:04 +10:00
parent b4a13fb8d9
commit b6f98d26a5

View file

@ -1,21 +1,15 @@
<div class="documents index"> <div class="documents index">
<h2><?php __('Documents');?></h2> <h2><?php __('Documents');?></h2>
<p>
<?php
echo $paginator->counter(array(
'format' => __('Page %page% of %pages%, showing %current% records out of %count% total, starting on record %start%, ending on %end%', true)
));
?></p>
<table cellpadding="0" cellspacing="0"> <table cellpadding="0" cellspacing="0">
<tr> <tr>
<th><?php echo $paginator->sort('created');?></th> <th>Created</th>
<th><?php echo $paginator->sort('user_id');?></th> <th>User</th>
<th>Type</th> <th>Type</th>
<th>#Pages</th> <th>#Pages</th>
<th>PDF Filename</th> <th>PDF Filename</th>
<th>PDF Created</th> <th>PDF Created</th>
<th>PDF Created By</th> <th>PDF Created By</th>
<th class="actions"><?php __('Actions');?></th> <th class="actions">Actions</th>
</tr> </tr>
<?php <?php
$i = 0; $i = 0;
@ -73,10 +67,5 @@
<?php endforeach; ?> <?php endforeach; ?>
</table> </table>
</div> </div>
<div class="paging">
<?php echo $paginator->prev('<< '.__('previous', true), array(), null, array('class'=>'disabled'));?>
| <?php echo $paginator->numbers();?>
<?php echo $paginator->next(__('next', true).' >>', array(), null, array('class' => 'disabled'));?>
</div>
<?php debug($documents); ?> <?php debug($documents); ?>