]> git.mxchange.org Git - mailer.git/blobdiff - templates/de/html/mailid/mailid_timer.tpl
CSS classes cleaned up, templates simplified:
[mailer.git] / templates / de / html / mailid / mailid_timer.tpl
index 84f9d767ae6ee7342042fc8cba5aab0ded9ce96c..4fad723ad9e4562b5e6275c8c39ed192442fb96b 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);
        }
@@ -34,17 +34,15 @@ function StartCounter() {
                </table>
                </td>
                <td align="center">
-               <table border="0" cellspacing="0" cellpadding="0" class="member_banner dashed">
-                       <tr>
-                               <td align="center">$content[banner]</td>
-                       </tr>
-               </table>
+                       <div class="member_banner dashed">
+                               $content[banner]
+                       </div>
                </td>
        </tr>
 </table>
 <script type="text/javascript">
 <!--
-document.confirm.counter.value = Timer;
-Init();
+document.confirm.counter.value = timer;
+init();
 //-->
 </script>