--- webcomic_theme.inc	2006-04-19 19:32:21.000000000 +0300
+++ webcomic_theme-5.x-0.x-dev.inc	2007-12-03 01:22:23.000000000 +0200
@@ -23,68 +23,66 @@ function theme_webcomic_body($node, $siz
  * @ingroup themeable
  */
 function theme_webcomic_navigation($node) {
-  $output = '';
-  if ($node->nid) {
-    $links .= theme('webcomic_first_link', $node);
-    $links .= theme('webcomic_prev_link', $node);
-    $links .= theme('webcomic_index_link', $node);
-    $links .= theme('webcomic_next_link', $node);
-    $links .= theme('webcomic_last_link', $node);
-
-    $output = '<div class="webcomic-navigation">' . $links . '</div>';
-  }
+  $output = '<div class="webcomic-navigation">';
+  $output .= theme('webcomic_first_link', $node);
+  $output .= theme('webcomic_prev_link', $node);
+  $output .= theme('webcomic_index_link', $node);
+  $output .= theme('webcomic_next_link', $node);
+  $output .= theme('webcomic_last_link', $node);
+  $output .= '</div>';
 
   return $output;
 }
+
 function theme_webcomic_first_link($node) {
   if ($first = webcomic_first($node)) {
-    $path = '/' . drupal_get_path('module', 'webcomic') . '/img/go-first.png';
+    $path = drupal_get_path('module', 'webcomic') . '/img/go-first.png';
     drupal_add_link(array('rel' => 'first', 'href' => url('node/'. $first->nid)));
     return l('<img src="' . $path . '" title="' . t('first') . '" />', 'node/'. $first->nid, array('class' => 'page-first', 'title' => $first->title), NULL, NULL, FALSE, TRUE);
   }
   else {
-    $path = '/' . drupal_get_path('module', 'webcomic') . '/img/go-first-dim.png';
+    $path = drupal_get_path('module', 'webcomic') . '/img/go-first-dim.png';
     return '<img src="' . $path . '" />';
   }
 }
 
 function theme_webcomic_prev_link($node) {
   if ($prev = webcomic_prev($node)) {
-    $path = '/' . drupal_get_path('module', 'webcomic') . '/img/go-previous.png';
+    $path = drupal_get_path('module', 'webcomic') . '/img/go-previous.png';
     drupal_add_link(array('rel' => 'prev', 'href' => url('node/'. $prev->nid)));
     return l('<img src="' . $path . '" title="' . t('previous') . '" />', 'node/'. $prev->nid, array('class' => 'page-prev', 'title' => $prev->title), NULL, NULL, FALSE, TRUE);
   }
   else {
-    $path = '/' . drupal_get_path('module', 'webcomic') . '/img/go-previous-dim.png';
+    $path = drupal_get_path('module', 'webcomic') . '/img/go-previous-dim.png';
     return '<img src="' . $path . '" />';
   }
 }
 
 function theme_webcomic_index_link($node) {
-  $path = '/' . drupal_get_path('module', 'webcomic') . '/img/go-up.png';
+  $path = drupal_get_path('module', 'webcomic') . '/img/go-up.png';
   drupal_add_link(array('rel' => 'index', 'href' => webcomic_index()));
   return l('<img src="' . $path . '" title="' . t('index') . '" />', webcomic_index(), array('class' => 'page-up', 'title' => t('Go to index page')), NULL, NULL, FALSE, TRUE);
 }
 
 function theme_webcomic_next_link($node) {
   if ($next = webcomic_next($node)) {
-    $path = '/' . drupal_get_path('module', 'webcomic') . '/img/go-next.png';
+    $path = drupal_get_path('module', 'webcomic') . '/img/go-next.png';
     drupal_add_link(array('rel' => 'next', 'href' => url('node/'. $next->nid)));
     return l('<img src="' . $path . '" title="' . t('next') . '" />', 'node/'. $next->nid, array('class' => 'page-next', 'title' => $next->title), NULL, NULL, FALSE, TRUE);
   }
   else {
-    $path = '/' . drupal_get_path('module', 'webcomic') . '/img/go-next-dim.png';
+    $path = drupal_get_path('module', 'webcomic') . '/img/go-next-dim.png';
     return '<img src="' . $path . '" />';
   }
 }
 
 function theme_webcomic_last_link($node) {
   if ($latest = webcomic_last($node)) {
-    $path = '/' . drupal_get_path('module', 'webcomic') . '/img/go-last.png';
+    $path = drupal_get_path('module', 'webcomic') . '/img/go-last.png';
     drupal_add_link(array('rel' => 'last', 'href' => url('node/'. $latest->nid)));
     return l('<img src="' . $path . '" title="' . t('latest') . '" />', 'node/'. $latest->nid, array('class' => 'page-latest', 'title' => $latest->title), NULL, NULL, FALSE, TRUE);
   } else {
-    $path = '/' . drupal_get_path('module', 'webcomic') . '/img/go-last-dim.png';
+    $path = drupal_get_path('module', 'webcomic') . '/img/go-last-dim.png';
     return '<img src="' . $path . '" />';
   }
 }
@@ -96,7 +94,7 @@ function _webcomic_is_new_value($value) 
     return $value;
   }
   else {
-    $path = '/' . drupal_get_path('module', 'webcomic') . '/img/go-first-dim.png';
+    $path = drupal_get_path('module', 'webcomic') . '/img/go-first-dim.png';
     return '<img src="' . $path . '" title="' . t('first') . '" />';
   }
 }
@@ -181,7 +179,6 @@ function theme_webcomic_strip_listing($n
   return l($node->title, 'node/'.$node->nid);
 }
 
-
 function theme_webcomic_episode_listing($node) {
   return l($node->title, 'node/'.$node->nid);
 }
@@ -200,4 +197,4 @@ function theme_webcomic_storyline_groupi
   $output .= '<h3 class="storyline_header">' . $node->title . '</h3>';
   $output .= '<p class="storyline_teaser">' . $node->teaser . '</p>';
   return $output;
-}
\ No newline at end of file
+}
