From 0107682b50647e65c4b8561a3a4cd9478e46170d Mon Sep 17 00:00:00 2001 From: Silvio Date: Wed, 25 Aug 2010 12:15:34 -0300 Subject: Apps layout enhancements --- classes/helpers/CinisisDisplayHelper.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'classes/helpers/CinisisDisplayHelper.php') 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 ''; echo '
'; echo $content; echo ''; echo '
'; echo '
'; + echo ''; } /** @@ -269,7 +271,7 @@ class CinisisDisplayHelper { * Draws tags for closing a table. */ protected static function webCloseTable() { - echo ''; + echo ''; } /** @@ -483,11 +485,12 @@ class CinisisDisplayHelper { * Index of the selected option. */ protected static function webRadios($name, $data, $checked = NULL) { + sort($data); $radios = '
'; $count = 0; foreach ($data as $key => $value) { - if ($count++ > 5) { + if ($count++ > 25) { $count = 0; $radios .= ''; } -- cgit v1.2.3