]> git.mxchange.org Git - mailer.git/blobdiff - templates/de/html/surfbar/surfbar_stopped.tpl
Next wave of lesser getMessage() usage and more EL
[mailer.git] / templates / de / html / surfbar / surfbar_stopped.tpl
index 9e39f077fe021b30ffce62c0bedc67e9106e1bd2..74c27aa5452456303b0ad754340a19e105d0f4d7 100644 (file)
@@ -1,38 +1,15 @@
 <div align="center">
-       <div class="member_table dashed" style="width:500px">
-               <div class="member_title2 bottom2">
+       <div class="member_table dashed" style="width:500px;height:50px">
+               <div id="member_title bottom">
                        <strong>Surfbar angehalten!</strong>
                </div>
 
-               Keine URLs mehr verf&uuml;rgbar oder Datenbankfehler liegt vor.<br />
-               Neustart in <span id="surfbar_restart">$content[start]</span> Sekunden
+               <div id="surfbar_button">
+                       Keine URLs mehr verf&uuml;gbar oder Datenbankfehler liegt vor.<br />
+                       Neustart in <span class="surfbar_counter">$content[start]</span> Sekunden
+               </div>
        </div>
 </div>
 
-<script language="JavaScript" type="text/javascript">
-<!--
-var counter = "$content[restart]";
-var timer   = document.getElementById("surfbar_restart");
-
-function Restart() {
-       this.location.reload();
-}
-
-function Counter () {
-       if (counter == 0) {
-               Restart();
-       } else {
-               counter--;
-               timer.innerHTML = counter;
-       }
-}
-
-function Init () {
-       window.setInterval("Counter()", 1000);
-       timer.innerHTML = "$content[restart]";
-}
-
-window.setTimeout("Init()", 500);
-
-//-->
-</script>
\ No newline at end of file
+<script src="{%url=js.php?js=surfbar_stopped%}{%ext,version=surfbar%}&amp;restart={?surfbar_restart_time?}&amp;autostart=$content[autostart]"
+ type="text/javascript"></script>