diff options
author | Silvio <silvio@devlet.com.br> | 2010-08-17 15:34:52 -0300 |
---|---|---|
committer | Silvio <silvio@devlet.com.br> | 2010-08-17 15:34:52 -0300 |
commit | 044787875ba643fce951aeaf7256607c010ca65e (patch) | |
tree | cd4ebbfea7a892815b60b166fccc69b912db3260 /tests | |
parent | d77a34b3aa1eaa313d1055580bddd1cb38556fef (diff) | |
download | cinisis-044787875ba643fce951aeaf7256607c010ca65e.tar.gz cinisis-044787875ba643fce951aeaf7256607c010ca65e.tar.bz2 |
Showing links at test scripts
Diffstat (limited to 'tests')
-rw-r--r-- | tests/field.php | 2 | ||||
-rw-r--r-- | tests/repetition.php | 2 | ||||
-rw-r--r-- | tests/subfield.php | 3 |
3 files changed, 4 insertions, 3 deletions
diff --git a/tests/field.php b/tests/field.php index 35427a6..b9f9c3a 100644 --- a/tests/field.php +++ b/tests/field.php @@ -40,7 +40,7 @@ if ($isis->db) { // Format output. echo "<pre>\n"; echo "Selected field: $field: $field_name.\n"; - echo "Showing entry $entry from $entries total entries.\n"; + echo "Showing entry ". $display->entry_link($entry) ." from $entries total entries.\n"; echo "Repetitions found: ". count($result[$field_name]) .".\n"; echo "\n"; print_r($result[$field_name]); diff --git a/tests/repetition.php b/tests/repetition.php index 7283427..37d0889 100644 --- a/tests/repetition.php +++ b/tests/repetition.php @@ -40,7 +40,7 @@ if ($isis->db) { // Format output. echo "<pre>\n"; echo "Selected field: $field: $field_name.\n"; - echo "Showing entry $entry from $entries total entries.\n"; + echo "Showing entry ". $display->entry_link($entry) ." from $entries total entries.\n"; echo "Repetitions found: ". count($result[$field_name]) .".\n"; echo "\n"; print_r($result[$field_name]); diff --git a/tests/subfield.php b/tests/subfield.php index 892f2b5..117b8ce 100644 --- a/tests/subfield.php +++ b/tests/subfield.php @@ -41,10 +41,11 @@ if ($isis->db) { $display->navbar($entry, $entries, $repetition, '&field='. $field . '&subfield='. $subfield); // Format output. + $link = $display->entry_link($entry); echo "<pre>\n"; echo "Selected field: $field: $field_name.\n"; echo "Selected subfield: $subfield: $subfield_name.\n"; - echo "Showing entry $entry from $entries total entries.\n"; + echo "Showing entry ". $display->entry_link($entry) ." from $entries total entries.\n"; echo "Repetitions found: ". count($result[$field]) .".\n"; echo "\n"; print_r($result[$field_name]); |