summaryrefslogtreecommitdiff
path: root/includes/sys_template.php
diff options
context:
space:
mode:
authorPhilip Häusler <msquare@notrademark.de>2011-06-03 07:44:50 +0200
committerPhilip Häusler <msquare@notrademark.de>2011-06-03 07:44:50 +0200
commit6b155db36c30718ccbe25200d640c177d5d78589 (patch)
tree4a3b1576286fe293cb07de503e12463945e1c0fd /includes/sys_template.php
parent11e274a6fedc639223285557766b13b405c03be8 (diff)
user management
Diffstat (limited to 'includes/sys_template.php')
-rw-r--r--includes/sys_template.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/sys_template.php b/includes/sys_template.php
index 893d2d7e..7524b0cb 100644
--- a/includes/sys_template.php
+++ b/includes/sys_template.php
@@ -18,7 +18,7 @@ function template_render($file, $data) {
function html_options($name, $options, $selected = "") {
$html = "";
foreach ($options as $value => $label)
- $html .= '<input type="radio"' . ($value == $selected ? ' selected="selected"' : '') . ' name="' . $name . '" value="' . $value . '"> ' . $label;
+ $html .= '<input type="radio"' . ($value == $selected ? ' checked="checked"' : '') . ' name="' . $name . '" value="' . $value . '"> ' . $label;
return $html;
}