diff options
author | Silvio <silvio@devlet.com.br> | 2010-08-06 15:41:37 -0300 |
---|---|---|
committer | Silvio <silvio@devlet.com.br> | 2010-08-06 15:41:37 -0300 |
commit | 0006855f7d8508fc33d7fff107b42f7e062b891b (patch) | |
tree | c98431de67493c8f04e5041ce06af746b636b948 | |
parent | d40338d7cf451f4303b2ae0f0b084d7209eeffe1 (diff) | |
download | cinisis-0006855f7d8508fc33d7fff107b42f7e062b891b.tar.gz cinisis-0006855f7d8508fc33d7fff107b42f7e062b891b.tar.bz2 |
First/last links at test index
-rw-r--r-- | tests/index.php | 4 |
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 .'">< prev</a> '; } if ($entry < $entries) { $next = $entry + 1; - echo '<a href="index.php?entry='. $next .'">next ></a>'; + echo '<a href="index.php?entry='. $next .'">next ></a> '; + echo '<a href="index.php?entry='. $entries .'">last</a>'; } // Format output. |