/[drupal]/contributions/modules/countdown/countdown.module
ViewVC logotype

Diff of /contributions/modules/countdown/countdown.module

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.4.2.2, Mon May 12 15:13:13 2008 UTC revision 1.4.2.3, Mon May 12 15:36:33 2008 UTC
# Line 162  function theme_countdown_block() { Line 162  function theme_countdown_block() {
162      $block .= t(', %i seconds', array('%i' => $secs_left));      $block .= t(', %i seconds', array('%i' => $secs_left));
163    }    }
164    $block .= t(($passed) ? ' since %s.' : ' until %s.', array('%s' => variable_get('countdown_event_name', '')));    $block .= t(($passed) ? ' since %s.' : ' until %s.', array('%s' => variable_get('countdown_event_name', '')));
165    if ($accouracy != 'd') {    if ($accuracy != 'd') {
166      $path = drupal_get_path('module', 'countdown');      $path = drupal_get_path('module', 'countdown');
167      drupal_add_js($path .'/countdown.js');      drupal_add_js($path .'/countdown.js');
168    
169      $block['content'] .= <<<___EOS___      $block .= <<<___EOS___
170  <script type="text/javascript"><!--  <script type="text/javascript"><!--
171    init_countdown('$accuracy');    init_countdown('$accuracy');
172  // --></script>  // --></script>

Legend:
Removed from v.1.4.2.2  
changed lines
  Added in v.1.4.2.3

  ViewVC Help
Powered by ViewVC 1.1.2