function headerimage_settings_block_add_submit in Header image 5
Same name and namespace in other branches
- 6 headerimage.admin.inc \headerimage_settings_block_add_submit()
- 7 headerimage.admin.inc \headerimage_settings_block_add_submit()
File
- ./
headerimage.module, line 133 - headerimage.module Conditionally display an node in a block.
Code
function headerimage_settings_block_add_submit($form_id, $form_values) {
db_query("INSERT INTO {headerimage_block} (title) VALUES ('%s')", $form_values['title']);
drupal_set_message(t('Header Image block %s added.', array(
'%s' => $form_values['title'],
)));
}