summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6eca140)
raw | patch | inline | side by side (parent: 6eca140)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 29 Nov 2010 08:49:18 +0000 (08:49 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 29 Nov 2010 08:49:18 +0000 (08:49 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20399 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/plugins/addons/propertyEditor/class_propertyEditor.inc | patch | blob | history |
diff --git a/gosa-core/plugins/addons/propertyEditor/class_propertyEditor.inc b/gosa-core/plugins/addons/propertyEditor/class_propertyEditor.inc
index 485f28609cc855509d44e6b0f7292107068f44da..cba453763cfbbf45b54746bda336a9a49a741b77 100644 (file)
$res = "<select size=1 name=\"{$name}\" style='width:{$ssize}'>";
$false = (preg_match('/true/i', $value)) ? '' : "selected";
$true = (preg_match('/true/i', $value)) ? "selected" : '';
- $res.= "<option {$false} value='false'>"._("FALSE")."</option>";
- $res.= "<option {$true} value='true'>"._("TRUE")."</option>";
+ $res.= "<option {$false} value='false'>"._("Off")."</option>";
+ $res.= "<option {$true} value='true'>"._("On")."</option>";
$res.= "</select>";
case 'switch':
if(!empty($defaults[0])){