Fix for missing array elements
[mailer.git] / templates / de / html / mailid / mailid_timer.tpl
index f3537d6483c59c4d73d7fcab9bf82332c17a0cb5..84f9d767ae6ee7342042fc8cba5aab0ded9ce96c 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);
        }
 }
@@ -23,14 +23,12 @@ function StartCounter() {
 <table border="0" cellspacing="0" cellpadding="0" class="member_mailidtop">
        <tr>
                <td width="220" align="center">
-               <table border="0" cellspacing="0" cellpadding="0" width="200" class="member_confirm dashed">
+               <table border="0" cellspacing="0" cellpadding="0" class="member_confirm dashed">
                        <tr>
                                <td align="center">
-                               <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--}
-                               {--MEMBER_TIME_COUNTER_2--}</form>
+                               <form accept-charset="utf-8" name="confirm" style="margin-top: 0px;margin-bottom:0px">
+                                       {%message,MEMBER_TIME_COUNTER,<input type="text" name="counter" size="$content[tim2]" readonly class="member_normal" value="$content[time]" />%}
+                               </form>
                                </td>
                        </tr>
                </table>