From 13426bcaab9cdbeebd9ac85fad5fe9fd0e8cbc5a Mon Sep 17 00:00:00 2001 From: deva Date: Sat, 25 Apr 2009 09:36:19 +0000 Subject: New ImageComboBox. Added icons to news. --- utils/forms.php | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'utils/forms.php') diff --git a/utils/forms.php b/utils/forms.php index 8f2238e..3d1050a 100644 --- a/utils/forms.php +++ b/utils/forms.php @@ -209,22 +209,22 @@ class ImageComboBox { public function render($indent = "") { + $width = 64; $str = $indent . "
\n"; $str .= $indent . "
".$this->label."
\n"; $str .= $indent . "
\n"; - $str .= $indent . " name."\" name=\"vars[".$this->name."]\" type=\"hidden\" value=\"".$this->value."\"/>\n"; foreach($this->values as $k => $v) { - $str .= $indent . " \n"; - $str .= $indent . " \n"; + $str .= $indent . " name."').value='".$v."'\"/>\n"; } - - $str .= $indent . " \n"; - $str .= $indent . "
\n"; - $str .= $indent . "
\n"; + $str .= $indent . " \n"; // box + $str .= $indent . " \n"; // overflow + $str .= $indent . " \n"; // widget + $str .= $indent . "\n"; // input return $str; } } -- cgit v1.2.3