2010-01-12 12:05:01 +01:00
|
|
|
<TMPL_INCLUDE NAME="header.tpl">
|
|
|
|
|
|
|
|
<div class="message <TMPL_VAR NAME="AUTH_ERROR_TYPE">"><ul><li>
|
|
|
|
<lang en="Confirmation" fr="Confirmation"/>
|
|
|
|
</li></ul></div>
|
|
|
|
|
|
|
|
<div class="loginlogo"></div>
|
|
|
|
|
|
|
|
<form id="form" action="<TMPL_VAR NAME="URL">" method="post" class="login">
|
2010-04-02 11:17:02 +02:00
|
|
|
<TMPL_VAR NAME="HIDDEN_INPUTS">
|
2010-01-12 12:05:01 +01:00
|
|
|
<p><input type="hidden" name="url" value="<TMPL_VAR NAME="AUTH_URL">" /></p>
|
|
|
|
<input type="hidden" id="confirm" name="confirm" value="1" />
|
|
|
|
<TMPL_VAR NAME="MSG">
|
2010-01-12 12:19:13 +01:00
|
|
|
<p id="timer"><lang en="Automaticaly accept in 5 seconds" fr="Acceptation automatique dans 5 secondes"/></p>
|
|
|
|
<table><tbody><tr><th>
|
2010-01-12 12:05:01 +01:00
|
|
|
<div class="buttons">
|
|
|
|
<button type="submit" class="positive">
|
2010-02-08 18:23:43 +01:00
|
|
|
<img src="/skins/common/accept.png" alt="" />
|
2010-01-12 12:05:01 +01:00
|
|
|
<lang en="Accept" fr="Accepter" />
|
|
|
|
</button>
|
|
|
|
<button type="submit" class="negative" onclick="$('#confirm').attr('value','-1');">
|
2010-02-08 18:23:43 +01:00
|
|
|
<img src="/skins/common/cancel.png" alt="" />
|
2010-01-12 12:05:01 +01:00
|
|
|
<lang en="Refuse" fr="Refuser" />
|
|
|
|
</button>
|
|
|
|
</div>
|
2010-01-12 12:19:13 +01:00
|
|
|
</th></tr></tbody></table>
|
2010-01-12 12:05:01 +01:00
|
|
|
</form>
|
|
|
|
<script>
|
|
|
|
var i=5;
|
2010-03-01 17:14:13 +01:00
|
|
|
var _go=1;
|
|
|
|
function stop() {
|
|
|
|
_go=0;
|
|
|
|
$('#timer').html("...");
|
|
|
|
}
|
2010-01-12 12:05:01 +01:00
|
|
|
function go() {
|
2010-03-01 17:14:13 +01:00
|
|
|
if(_go)$("#form").submit();
|
2010-01-12 12:05:01 +01:00
|
|
|
}
|
|
|
|
function timer() {
|
|
|
|
var h=$('#timer').html();
|
|
|
|
i--;
|
|
|
|
h=h.replace(/\d+/,i);
|
|
|
|
$('#timer').html(h);
|
|
|
|
window.setTimeout('timer()',1000);
|
|
|
|
}
|
|
|
|
$(document).ready(function(){
|
|
|
|
window.setTimeout('go()',5000);
|
|
|
|
window.setTimeout('timer()',1000);
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<TMPL_INCLUDE NAME="footer.tpl">
|