function constant_contact_block_save in Constant Contact 7.3
Implements hook_block_save().
File
- ./
constant_contact.module, line 981
Code
function constant_contact_block_save($delta = '', $edit = array()) {
variable_set('cc_block_show_list_selection_' . $delta, $edit['cc_block_show_list_selection_' . $delta]);
variable_set('cc_block_list_selection_format_' . $delta, $edit['cc_block_list_selection_format_' . $delta]);
variable_set('cc_show_format_choice_' . $delta, $edit['cc_show_format_choice_' . $delta]);
variable_set('cc_subscribe_format_' . $delta, $edit['cc_subscribe_format_' . $delta]);
variable_set('cc_list_selection_title_' . $delta, $edit['cc_list_selection_title_' . $delta]);
variable_set('cc_list_selection_description_' . $delta, $edit['cc_list_selection_description_' . $delta]);
variable_set('cc_block_lists_' . $delta, $edit['cc_block_lists_' . $delta]);
variable_set('cc_block_redirect_url_' . $delta, $edit['cc_block_redirect_url_' . $delta]);
variable_set('cc_form_block_fields_' . $delta, $edit['cc_form_block_fields_' . $delta]);
variable_set('cc_email_field_position_' . $delta, $edit['cc_email_field_position_' . $delta]);
return;
}