diff options
author | Silvio <silvio@devlet.com.br> | 2010-08-19 16:29:40 -0300 |
---|---|---|
committer | Silvio <silvio@devlet.com.br> | 2010-08-19 16:29:40 -0300 |
commit | 4cfb71f1f5c302061a7188081a17f0366a2da963 (patch) | |
tree | 91098ab4c9509687afba9c31b275c6381d452ceb /apps | |
parent | a9033a0f4ce19122d4aad932344abf4fbe3b29cd (diff) | |
download | cinisis-4cfb71f1f5c302061a7188081a17f0366a2da963.tar.gz cinisis-4cfb71f1f5c302061a7188081a17f0366a2da963.tar.bz2 |
Adding IsisEntryIterator
Diffstat (limited to 'apps')
-rw-r--r-- | apps/field.php | 4 | ||||
-rw-r--r-- | apps/repetition.php | 4 | ||||
-rw-r--r-- | apps/subfield.php | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/apps/field.php b/apps/field.php index 8d78f89..193d351 100644 --- a/apps/field.php +++ b/apps/field.php @@ -26,12 +26,12 @@ if ($isis) { list($entry, $result) = $isis->nextField($entry, $field); // Navigation bar. - $display->navbar($entry, $isis->entries, $repetition, '&fid='. $fid); + $display->navbar($entry, $isis->entries, 'field.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']]); 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']]); diff --git a/apps/subfield.php b/apps/subfield.php index 352a9f5..ca7557e 100644 --- a/apps/subfield.php +++ b/apps/subfield.php @@ -29,13 +29,13 @@ if ($isis) { list($entry, $result) = $isis->nextSubfield($entry, $field, $subfield); // Navigation bar. - $display->navbar($entry, $isis->entries, $repetition, '&fid='. $fid . '&sid='. $sid); + $display->navbar($entry, $isis->entries, 'subfield.php', '&fid='. $fid . '&sid='. $sid); // Format output. echo "<pre>\n"; echo "Selected field: $fid: ". $field['name'] .".\n"; echo "Selected subfield: $sid: $subfield.\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']]); |