]> git.mxchange.org Git - mailer.git/blobdiff - templates/de/html/surfbar/surfbar_stopped.tpl
Some code 'beatuified', config in templates surfbar_stopped.tpl
[mailer.git] / templates / de / html / surfbar / surfbar_stopped.tpl
index 829000cf056e4c31197d4ed26113d3b885faf7db..398edf46196c7822934bf2c7328d7edb11c158a0 100644 (file)
@@ -1,50 +1,15 @@
 <div align="center">
        <div class="member_table dashed" style="width:500px;height:50px">
-               <div id="member_title2 bottom2">
+               <div id="member_title2 bottom">
                        <strong>Surfbar angehalten!</strong>
                </div>
 
                <div id="surfbar_button">
-                       Keine URLs mehr verf&uuml;rgbar oder Datenbankfehler liegt vor.<br />
+                       Keine URLs mehr verf&uuml;gbar oder Datenbankfehler liegt vor.<br />
                        Neustart in <span id="surfbar_counter">$content[start]</span> Sekunden
                </div>
        </div>
 </div>
 
-<script language="JavaScript" type="text/javascript">
-<!--
-var interval  = null;
-var counter   = "$content[restart]";
-var timer     = document.getElementById("surfbar_counter");
-var buttonDiv = document.getElementById("surfbar_button");
-
-function Restart () {
-       this.location.reload();
-}
-
-function ShowButton () {
-       buttonDiv.innerHTML = "<form action='{?URL?}/surfbar.php' target='_self' method='GET'><input type='hidden' name='frame' value='top' /><input type='submit' id='member_submit' value='Surfbar erneut starten' /></form>";
-}
-
-function Counter () {
-       if (counter == 0) {
-               if ($content[autostart] == true) {
-                       Restart();
-               } else {
-                       ShowButton();
-               }
-               window.clearInterval(interval);
-       } else {
-               counter--;
-               timer.innerHTML = counter;
-       }
-}
-
-function Init () {
-       interval = window.setInterval("Counter()", 1000);
-       timer.innerHTML = "$content[restart]";
-}
-
-window.setTimeout("Init()", 500);
-//-->
-</script>
+<script src="{?URL?}/js.php?js=surfbar_stopped{%version=surfbar%}&amp;restart={?surfbar_restart_time?}&amp;autostart=$content[autostart]"
+ type="text/javascript"></script>