function block_box_add_submit in Drupal 4
File
- modules/
block.module, line 473 - Controls the boxes that are displayed around the main content.
Code
function block_box_add_submit($form_id, $form_values) {
if (!form_get_errors()) {
if (block_box_save($form_values)) {
drupal_set_message(t('The block has been created.'));
return 'admin/block';
}
}
}