X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=templates%2Fde%2Fhtml%2Fsurfbar%2Fsurfbar_frame_top.tpl;h=d5b3a99bbc76cdcefbb39dcfb15ac3ea7364ce2d;hb=49248176a5638be80b148ef55d0dc8c334522bf3;hp=957f122c186051727121f888bab5e8e9f4896384;hpb=d4009256bf762ca61fc732f8cb167f2386086414;p=mailer.git diff --git a/templates/de/html/surfbar/surfbar_frame_top.tpl b/templates/de/html/surfbar/surfbar_frame_top.tpl index 957f122c18..d5b3a99bbc 100644 --- a/templates/de/html/surfbar/surfbar_frame_top.tpl +++ b/templates/de/html/surfbar/surfbar_frame_top.tpl @@ -1,14 +1,15 @@ - +
-
- »$content[reward] {!POINTS!} in + + »$content[xxx],$content[xxx] {!POINTS!} in $content[xxx] Sekunden« »$content[curr_reload] von $content[max_urls] im Reload«
+ id="surfbar_counter_word">Sekunden« »X von X im Reload«
»Aktuelle Seite in neuem - Fenster öffnen« [« [Anhalten|Loginbereich|Ausloggen|Schliessen]
@@ -22,8 +23,24 @@ var currCounter = "$content[reload]"; var maxCounter = "$content[reload]"; var counter = document.getElementById("surfbar_counter"); +var points = document.getElementById("surfbar_points"); +var reload = document.getElementById("surfbar_reload"); +var max = document.getElementById("surfbar_max"); var countDown = null; +function StartStopCounter () { + if (countDown == null) { + // Start counter + document.getElementById("start").innerHTML = "Anhalten"; + countDown = window.setInterval("StartCounter()", 1000); + } else { + document.getElementById("start").innerHTML = "Weiter"; + window.clearInterval(countDown); + countDown = null; + } + return false; +} + function Init() { countDown = window.setInterval("StartCounter()", 1000); window.setTimeout("InitCounter()", 500); @@ -34,12 +51,16 @@ function Confirm() { } function ReloadThis() { + parent.surfbar_stats.location.reload(); this.location.reload(); } function InitCounter() { parent.surfbar_url.location.href = "$content[url]"; - counter.innerHTML = $content[reload]; + counter.innerHTML = '$content[reload]'; + points.innerHTML = '$content[points]'; + reload.innerHTML = '$content[curr_reload]'; + max.innerHTML = '$content[max_urls]'; } function StartCounter() {