From: Roland Häder Date: Sat, 31 Oct 2009 16:26:41 +0000 (+0000) Subject: Some improvements X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=003327b581d825dd686729ebd6e60f53774a524a;p=mailer.git Some improvements --- diff --git a/inc/modules/member/what-reflinks.php b/inc/modules/member/what-reflinks.php index b44b55d373..5f746a4933 100644 --- a/inc/modules/member/what-reflinks.php +++ b/inc/modules/member/what-reflinks.php @@ -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 diff --git a/templates/de/html/member/member_reflinks_row.tpl b/templates/de/html/member/member_reflinks_row.tpl index 53f7a3a376..374260bad7 100644 --- a/templates/de/html/member/member_reflinks_row.tpl +++ b/templates/de/html/member/member_reflinks_row.tpl @@ -18,7 +18,7 @@   -
<a href="{?URL?}/click.php?user=$content[userid]&banner=$content[id]"
+	
<a href="{?URL?}/click.php?user=$content[userid]&banner=$content[id]"
  target="_blank"><img src="{?URL?}/view.php?user=$content[userid]&banner=$content[id]"
  alt="$content[alternate]" title="$content[alternate]" border="0" /></a>