1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-19 21:02:09 +02:00

Minor fixes and improvements

This commit is contained in:
secretr
2011-11-25 17:36:40 +00:00
parent 4908a3fe37
commit f7532e6351
5 changed files with 35 additions and 20 deletions

View File

@@ -545,6 +545,11 @@ class e_form
$for_id = $this->_format_id('', $name, $value, 'for');
return "<label$for_id>{$text}</label>";
}
function help($text)
{
return !empty($text) ? '<div class="field-help">'.$text.'</div>' : '';
}
function select_open($name, $options = array())
{