You are here

function hfs_body_settings_form_submit in Header and Footer Scripts 7

Submit handler().

File

./hfs.admin.inc, line 95
Administrative page code for the Header Footer Script module.

Code

function hfs_body_settings_form_submit($form, &$form_state) {
  $body['styles'] = $form_state['values']['styles'];
  $body['scripts'] = $form_state['values']['scripts'];
  serialize($body);
  variable_set('hfs_body_scripts', $body);
}