]> git.mjollnir.org Git - s9y.git/commitdiff
Show pagination also on the bottom of the list
authorgarvinhicking <garvinhicking>
Thu, 6 Oct 2005 09:12:13 +0000 (09:12 +0000)
committergarvinhicking <garvinhicking>
Thu, 6 Oct 2005 09:12:13 +0000 (09:12 +0000)
include/admin/entries.inc.php

index ec5dce8ac27aed1149ba5e8c9dfe5ec3864d6d62..3de98062e9be5baf3313071696efb891da6fe1f1 100644 (file)
@@ -241,6 +241,21 @@ function serendipity_drawList() {
         } // end entries output
 ?>
 
+        <table class="serendipity_admin_list" cellpadding="5" width="100%">
+            <tr>
+                <td>
+                    <?php if ($offSet > 0) { ?>
+                        <a href="<?php echo $linkPrevious ?>" class="serendipityIconLink"><img src="<?php echo serendipity_getTemplateFile('admin/img/previous.png') ?>" /><?php echo PREVIOUS ?></a>
+                    <?php } ?>
+                </td>
+                <td align="right">
+                    <?php if ($count == $perPage) { ?>
+                        <a href="<?php echo $linkNext ?>" class="serendipityIconLinkRight"><?php echo NEXT ?><img src="<?php echo serendipity_getTemplateFile('admin/img/next.png') ?>" /></a>
+                    <?php } ?>
+                </td>
+            </tr>
+        </table>
+
         <div class="serendipity_admin_list_item serendipity_admin_list_item_<?php echo (($rows+1) % 2 ? 'even' : 'uneven'); ?>">
             <table width="100%" cellspacing="0" cellpadding="3">
                     <tr>