Index: countdown.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/countdown/countdown.module,v
retrieving revision 1.4.2.3
diff -u -r1.4.2.3 countdown.module
--- countdown.module	12 May 2008 15:36:33 -0000	1.4.2.3
+++ countdown.module	31 Jul 2008 03:08:35 -0000
@@ -45,6 +45,16 @@
       '#description' => t("Event name you're counting to or from."),
       '#required' => true
     );
+    
+    $form['countdown_event_url'] = array(
+      '#type' => 'textfield',
+      '#title' => t('Event URL'),
+      '#default_value' => variable_get('countdown_event_url', ''),
+      '#size' => 30,
+      '#maxlength' => 200,
+      '#description' => t("Optional event URL."),
+      '#required' => false
+    );
 
     $form['countdown_accuracy'] = array(
       '#type' => 'radios',
@@ -62,7 +72,7 @@
       '#title' => t('Target date/time'),
       '#collapsible' => TRUE,
       '#collapsed' => FALSE,
-      '#description' => t('Select a date relative to the server time: %s', array('%s' => format_date($time)))
+      '#description' => t('Select a date relative to the server time: %s (Timezone: %t). Click !c for time converter.', array('%s' => format_date($time, '', '', 0), '%t' => date_default_timezone_get(), '!c' => l("here", "http://www.timeanddate.com/worldclock/converter.html")))
     );
 
     for ($years = array(), $i = 1970; $i < 2032; $years[$i] = $i, $i++);
@@ -120,6 +130,7 @@
 
   case 'save':
     variable_set('countdown_event_name', $edit['countdown_event_name']);
+    variable_set('countdown_event_url', $edit['countdown_event_url']);
     variable_set('countdown_accuracy', $edit['countdown_accuracy']);
     variable_set('countdown_timestamp', mktime((int)$edit['hour'], (int)$edit['min'], (int)$edit['sec'], (int)$edit['month'], (int)$edit['day'], (int)$edit['year']));
 
@@ -161,7 +172,13 @@
   if ($accuracy == 's') {
     $block .= t(', %i seconds', array('%i' => $secs_left));
   }
-  $block .= t(($passed) ? ' since %s.' : ' until %s.', array('%s' => variable_get('countdown_event_name', '')));
+  $event_info = variable_get('countdown_event_name', '');
+  $event_url = variable_get('countdown_event_url', '');
+  if (!empty($event_url)) {
+    $event_info = l($event_info, check_url($event_url));
+  }
+  $event_info = "<strong>$event_info</strong>";
+  $block .= t(($passed) ? ' since %s.' : ' until !s.', array('!s' => $event_info));
   if ($accuracy != 'd') {
     $path = drupal_get_path('module', 'countdown');
     drupal_add_js($path .'/countdown.js');
