Revision 1582
Added by Dietmar over 12 years ago
view.php | ||
---|---|---|
75 | 75 |
$field_id = $params[0][0]; |
76 | 76 |
$seperator = $params[0][1]; |
77 | 77 |
|
78 |
$label_id = 'wb_'.preg_replace('/[^a-z0-1]/i', '_', $key).$field_id;
|
|
78 |
$label_id = 'wb_'.preg_replace('/[^a-z0-9]/i', '_', $key).$field_id;
|
|
79 | 79 |
if(in_array($key, $params[1])) { |
80 | 80 |
$key = '<input class="frm-field_checkbox" type="checkbox" id="'.$label_id.'" name="field'.$field_id.'['.$idx.']" value="'.$key.'" />'.'<label for="'.$label_id.'" class="frm-checkbox_label">'.$key.'</lable>'.$seperator.PHP_EOL; |
81 | 81 |
} else { |
... | ... | |
89 | 89 |
$field_id = $params[0]; |
90 | 90 |
$group = $params[1]; |
91 | 91 |
$seperator = $params[2]; |
92 |
$label_id = 'wb_'.preg_replace('/[^a-z0-1]/i', '_', $n).$field_id;
|
|
92 |
$label_id = 'wb_'.preg_replace('/[^a-z0-9]/i', '_', $n).$field_id;
|
|
93 | 93 |
if($n == $params[3]) { |
94 | 94 |
$n = '<input class="frm-field_checkbox" type="radio" id="'.$label_id.'" name="field'.$field_id.'" value="'.$n.'" checked="checked" />'.'<label for="'.$label_id.'" class="frm-checkbox_label">'.$n.'</label>'.$seperator.PHP_EOL; |
95 | 95 |
} else { |
Also available in: Unified diff
! form module, make show submission table scrollable