summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/classes/ccombobox.inc.php
diff options
context:
space:
mode:
authorosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2006-01-30 15:12:53 +0000
committerosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2006-01-30 15:12:53 +0000
commit393c9ed7f43d6d6471bfac4efaa072e1e9db0a9e (patch)
tree9ea09dc84e61db08477d68dead456761ffee8561 /frontends/php/include/classes/ccombobox.inc.php
parentcf51431eb0610dc4f4378a61c208cc97890643a9 (diff)
downloadzabbix-393c9ed7f43d6d6471bfac4efaa072e1e9db0a9e.tar.gz
zabbix-393c9ed7f43d6d6471bfac4efaa072e1e9db0a9e.tar.xz
zabbix-393c9ed7f43d6d6471bfac4efaa072e1e9db0a9e.zip
- Frontend improvements (Eugene)
git-svn-id: svn://svn.zabbix.com/trunk@2577 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/classes/ccombobox.inc.php')
-rw-r--r--frontends/php/include/classes/ccombobox.inc.php12
1 files changed, 0 insertions, 12 deletions
diff --git a/frontends/php/include/classes/ccombobox.inc.php b/frontends/php/include/classes/ccombobox.inc.php
index cecb45c3..849f2e5a 100644
--- a/frontends/php/include/classes/ccombobox.inc.php
+++ b/frontends/php/include/classes/ccombobox.inc.php
@@ -44,18 +44,6 @@
}
return $this->error("Incorrect value for SetCaption [$value]");
}
- function SetEnable($value='yes')
- {
- if(is_null($value))
- return 0;
- elseif((is_string($value) && ($value == 'yes' || $value == 'enabled' || $value=='on'))
- || (is_int($value) && $value<>0))
- return $this->DelOption('disabled');
- elseif((is_string($value) && ($value == 'no' || $value == 'disabled' || $value=='off'))
- || (is_int($value) && $value==0))
- return $this->AddOption('disabled','disabled');
- return $this->error("Incorrect value for SetEnable [$value]");
- }
function SetSelected($value='yes')
{
if(is_null($value))