aboutsummaryrefslogtreecommitdiff
path: root/apps/repetition.php
diff options
context:
space:
mode:
authorSilvio <silvio@devlet.com.br>2010-08-19 16:29:40 -0300
committerSilvio <silvio@devlet.com.br>2010-08-19 16:29:40 -0300
commit4cfb71f1f5c302061a7188081a17f0366a2da963 (patch)
tree91098ab4c9509687afba9c31b275c6381d452ceb /apps/repetition.php
parenta9033a0f4ce19122d4aad932344abf4fbe3b29cd (diff)
downloadcinisis-4cfb71f1f5c302061a7188081a17f0366a2da963.tar.gz
cinisis-4cfb71f1f5c302061a7188081a17f0366a2da963.tar.bz2
Adding IsisEntryIterator
Diffstat (limited to 'apps/repetition.php')
-rw-r--r--apps/repetition.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/repetition.php b/apps/repetition.php
index 3fce88f..0e2718c 100644
--- a/apps/repetition.php
+++ b/apps/repetition.php
@@ -26,12 +26,12 @@ if ($isis) {
list($entry, $result) = $isis->nextRepetition($entry, $field);
// Navigation bar.
- $display->navbar($entry, $isis->entries, $repetition, '&fid='. $fid);
+ $display->navbar($entry, $isis->entries, 'repetition.php', '&fid='. $fid);
// Format output.
echo "<pre>\n";
echo "Selected field: $fid: ". $field['name'] ."\n";
- echo "Showing entry ". $display->entry_link($entry) ." from $entries total entries.\n";
+ echo "Showing entry ". $display->entry_link($entry) ." from ". $isis->entries ." total entries.\n";
echo "Repetitions found: ". count($result[$field['name']]) .".\n";
echo "\n";
print_r($result[$field['name']]);