aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio <silvio@devlet.com.br>2010-08-06 15:41:37 -0300
committerSilvio <silvio@devlet.com.br>2010-08-06 15:41:37 -0300
commit0006855f7d8508fc33d7fff107b42f7e062b891b (patch)
treec98431de67493c8f04e5041ce06af746b636b948
parentd40338d7cf451f4303b2ae0f0b084d7209eeffe1 (diff)
downloadcinisis-0006855f7d8508fc33d7fff107b42f7e062b891b.tar.gz
cinisis-0006855f7d8508fc33d7fff107b42f7e062b891b.tar.bz2
First/last links at test index
-rw-r--r--tests/index.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/index.php b/tests/index.php
index f17cae5..c2b2e9d 100644
--- a/tests/index.php
+++ b/tests/index.php
@@ -44,12 +44,14 @@ if ($isis->db) {
if ($entry != 1) {
$prev = $entry - 1;
+ echo '<a href="index.php?entry=1">first</a> ';
echo '<a href="index.php?entry='. $prev .'">&lt; prev</a> ';
}
if ($entry < $entries) {
$next = $entry + 1;
- echo '<a href="index.php?entry='. $next .'">next &gt;</a>';
+ echo '<a href="index.php?entry='. $next .'">next &gt;</a> ';
+ echo '<a href="index.php?entry='. $entries .'">last</a>';
}
// Format output.