function open_readspeaker_block_save in Open ReadSpeaker 7
Implementation of hook_block_save().
File
- ./
open_readspeaker.module, line 109 - Open ReadSpeaker
Code
function open_readspeaker_block_save($delta = '', $edit = array()) {
if ($delta === 'open_readspeaker_ui') {
if (!empty($edit['open_readspeaker_buttonstyle'])) {
variable_set('open_readspeaker_buttonstyle', check_plain($edit['open_readspeaker_buttonstyle']));
}
if (!empty($edit['open_readspeaker_customparam'])) {
variable_set('open_readspeaker_customparam', check_plain($edit['open_readspeaker_customparam']));
}
if (!empty($edit['open_readspeaker_reading_area'])) {
variable_set('open_readspeaker_reading_area', check_plain($edit['open_readspeaker_reading_area']));
}
}
}