block_admin

Definition

block_admin()
modules/block.module, line 378

Description

Menu callback; displays the block overview page.

Code

<?php
function block_admin() {
  $edit = $_POST['edit'];
  $op = $_POST['op'];

  if ($op == t('Save blocks')) {
    drupal_set_message(block_admin_save($edit));
    cache_clear_all();
    drupal_goto($_GET['q']);
  }
  print theme('page', block_admin_display());
}
?>
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.