]> git.mxchange.org Git - mailer.git/blobdiff - templates/de/html/mailid/mailid_timer.tpl
A lot forced-space characters ( ) removed, naming convention applied also in...
[mailer.git] / templates / de / html / mailid / mailid_timer.tpl
index 84f9d767ae6ee7342042fc8cba5aab0ded9ce96c..99f06f341ef76ad5a03c28acf0ba746919249593 100644 (file)
@@ -1,19 +1,19 @@
 <script type="text/javascript">
 <!--
-var Timer = "$content[time]";
+var timer = "$content[time]";
 
-function Init() {
-       var Counter = window.setInterval("StartCounter()", 1000);
+function init() {
+       var Counter = window.setInterval("startCounter()", 1000);
 }
 
-function StartCounter() {
-       if (Timer < 1) {
+function startCounter() {
+       if (timer < 1) {
                return false;
        }
 
-       Timer--;
-       document.confirm.counter.value = Timer;
-       if (Timer == 0) {
+       timer--;
+       document.confirm.counter.value = timer;
+       if (timer == 0) {
                document.location.href = '{%url,js=mailid_top.php?userid=$content[userid]&$content[type]=$content[data]&mode=confirm&code=$content[rand]%}';
                clearInterval(Counter);
        }
@@ -44,7 +44,7 @@ function StartCounter() {
 </table>
 <script type="text/javascript">
 <!--
-document.confirm.counter.value = Timer;
-Init();
+document.confirm.counter.value = timer;
+init();
 //-->
 </script>