]> git.mxchange.org Git - mailer.git/blobdiff - templates/de/html/js/js_surfbar_frame_top.tpl
Updated copyright year.
[mailer.git] / templates / de / html / js / js_surfbar_frame_top.tpl
index 9a1b5a0befd724b8d02c07ea669f7a6b87b092d8..c0fa23faf7c9b6da5102352a9286b78477cd2305 100644 (file)
@@ -1,13 +1,8 @@
 /**
  * JavaScript for ext-surfbar - top frame
  * --------------------------------------------------------------------
- * $Revision::                                                        $
- * $Date::                                                            $
- * $Tag:: 0.2.1-FINAL                                                 $
- * $Author::                                                          $
- * --------------------------------------------------------------------
  * Copyright (c) 2003 - 2009 by Roland Haeder
- * Copyright (c) 2009 - 2012 by Mailer Developer Team
+ * Copyright (c) 2009 - 2016 by Mailer Developer Team
  * For more information visit: http://mxchange.org
  *
  * This program is free software; you can redistribute it and/or modify
@@ -26,8 +21,8 @@
  * MA  02110-1301  USA
  */
 
-var currCounter = '{%pipe,gerSurfbarReloadTime=$content[url_id]%}';
-var maxCounter  = '{%pipe,gerSurfbarReloadTime=$content[url_id]%}';
+var currCounter = '{%pipe,getSurfbarWaitingTime=$content[url_id]%}';
+var maxCounter  = '{%pipe,getSurfbarWaitingTime=$content[url_id]%}';
 var counter     = document.getElementById('surfbar_counter');
 var points      = document.getElementById('surfbar_points');
 var reload      = document.getElementById('surfbar_reload');
@@ -35,7 +30,7 @@ var max         = document.getElementById('surfbar_max');
 var countDown   = null;
 
 function startStopCounter () {
-       if (countDown == null) {
+       if (countDown === null) {
                // Start counter
                document.getElementById('start').innerHTML = '{--MEMBER_SURFBAR_ACTION_PAUSE_SUBMIT--}';
                countDown = window.setInterval('startCounter()', 1000);
@@ -53,7 +48,7 @@ function init () {
 }
 
 function confirm () {
-       if (parent.surfbar_url != null) {
+       if (parent.surfbar_url !== null) {
                // Is in right frameset
                parent.surfbar_url.location.href = '{%url=surfbar.php?id=$content[url_id]&check=$content[check]&salt=$content[salt]%}';
        } else {
@@ -63,7 +58,7 @@ function confirm () {
 }
 
 function reloadSurfbar () {
-       if (parent.surfbar_stats != null) {
+       if (parent.surfbar_stats !== null) {
                // Is in right frameset
                parent.surfbar_stats.location.reload();
        } else {
@@ -74,16 +69,16 @@ function reloadSurfbar () {
 }
 
 function initCounter () {
-       if (parent.surfbar_url != null) {
+       if (parent.surfbar_url !== null) {
                // Is in right frameset
-               parent.surfbar_url.location.href = '{%pipe,gerSurfbarUrl=$content[url_id]%}';
+               parent.surfbar_url.location.href = '{%pipe,getSurfbarUrl=$content[url_id]%}';
        } else {
                // Called frame=top directly
                window.location.href = '{%url=surfbar.php%}';
        }
 
-       counter.innerHTML = '{%pipe,gerSurfbarReloadTime=$content[url_id]%}';
-       points.innerHTML  = '{%pipe,gerSurfbarReward,translateComma=$content[url_id]%}';
+       counter.innerHTML = '{%pipe,getSurfbarWaitingTime=$content[url_id]%}';
+       points.innerHTML  = '{%pipe,getSurfbarReward,translateComma=$content[url_id]%}';
        reload.innerHTML  = '{%pipe,getSurfbarUserLocks%}';
        max.innerHTML     = '{%pipe,getSurfbarTotalUrls%}';
 }