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 /classes | |
parent | f29befe3b6f94962a19fd554cd66488db6ccc5fc (diff) | |
download | cinisis-0107682b50647e65c4b8561a3a4cd9478e46170d.tar.gz cinisis-0107682b50647e65c4b8561a3a4cd9478e46170d.tar.bz2 |
Apps layout enhancements
Diffstat (limited to 'classes')
-rw-r--r-- | classes/helpers/CinisisDisplayHelper.php | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/classes/helpers/CinisisDisplayHelper.php b/classes/helpers/CinisisDisplayHelper.php index 7802f42..e8caec0 100644 --- a/classes/helpers/CinisisDisplayHelper.php +++ b/classes/helpers/CinisisDisplayHelper.php @@ -136,11 +136,13 @@ class CinisisDisplayHelper { * Form method. */ protected static function webForm($content, $action = 'index.php', $method = 'get') { + echo '<td>'; echo '<form action="'. $action .'" method="'. $method .'">'; echo $content; echo '<input type="submit" />'; echo '</form>'; echo '<br />'; + echo '</td><td>'; } /** @@ -269,7 +271,7 @@ class CinisisDisplayHelper { * Draws tags for closing a table. */ protected static function webCloseTable() { - echo '</tr></table>'; + echo '</td></tr></table>'; } /** @@ -483,11 +485,12 @@ class CinisisDisplayHelper { * Index of the selected option. */ protected static function webRadios($name, $data, $checked = NULL) { + sort($data); $radios = '<table><tr><td>'; $count = 0; foreach ($data as $key => $value) { - if ($count++ > 5) { + if ($count++ > 25) { $count = 0; $radios .= '</td><td>'; } |