';
}
return $output;
}
/**
* Override of theme_system_settings_form().
* Group buttons together @ the bottom.
*/
function slate_system_settings_form($form) {
$buttons = '
'. drupal_render($form['buttons']) .'
';
return drupal_render($form) . $buttons;
}
/**
* Override of theme_node_form().
*/
function slate_node_form($form) {
$buttons = '
'. drupal_render($form['buttons']) .'
';
// Allow modules to insert form elements into the sidebar,
// defaults to showing taxonomy in that location.
if (!$sidebar_fields = module_invoke_all('node_form_sidebar', $form, $form['#node'])) {
$sidebar_fields = array('taxonomy');
}
foreach ($sidebar_fields as $field) {
$sidebar .= drupal_render($form[$field]);
}
$main = drupal_render($form);
return "