mailer project continued:
[mailer.git] / templates / de / html / js / js_surfbar_stopped.tpl
index 6e04e692afffef4ff7b899cefc010239e07d166b..74f71b7edfffda9c6c17805ef1dc6b91c73ed50f 100644 (file)
@@ -1,14 +1,42 @@
+/**
+ * JavaScript for ext-surfbar - Stopped
+ * --------------------------------------------------------------------
+ * $Revision::                                                        $
+ * $Date::                                                            $
+ * $Tag:: 0.2.1-FINAL                                                 $
+ * $Author::                                                          $
+ * --------------------------------------------------------------------
+ * Copyright (c) 2003 - 2009 by Roland Haeder
+ * Copyright (c) 2009 - 2012 by Mailer Developer Team
+ * For more information visit: http://mxchange.org
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
+ * MA  02110-1301  USA
+ */
+
 var interval  = null;
-var countDown = "{?surfbar_restart_time?}";
-var timer     = document.getElementById("surfbar_counter");
-var buttonDiv = document.getElementById("surfbar_button");
+var countDown = '{?surfbar_restart_time?}';
+var timer     = document.getElementById('surfbar_counter');
+var buttonDiv = document.getElementById('surfbar_button');
 
 function restart () {
        this.location.reload();
 }
 
 function showButton () {
-       buttonDiv.innerHTML = "<form accept-charset='UTF-8' action='{%url=surfbar.php%}' target='_self' method='GET'><input type='hidden' name='frame' value='top' /><input type='submit' id='form_submit' value='Surfbar erneut starten' /></form>";
+       buttonDiv.innerHTML = '<form accept-charset=\'UTF-8\' action=\'{%url=surfbar.php%}\' target=\'_self\' method=\'GET\'><input type=\'hidden\' name=\'frame\' value=\'top\' /><input type=\'submit\' id=\'form_submit\' value=\'Surfbar erneut starten\' /></form>';
 }
 
 function counter () {
@@ -26,8 +54,8 @@ function counter () {
 }
 
 function init () {
-       interval = window.setInterval("counter()", 1000);
-       timer.innerHTML = "{?surfbar_restart_time?}";
+       interval = window.setInterval('counter()', 1000);
+       timer.innerHTML = '{?surfbar_restart_time?}';
 }
 
-window.setTimeout("init()", 500);
+window.setTimeout('init()', 500);