You are here

function theme_nodequeue_arrange_subqueue_form in Nodequeue 5.2

Same name and namespace in other branches
  1. 6.2 nodequeue.module \theme_nodequeue_arrange_subqueue_form()

File

./nodequeue.module, line 1018

Code

function theme_nodequeue_arrange_subqueue_form($form) {
  $header = array(
    check_plain($form['add']['#title']),
    '',
  );
  unset($form['add']['#title']);
  $rows = array(
    drupal_render($form['add']),
    array(
      'data' => drupal_render($form['add_submit']),
      'width' => '80%',
    ),
  );
  $output = theme('table', $header, array(
    $rows,
  ));
  $output .= drupal_render($form);
  return $output;
}