]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/member/what-reflinks.php
More fixes for ext-surfbar:
[mailer.git] / inc / modules / member / what-reflinks.php
index 85ec23d839c41b1cee78117519a4e90928f3b121..c1a5a1794b818f27f4466aefc46ed3a9250448f4 100644 (file)
@@ -16,7 +16,7 @@
  * $Author::                                                          $ *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
- * Copyright (c) 2009, 2010 by Mailer Developer Team                    *
+ * Copyright (c) 2009 - 2011 by Mailer Developer Team                   *
  * For more information visit: http://www.mxchange.org                  *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
@@ -43,7 +43,7 @@ if (!defined('__SECURITY')) {
 }
 
 // Add description as navigation point
-addMenuDescription('member', __FILE__);
+addYouAreHereLink('member', __FILE__);
 
 // Prepare some data
 $content['userid']           = getMemberId();
@@ -93,7 +93,9 @@ if (!SQL_HASZERONUMS($result)) {
                        $row['alternate'] = '{?MAIN_TITLE?} - {?SLOGAN?}';
                } // END - if
 
-               if ($size > 0) $row['alternate'] .= ' ('  .translateComma(round($size / 102.4) / 10) . ' {--KBYTES--})';
+               if ($size > 0) {
+                       $row['alternate'] .= ' ('  .translateComma(round($size / 102.4) / 10) . ' {--KBYTES--})';
+               } // END - if
 
                // Add some more data
                $row['userid'] = getMemberId();
@@ -105,8 +107,8 @@ if (!SQL_HASZERONUMS($result)) {
        // Load final template
        $content['refbanner_content'] = loadTemplate('member_reflinks_table', true, $OUT);
 } else {
-       // No refbanner found!
-       $content['refbanner_content'] = loadTemplate('admin_settings_saved', true, '{--MEMBER_NO_REFBANNER_FOUND--}');
+       // No refbanner found
+       $content['refbanner_content'] = displayMessage('{--MEMBER_NO_REFBANNER_FOUND--}', true);
 }
 
 // Free result