Some improvements
authorRoland Häder <roland@mxchange.org>
Sat, 31 Oct 2009 16:26:41 +0000 (16:26 +0000)
committerRoland Häder <roland@mxchange.org>
Sat, 31 Oct 2009 16:26:41 +0000 (16:26 +0000)
inc/modules/member/what-reflinks.php
templates/de/html/member/member_reflinks_row.tpl

index b44b55d..5f746a4 100644 (file)
@@ -97,7 +97,12 @@ if (SQL_NUMROWS($result) > 0) {
                        $size = filesize($test);
                }
 
-               $row['alternate'] = '{?MAIN_TITLE?} - {?SLOGAN?}';
+               // Empty alternative text?
+               if (empty($row['alternate'])) {
+                       // Then set default
+                       $row['alternate'] = '{?MAIN_TITLE?} - {?SLOGAN?}';
+               } // END - if
+
                if ($size > 0) $row['alternate'] .= ' ('  .translateComma(round($size / 102.4) / 10) . ' {--KBYTES--})';
 
                // Add some more data
index 53f7a3a..374260b 100644 (file)
@@ -18,7 +18,7 @@
 <tr>
        <td width="10" class="member_refbanner switch_sw$content[sw]">&nbsp;</td>
        <td align="center" class="member_refbanner switch_sw$content[sw]">
-       <pre>&lt;a href=&quot;{?URL?}/click.php?user=$content[userid]&amp;banner=$content[id]&quot;
+       <pre style="width:600px">&lt;a href=&quot;{?URL?}/click.php?user=$content[userid]&amp;banner=$content[id]&quot;
  target=&quot;_blank&quot;&gt;&lt;img src=&quot;{?URL?}/view.php?user=$content[userid]&amp;banner=$content[id]&quot;
  alt=&quot;$content[alternate]&quot; title=&quot;$content[alternate]&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;</pre>
        </td>