aboutsummaryrefslogtreecommitdiff
path: root/mod/file/views/default
diff options
context:
space:
mode:
authoricewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-04-30 13:35:16 +0000
committericewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-04-30 13:35:16 +0000
commitf6fd505b1ee1081de7b9342370361a0e3f310589 (patch)
tree2fd86411bb5067e620792426de18e2fd23939cbe /mod/file/views/default
parentd443d437fa0559a367ae860c348e26b236969fee (diff)
downloadelgg-f6fd505b1ee1081de7b9342370361a0e3f310589.tar.gz
elgg-f6fd505b1ee1081de7b9342370361a0e3f310589.tar.bz2
Marcus Povey <marcus@dushka.co.uk>
* Simple footer git-svn-id: https://code.elgg.org/elgg/trunk@580 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/file/views/default')
-rw-r--r--mod/file/views/default/file/footer.php28
1 files changed, 27 insertions, 1 deletions
diff --git a/mod/file/views/default/file/footer.php b/mod/file/views/default/file/footer.php
index 15c5adc7f..149c87e5a 100644
--- a/mod/file/views/default/file/footer.php
+++ b/mod/file/views/default/file/footer.php
@@ -1,3 +1,29 @@
<?php
+ /**
+ * Elgg file browser footer
+ *
+ * @package ElggFile
+ * @author Marcus Povey
+ * @copyright Curverider Ltd 2008
+ * @link http://elgg.com/
+ */
-?> \ No newline at end of file
+ $limit = $vars['limit'];
+ $offset = $vars['offset'];
+ $url = $_SERVER['request_uri'];
+?>
+<div id="navbar">
+ <table width="100%">
+ <tr>
+ <td>
+ <div id="prev"><?php if ($offset>0) { ?><a href="<?php echo "$url?offset=" . ($offset-$limit); ?>">Prev</a><?php } ?>
+ </div>
+ </td>
+ <td align="right">
+ <div id="next">
+ <a href="<?php echo "$url?offset=" . ($offset+$limit); ?>">Next</a>
+ </div>
+ </td>
+ </tr>
+ </table>
+</div> \ No newline at end of file