Small fix in crosspost layout
[platal.git] / modules / banana / banana.inc.php
index a28d1c8..5fcc67a 100644 (file)
@@ -27,7 +27,7 @@ function hook_formatDisplayHeader($_header, $_text) {
         $id = $banana->post->headers['x-org-id'];
         $_text = formatFrom($_text);
         return $_text . ' <a href="profile/' . $id . '" class="popup2" title="' . $id . '">'
-             . '<img src="images/loupe.gif" alt="fiche" title="fiche" /></a>';
+             . '<img src="images/icons/user_suit.gif" title="fiche" alt="" /></a>';
     }
 }
 
@@ -42,7 +42,8 @@ function hook_shortcuts()
 }
 
 function hook_makeLink($params) {
-    $base = 'banana';
+    global $globals;
+    $base = $globals->baseurl . '/banana';
     if ($params['subscribe'] == 1) {
         return $base . '/subscription';
     }
@@ -95,9 +96,9 @@ function hook_getSubject(&$subject)
         $subject = $matches[1];
         global $banana;
         if ($banana->state['group'] == $matches[2]) {
-            return ' [=> ' . $matches[2] . ']';
+            return ' [=>&nbsp;' . $matches[2] . ']';
         } else {
-            return ' [=> ' . makeHREF(array('group' => $matches[2]), $matches[2]) . ']';
+            return ' [=>&nbsp;' . makeHREF(array('group' => $matches[2]), $matches[2]) . ']';
         }
     }
     return null;