You are here

function fivestar_settings_submit in Fivestar 5

Same name and namespace in other branches
  1. 6.2 includes/fivestar.admin.inc \fivestar_settings_submit()
  2. 6 fivestar.module \fivestar_settings_submit()
  3. 7.2 includes/fivestar.admin.inc \fivestar_settings_submit()

File

./fivestar.module, line 454
A simple n-star voting widget, usable in other forms.

Code

function fivestar_settings_submit($form_id, $form_values) {
  variable_set('fivestar_widget', $form_values['fivestar_widget']);
  variable_set('fivestar_anonymous_vote_interval', $form_values['fivestar_anonymous_vote_interval']);
}