/[drupal]/contributions/modules/countdown/countdown.tpl.php
ViewVC logotype

Diff of /contributions/modules/countdown/countdown.tpl.php

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

revision 1.1.2.1, Mon May 12 15:29:47 2008 UTC revision 1.1.2.2, Fri Jul 25 16:12:52 2008 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: countdown.tpl.php,v 1.2 2008/05/12 15:28:25 deekayen Exp $  // $Id: countdown.tpl.php,v 1.1.2.1 2008/05/12 15:29:47 deekayen Exp $
3    
4  /**  /**
5   * @file countdown.tpl.php   * @file countdown.tpl.php
# Line 35  if ($accuracy == 'm' || $accuracy == 's' Line 35  if ($accuracy == 'm' || $accuracy == 's'
35  if ($accuracy == 's') {  if ($accuracy == 's') {
36    print t(', %i seconds', array('%i' => $secs_left));    print t(', %i seconds', array('%i' => $secs_left));
37  }  }
38  print t(($passed) ? ' since %s.' : ' until %s.', array('%s' => variable_get('countdown_event_name', '')));  
39    $event_name = variable_get('countdown_event_name', '');
40    $url = variable_get('countdown_url', '');
41    $event_name = empty($url) || $url == 'http://' ? $event_name : l($event_name, $url, array('absolute' => TRUE));
42    
43    print t(($passed) ? ' since !s.' : ' until !s.', array('!s' => $event_name));
44    
45  if ($accuracy != 'd') {  if ($accuracy != 'd') {
46    $path = drupal_get_path('module', 'countdown');    $path = drupal_get_path('module', 'countdown');

Legend:
Removed from v.1.1.2.1  
changed lines
  Added in v.1.1.2.2

  ViewVC Help
Powered by ViewVC 1.1.2