X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=templates%2Fde%2Fhtml%2Fjs%2Fjs_surfbar_frame_top.tpl;h=c0fa23faf7c9b6da5102352a9286b78477cd2305;hb=61621983cc6d7195fcc7eab29b5f6080ff283b34;hp=f08dadb0f96dbc0dcd5f295a5e705b125bb73901;hpb=dffad9e811f8728d2672630a009fe2f8736c3837;p=mailer.git diff --git a/templates/de/html/js/js_surfbar_frame_top.tpl b/templates/de/html/js/js_surfbar_frame_top.tpl index f08dadb0f9..c0fa23faf7 100644 --- a/templates/de/html/js/js_surfbar_frame_top.tpl +++ b/templates/de/html/js/js_surfbar_frame_top.tpl @@ -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,getSurfbarReloadTime=$content[url_id]%}'; -var maxCounter = '{%pipe,getSurfbarReloadTime=$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,7 +69,7 @@ function reloadSurfbar () { } function initCounter () { - if (parent.surfbar_url != null) { + if (parent.surfbar_url !== null) { // Is in right frameset parent.surfbar_url.location.href = '{%pipe,getSurfbarUrl=$content[url_id]%}'; } else { @@ -82,7 +77,7 @@ function initCounter () { window.location.href = '{%url=surfbar.php%}'; } - counter.innerHTML = '{%pipe,getSurfbarReloadTime=$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%}';