Global rewrite of engine:
[mailer.git] / templates / de / html / mailid / mailid_timer.tpl
index f3537d6483c59c4d73d7fcab9bf82332c17a0cb5..4cbe33e35f81c3c2b3ae7a139365012f2950ea5f 100644 (file)
@@ -14,7 +14,7 @@ function StartCounter() {
        Timer--;
        document.confirm.counter.value = Timer;
        if (Timer == 0) {
-               document.location.href="{?URL?}/mailid_top.php?userid=$content[userid]&$content[type]=$content[data]&mode=confirm&code=$content[rand]";
+               document.location.href = '{%url,js=mailid_top.php?userid=$content[userid]&$content[type]=$content[data?mode=confirm&code=$content[rand]%}';
                clearInterval(Counter);
        }
 }
@@ -26,7 +26,7 @@ function StartCounter() {
                <table border="0" cellspacing="0" cellpadding="0" width="200" class="member_confirm dashed">
                        <tr>
                                <td align="center">
-                               <form accept-charset="utf-8" name="confirm" style="margin-top: 0pxmargin-bottom: 0px">
+                               <form accept-charset="utf-8" name="confirm" style="margin-top: 0px?margin-bottom: 0px">
                                {--MEMBER_TIME_COUNTER_1--} <input type="text" name="counter"
                                        size="$content[tim2]" readonly class="member_normal"
                                        value="$content[time]">&nbsp;{--_SECONDS--}