You are here

function ad_text_global_settings_submit in Advertisement 5

Same name and namespace in other branches
  1. 5.2 text/ad_text.module \ad_text_global_settings_submit()
  2. 6.3 text/ad_text.module \ad_text_global_settings_submit()
  3. 6 text/ad_text.module \ad_text_global_settings_submit()
  4. 6.2 text/ad_text.module \ad_text_global_settings_submit()
  5. 7 text/ad_text.module \ad_text_global_settings_submit()

File

text/ad_text.module, line 107
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']);
}