All pastes #336706 Raw Edit

Something

public text v1 · immutable
·published 2007-02-02 05:57 UTC
rendered paste body
// Article Form Override
function phptemplate_form_article($form) {
  // Render the first field:
  $output = form_render($form['title']);
  $output .=  '<div>'. form_render($form['taxonomy']) .'</div>';
  $output .=  '<div>'. form_render($form['field_specifications']) .'</div>';
  $output .=  '<div>'. form_render($form['field_athor']) .'</div>';
  $output .=  '<div>'. form_render($form['body_filter']) .'</div>';
  $output .=  '<div>'. form_render($form['field_article_image']) .'</div>';
  $output .=  '<div>'. form_render($form['field_image_credits']) .'</div>';
  $output .=  '<div>'. form_render($form['field_image_description']) .'</div>';
  $output .=  '<div>'. form_render($form['field_teaser_image']) .'</div>';
  $output .=  '<div>'. form_render($form['field_headline_image']) .'</div>';
  $output .= form_render($form);
  return $output;
}

this is what I want to remove:

 $form['comment_settings'] = array(
	'#input' => FALSE
	);
 $form['author'] = array(
	'#input' => FALSE
	);
 $form['options'] = array(
	'#input' => FALSE
	);
 $form['menu'] = array(
	'#input' => FALSE
	);
$form['path'] = array(
      '#input' => FALSE
       );