--- workflow_fields.module 2008-04-23 08:50:36.000000000 -0500 +++ workflow_fields.module 2008-04-23 08:49:37.000000000 -0500 @@ -112,7 +112,13 @@ function workflow_fields_state_form_alte } function theme_workflow_fields_state($form) { - $header = array(t('Content type'), t('Field name'), t('Visible'), t('Editable')); + drupal_add_js( + '$(document).ready(function(){ + $("th.select-all .form-checkbox").attr({checked: "checked"}); + });', + 'inline' + ); + $header = array(t('Content type'), t('Field name'), t('Visible'), t('Editable'), theme('table_select_header_cell')); $rows = array(); foreach ($form['types']['#value'] as $type) { $content = content_types($type); @@ -389,6 +395,4 @@ function workflow_fields_nodeapi(&$node, $node->content[$key]['#access'] = FALSE; } } -} - -?> +} \ No newline at end of file