diff options
author | Silvio <silvio@devlet.com.br> | 2010-08-25 12:15:34 -0300 |
---|---|---|
committer | Silvio <silvio@devlet.com.br> | 2010-08-25 12:15:34 -0300 |
commit | 0107682b50647e65c4b8561a3a4cd9478e46170d (patch) | |
tree | b68e9245b8c1e9bb1095f33586e04a859de055b3 /apps | |
parent | f29befe3b6f94962a19fd554cd66488db6ccc5fc (diff) | |
download | cinisis-0107682b50647e65c4b8561a3a4cd9478e46170d.tar.gz cinisis-0107682b50647e65c4b8561a3a4cd9478e46170d.tar.bz2 |
Apps layout enhancements
Diffstat (limited to 'apps')
-rw-r--r-- | apps/field.php | 5 | ||||
-rw-r--r-- | apps/repetition.php | 5 | ||||
-rw-r--r-- | apps/subfield.php | 5 |
3 files changed, 9 insertions, 6 deletions
diff --git a/apps/field.php b/apps/field.php index 7f1f3ec..2206388 100644 --- a/apps/field.php +++ b/apps/field.php @@ -19,6 +19,7 @@ if ($isis) { $form = $display->formInputText('entry', $entry); $form .= $display->radios('fid', $isis->getFieldNames(), $fid); $script = basename(__FILE__); + $display->openTable(); $display->form($form, $script); // Query database. @@ -34,6 +35,6 @@ if ($isis) { $display->pre("Repetitions found: ". count($result[$field['name']]) ."."); $display->pre($display->repetitionLink($entry, $fid)); $display->dump($result[$field['name']]); + $display->closeTable(); + $display->footer(); } - -$display->footer(); diff --git a/apps/repetition.php b/apps/repetition.php index 0f0288e..bd91aae 100644 --- a/apps/repetition.php +++ b/apps/repetition.php @@ -19,6 +19,7 @@ if ($isis) { $form = $display->formInputText('entry', $entry); $form .= $display->radios('fid', $isis->getFieldNames(), $fid); $script = basename(__FILE__); + $display->openTable(); $display->form($form, $script); // Query database. @@ -34,6 +35,6 @@ if ($isis) { $display->pre("Repetitions found: ". count($result[$field['name']]) ."."); $display->pre($display->fieldLink($entry, $fid)); $display->dump($result[$field['name']]); + $display->closeTable(); + $display->footer(); } - -$display->footer(); diff --git a/apps/subfield.php b/apps/subfield.php index 4943cda..5752875 100644 --- a/apps/subfield.php +++ b/apps/subfield.php @@ -21,6 +21,7 @@ if ($isis) { $form .= $display->radios('fid', $isis->getFieldNames(), $fid); $form .= $display->radios('sid', $isis->getSubFieldNames($fid), $sid); $script = basename(__FILE__); + $display->openTable(); $display->form($form, $script); // Query database. @@ -37,6 +38,6 @@ if ($isis) { $display->pre("Showing entry ". $display->entryLink($entry) ." from ". $isis->entries ." total entries."); $display->pre("Repetitions found: ". count($result[$field['name']]) ."."); $display->dump($result[$field['name']]); + $display->closeTable(); + $display->footer(); } - -$display->footer(); |