|
@@ -773,7 +773,11 @@ class Input
|
|
|
if (isset($param['control']) && is_string($param['control']) && $param['control'] != $param['name']) {
|
|
|
$cjs = str_replace('update_', '', str_replace($param['control'], $param['name'], $js));
|
|
|
}
|
|
|
- $html .= '<input update_type="checked" class="autoload checkbox-checkall-' . $param['parent'] . ' ' . $param['name'] . ' update_value ' . (isset($param['valid']) ? $param['valid'] : '') . '" type="' . $param['update'] . '" name="' . $param['name'] . '[]" value="' . $k . '" ' . $check . ' ' . $cjs . '/> ' . $value . ' ';
|
|
|
+ $disabled = '';
|
|
|
+ if (isset($param['disabled'])) {
|
|
|
+ $disabled = 'disabled="true"';
|
|
|
+ }
|
|
|
+ $html .= '<input update_type="checked" class="autoload checkbox-checkall-' . $param['parent'] . ' ' . $param['name'] . ' update_value ' . (isset($param['valid']) ? $param['valid'] : '') . '" type="' . $param['update'] . '" name="' . $param['name'] . '[]" value="' . $k . '" ' . $check . ' ' . $cjs . ' ' . $disabled . '/> ' . $value . ' ';
|
|
|
|
|
|
if (isset($param['bind'])) {
|
|
|
//$html .= '<script>$(document).ready(function(){$(".checkbox-checkall-'.$param['parent'].'").click();})</script>';
|