X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=templates%2Fde%2Fhtml%2Fsurfbar%2Fsurfbar_frame_top.tpl;h=5da82c3da39714e471adaa891ebfda59049c2228;hb=c67165a2e80230515a0c0897ee53bb177f7d88dd;hp=8038a14cadd969f06c672038758d8db8697bdafe;hpb=a1ef1533f17e1ca5db81a9912632491e72626694;p=mailer.git
diff --git a/templates/de/html/surfbar/surfbar_frame_top.tpl b/templates/de/html/surfbar/surfbar_frame_top.tpl
index 8038a14cad..5da82c3da3 100644
--- a/templates/de/html/surfbar/surfbar_frame_top.tpl
+++ b/templates/de/html/surfbar/surfbar_frame_top.tpl
@@ -7,10 +7,11 @@
class="surfbar_reload">$content[curr_reload] von $content[max_urls] im Reload«
- »Aktuelle Seite in neuem
- Fenster öffnen«
[Ausloggen|Schliessen]
+ »Aktuelle Seite in neuem
+ Fenster öffnen« [Loginbereich|Ausloggen|Schliessen]
»{!MAIN_TITLE!} ist für den Inhalt nicht verantwortlich!«
@@ -25,13 +26,22 @@ var countDown = null;
function Init() {
countDown = window.setInterval("StartCounter()", 1000);
- parent.surfbar_url.location.href = "$content[url]";
+ window.setTimeout("InitCounter()", 500);
}
function Confirm() {
parent.surfbar_url.location="{!URL!}/surfbar.php?id=$content[id]&check=$content[check]&salt=$content[salt]";
}
+function ReloadThis() {
+ this.location.reload();
+}
+
+function InitCounter() {
+ parent.surfbar_url.location.href = "$content[url]";
+ counter.innerHTML = $content[reload];
+}
+
function StartCounter() {
if (currCounter < 1) {
return false;
@@ -43,11 +53,10 @@ function StartCounter() {
if (currCounter == 0) {
clearInterval(countDown);
Confirm();
- this.location.reload();
+ window.setTimeout("ReloadThis()", 500);
}
}
-counter.innerHTML = $content[reload];
Init();
//-->