1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-17 20:01:47 +02:00

Corrected some of the confusion with news-preference labels. Option added to choose what displays in the news list page. $frm->checkboxes now renders field-help correctly.

This commit is contained in:
Cameron
2015-06-11 19:44:39 -07:00
parent f91a6baa2b
commit e5c768a532
5 changed files with 60 additions and 30 deletions

View File

@@ -1410,7 +1410,7 @@ class e_form
* @param string $name
* @param array $option_array
* @param mixed $checked
* @param array $options [optional]
* @param array $options [optional useKeyValues]
*/
function checkboxes($name, $option_array, $checked, $options=array())
{
@@ -1439,6 +1439,11 @@ class e_form
$text .= $this->checkbox($cname, $key, $c, $label);
}
if(!empty($text))
{
return "<div class='checkboxes' style='display:inline-block'>".$text."</div>";
}
return $text;
}