From 0c284eceebabc14b06919698378f4e2a6dbe7a0a Mon Sep 17 00:00:00 2001 From: CaMer0n Date: Tue, 20 Oct 2009 16:18:07 +0000 Subject: [PATCH] added uc_label function. --- e107_handlers/form_handler.php | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/e107_handlers/form_handler.php b/e107_handlers/form_handler.php index eae6b9ab0..74f9e1497 100644 --- a/e107_handlers/form_handler.php +++ b/e107_handlers/form_handler.php @@ -9,9 +9,9 @@ * Form Handler * * $Source: /cvs_backup/e107_0.8/e107_handlers/form_handler.php,v $ - * $Revision: 1.49 $ - * $Date: 2009-10-20 16:05:02 $ - * $Author: secretr $ + * $Revision: 1.50 $ + * $Date: 2009-10-20 16:18:07 $ + * $Author: e107coders $ * */ @@ -262,6 +262,12 @@ class e_form return "
".$this->checkbox($treename.'[]', $classnum, in_array($classnum, $tmp), $field_options).$this->label($this->_uc->uc_get_classname($classnum).$descr, $treename.'[]', $classnum)."
\n"; } + + + function uc_label($classnum) + { + return $this->_uc->uc_get_classname($classnum); + } function radio($name, $value, $checked = false, $options = array()) {