aboutsummaryrefslogtreecommitdiff
path: root/mod/file/views/default/file/footer.php
blob: 149c87e5a70608019b6060220311542305aee390 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<?php
	/**
	 * Elgg file browser footer
	 * 
	 * @package ElggFile
	 * @author Marcus Povey
	 * @copyright Curverider Ltd 2008
	 * @link http://elgg.com/
	 */

	$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>