You are here

function popups_theme_settings_form_submit in Popups API (Ajax Dialogs) 5

Same name and namespace in other branches
  1. 6.2 popups.module \popups_theme_settings_form_submit()
  2. 6 popups.module \popups_theme_settings_form_submit()

File

./popups.module, line 197
popups.module

Code

function popups_theme_settings_form_submit($form_id, $form_values) {
  $theme = $form_values['popups_theme'];
  $content_selector = $form_values['popups_content_selector'];
  variable_set('popups_' . $theme . '_content_selector', $content_selector);

  //  drupal_set_message("setting selector to $content_selector for theme $theme");
}