You are here

function theme_context_block_form in Context 6

Same name and namespace in other branches
  1. 6.3 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($vars) {
  $row = array(
    array(
      'data' => drupal_render($vars['form']['blocks']),
      'class' => array(
        'blocks',
      ),
    ),
    array(
      'data' => drupal_render($vars['form']['selector']) . drupal_render($vars['form']['block']['help']),
      'class' => array(
        'selector',
      ),
    ),
  );
  $output = drupal_render_children($vars['form']);
  $table = array(
    'rows' => array(
      $row,
    ),
    'attributes' => array(
      'id' => 'context-blockform',
    ),
  );
  $output .= theme('table', $table);
  return $output;
}