function adsense_cse_block_save in Google AdSense integration 7
Implements hook_block_save().
File
- cse/
adsense_cse.module, line 141 - Displays Google AdSense ads on Drupal pages.
Code
function adsense_cse_block_save($delta = '', $edit = array()) {
$data = implode(':', array(
urlencode(check_plain($edit['info'])),
check_plain($edit['ad_slot']),
check_plain($edit['version']),
));
variable_set('adsense_cse_ad_block_' . $delta, $data);
}