You are here

function theme_context_block_form in Context 6.3

Same name and namespace in other branches
  1. 6 theme/context_reaction_block.theme.inc \theme_context_block_form()
  2. 7.3 theme/context_reaction_block.theme.inc \theme_context_block_form()

Block form.

1 theme call to theme_context_block_form()
context_reaction_block::options_form in plugins/context_reaction_block.inc
Options form.

File

theme/context_reaction_block.theme.inc, line 6

Code

function theme_context_block_form($form) {
  $rows = array(
    array(
      array(
        'data' => drupal_render($form['blocks']),
        'class' => 'blocks',
      ),
      array(
        'data' => drupal_render($form['selector']) . drupal_render($form['block']['help']),
        'class' => 'selector',
      ),
    ),
  );
  $output = drupal_render($form);
  $output .= theme('table', array(), $rows, array(
    'id' => 'context-blockform',
  ));
  return $output;
}