function ad_text_global_settings_submit in Advertisement 5.2
Same name and namespace in other branches
- 5 text/ad_text.module \ad_text_global_settings_submit()
- 6.3 text/ad_text.module \ad_text_global_settings_submit()
- 6 text/ad_text.module \ad_text_global_settings_submit()
- 6.2 text/ad_text.module \ad_text_global_settings_submit()
- 7 text/ad_text.module \ad_text_global_settings_submit()
File
- text/
ad_text.module, line 114 - Enhances the ad module to support static text ads.
Code
function ad_text_global_settings_submit($form_id, $form_values) {
variable_set('header_min', $form_values['header_min']);
variable_set('header_max', $form_values['header_max']);
variable_set('body_min', $form_values['body_min']);
variable_set('body_max', $form_values['body_max']);
}