AAAAhome/academiac/www/libraries/joomla/form/fields/checkbox.php000064400000003237151375135350020171 0ustar00element['class'] ? ' class="' . (string) $this->element['class'] . '"' : ''; $disabled = ((string) $this->element['disabled'] == 'true') ? ' disabled="disabled"' : ''; $checked = ((string) $this->element['value'] == $this->value) ? ' checked="checked"' : ''; // Initialize JavaScript field attributes. $onclick = $this->element['onclick'] ? ' onclick="' . (string) $this->element['onclick'] . '"' : ''; return ''; } }