64 lines
1.9 KiB
Plaintext
64 lines
1.9 KiB
Plaintext
<%@language = "javascript" %>
|
|
<% /*
|
|
$Revision$
|
|
$Id$
|
|
|
|
File: token2mail.asp.asp
|
|
Description: shared/Zie pass2mail.asp maar dan PDA-layout
|
|
Hier sturen we uiteindelijk een inlogtoken
|
|
Parameters:
|
|
Context: Vanuit login.asp
|
|
|
|
NOTE: Dit scherm is nog niet specifiek in PDA-layout
|
|
Dat is uiteindelijk natuurlijk wel wenselijk maar login.asp zelf
|
|
is nog niet in PDA-layout dus dit vervolg/popup scherm dan wel
|
|
doen geeft te veel navigatie problemen.
|
|
*/
|
|
ANONYMOUS_Allowed = 1;
|
|
|
|
%>
|
|
<!--#include file="../Shared/common.inc"-->
|
|
<!--#include file="../Shared/iface.inc"-->
|
|
<!--#include file="../Shared/send_mail.inc"-->
|
|
|
|
<%
|
|
var mode = "B"; // Uiteindelijk token sturen
|
|
|
|
if (S("fac_emailtoken_auth_expire") == 0)
|
|
shared.simpel_page(L("lcl_no_auth"));
|
|
|
|
%>
|
|
<html>
|
|
<head>
|
|
<% FCLTHeader.Generate(); %>
|
|
<script type="text/javascript">
|
|
function pass_submit()
|
|
{
|
|
$.post($("form[name=u2]")[0].action, $("[name=u2]").serialize(), FcltCallbackClose, "json");
|
|
return true; // disable button
|
|
}
|
|
</script>
|
|
|
|
</head>
|
|
|
|
<body class="modal" id="mod_token2mail">
|
|
<div id="email">
|
|
<form name="u2" method="post" action="../shared/pass2mail_save.asp" onsubmit='pass_submit();return false;'>
|
|
<input type='hidden' name='mode' value='<%=mode%>'>
|
|
<%
|
|
BLOCK_START("emailInput", L("lcl_noti_sendbymail"));
|
|
RWFIELDTR("email", "fldtokenmail required", "", "");
|
|
%>
|
|
<tr><td><br/></td></tr>
|
|
<%
|
|
BLOCK_END();
|
|
var buttons = [ {title: L("lcl_noti_send"), icon: "email.png", action: "pass_submit()" },
|
|
{title: L("lcl_cancel"), icon: "undo.png", action: "FcltMgr.closeDetail( window )" }];
|
|
CreateButtons(buttons, { isModal: true });
|
|
IFACE.FORM_END();
|
|
%>
|
|
</form>
|
|
</div>
|
|
</body>
|
|
</html>
|