Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
Open sidebar
Dirk Dankhoff
ISPConfig 3
Commits
dbe4bc65
Commit
dbe4bc65
authored
Apr 05, 2011
by
chjacobsen
Browse files
CHECKBOXARRAY looks much better in vertical if there are many elements
parent
f5d95441
Changes
1
Hide whitespace changes
Inline
Side-by-side
interface/lib/classes/tform.inc.php
View file @
dbe4bc65
...
...
@@ -433,7 +433,7 @@ class tform {
if
(
trim
(
$tvl
)
==
trim
(
$k
))
$checked
=
' CHECKED'
;
}
// $out .= "<label for=\"".$key."[]\" class=\"inlineLabel\"><input name=\"".$key."[]\" id=\"".$key."[]\" value=\"$k\" type=\"checkbox\" $checked /> $v</label>\r\n";
$out
.
=
"<input name=
\"
"
.
$key
.
"[]
\"
id=
\"
"
.
$key
.
"[]
\"
value=
\"
$k
\"
type=
\"
checkbox
\"
$checked
/>
$v
\r\n
"
;
$out
.
=
"<input name=
\"
"
.
$key
.
"[]
\"
id=
\"
"
.
$key
.
"[]
\"
value=
\"
$k
\"
type=
\"
checkbox
\"
$checked
/>
$v
<br/>
\r\n
"
;
}
}
$new_record
[
$key
]
=
$out
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment