You are here

function jquery_countdown_timer_block_save in jQuery Countdown Timer 7

Implements hook_block_save().

File

./jquery_countdown_timer.module, line 62
This module provides block with a simple jQuery coundown

Code

function jquery_countdown_timer_block_save($delta = '', $edit = array()) {
  switch ($delta) {
    case 'jquery_countdown_timer':
      variable_set('jquery_countdown_timer_date', $edit['jquery_countdown_timer_date']);
      variable_set('jquery_countdown_timer_font_size', (int) $edit['jquery_countdown_timer_font_size']);
      break;
  }
}