--- worldclock.module.old	2008-12-03 07:50:18.000000000 -0800
+++ worldclock.module	2008-12-10 17:32:42.321236000 -0800
@@ -299,24 +299,36 @@ function theme_clocks_list($wc_location,
   $output = '';
   // output table HTML
   $tr_class = '';
-  $output .= '<table id="wordclock">';
+  //check to see if horizontal or vertical displayed
+  $horizontal = variable_get('worldclock_horizontal', 0);
+
+  //if horizontal the clocks should be displayed in 1 row
+  if($horizontal){
+    $output .= '<table id="wordclock" width="100%" >';
+    $output .= '<tr class="odd">';
+  }else{
+    $output .= '<table id="wordclock">';
+  }
+   
   for ($j = 1 ; $j <= $maxnum ; $j++) {
+   if(!$horizontal){
     if ($showzebra) {
       if ($j % 2) $tr_class = 'odd';
       else $tr_class = 'even';
     }
+   }
     $loc_no = variable_get('worldclock_location_'. $j, 0);
     if ($loc_no > 0) {
       // get location name
       $loc = $wc_location[$loc_no];
       $loc_name  = $loc[INDEX_NAME];
-      $output .= '<tr class="'. $tr_class .'">';
-      $output .= '<td class="worldclock_location">'. $loc_name  .'</td>';
-      $output .= '<td class="worldclock_time">';
+      if(!$horizontal){$output .= '<tr class="'. $tr_class .'">';}
+      $output .= '<td class="worldclock_location" align="right"> '. $loc_name  .' :</td>';
+      $output .= '<td class="worldclock_time" align="left">';
       $output .= '<span id="worldclock'. $j .'"></span></td>';
-      $output .= '</tr>';
     }
   }
+  if($horizontal){$output .= '</tr>';} 
   $output .= '</table>';
   if ($footnote) {
     $output .= '<span id="worldclock_footnote">'. $footnote .'</span>';
@@ -458,6 +470,12 @@ function worldclock_admin() {
     '#prefix' => '<div id="worldclock_timestr_div" style="'. $timestr_style .'">',
     '#suffix' => '</div>',
   );
+  $form['display']['worldclock_horizontal'] = array(
+    '#type' => 'checkbox',
+    '#default_value' => variable_get('worldclock_horizontal', 0),
+    '#title' => t('Display the clock Horizontally.'),
+    '#description' => t('If checked, The clocks will be displayed in a horizontal row. This is better for a content block. Vertical is better for side bar block'),
+  );
 
   $form['display']['worldclock_showdst'] = array(
     '#type' => 'checkbox',
@@ -497,6 +515,8 @@ function worldclock_admin() {
     '#title' => t('Add even and odd class to &lt;tr&gt; tag.'),
     '#description' => t('If checked, odd and even class is added to the &lt;tr&gt; tag of each table row.'),
   );
+
+
   return system_settings_form($form);
 }
 
