]> git.mxchange.org Git - mailer.git/commitdiff
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 b44b55d3736033121f02babfe9550b44e297552e..5f746a4933d58aea9fbce2d749920a35fceb84bd 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 53f7a3a376bd9d276cd55635fc55d5fe22253de8..374260bad7e61052ce1a80884fd074ee6dde2d8a 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>