All pastes #613112 Raw Edit

Miscellany

public text v1 · immutable
·published 2007-07-10 20:23 UTC
rendered paste body
function phptemplate_form_alter($filter_form, &$form) {
  if (isset($form['type']) && $form['type']['#value'] .'_node_settings' == $form_id) {
    $form['workflow']['upload_'. $form['type']['#value']] = array(
      '#collapsed' => FALSE
    );
  }
}