function headerimage_settings_block_edit_submit in Header image 5
Same name and namespace in other branches
- 6 headerimage.module \headerimage_settings_block_edit_submit()
- 7 headerimage.module \headerimage_settings_block_edit_submit()
File
- ./
headerimage.module, line 218 - headerimage.module Conditionally display an node in a block.
Code
function headerimage_settings_block_edit_submit($form_id, $form_values) {
db_query("UPDATE {headerimage_block} SET title = '%s' WHERE delta = %d", $form_values['title'], $form_values['delta']);
drupal_set_message(t('Header Image block updated.'));
return 'admin/settings/headerimage';
}