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

infopanel improvements

This commit is contained in:
secretr
2009-09-14 21:54:16 +00:00
parent 15e6fb8d47
commit ed0971e015
2 changed files with 15 additions and 11 deletions

View File

@@ -9,8 +9,8 @@
* Form Handler
*
* $Source: /cvs_backup/e107_0.8/e107_handlers/form_handler.php,v $
* $Revision: 1.41 $
* $Date: 2009-09-13 16:37:18 $
* $Revision: 1.42 $
* $Date: 2009-09-14 21:54:16 $
* $Author: secretr $
*
*/
@@ -188,6 +188,11 @@ class e_form
return "<input type='checkbox' name='{$name}' value='{$value}'".$this->get_attributes($options, $name, $value)." />";
}
function checkbox_label($label_title, $name, $value, $checked = false, $options = array())
{
return $this->checkbox($name, $value, $checked, $options).$this->label($label_title, $name, $value);
}
function checkbox_switch($name, $value, $checked = false, $label = '')
{