AAAH#35551 -- Uitbreiding Absoluta koppeling

svn path=/Website/branches/v2016.1/; revision=29664
This commit is contained in:
Arthur Egberink
2016-06-08 08:01:37 +00:00
parent 6b0a13beaf
commit f62c95814f

View File

@@ -33,15 +33,15 @@ user.auth_required_or_abort(this_bes.canRetourURL);
if (!oRs.eof) {
succes = 1;
//remoteUrl = "http://www.facilitor.nl/?id=" + oRs(0).value + "&accounthash=" + safe.url(accounthash);
remoteUrl = safe.jsstring("https://corp.dev.sotasty.nl/index/login/accounthash/" + safe.url(accounthash) + "/orderid/" + oRs(0).value + "/actie/choose/");
msg = safe.html("Een moment... U wordt doorgezet naar de site van de leverancier.");
remoteUrl = "https://corp.dev.sotasty.nl/index/login/accounthash/" + safe.url(accounthash) + "/orderid/" + oRs(0).value + "/actie/choose/";
msg = "Een moment... U wordt doorgezet naar de site van de leverancier.";
}
else {
msg = "U heeft hiervoor geen autorisatie.";
}
%>
<html>
<body onload="succes=<%=succes%>;if(succes)window.open('<%=remoteUrl%>');">
<p><%=msg%></p>
<body onload="succes=<%=succes%>;if(succes)window.open('<%=safe.jsstring(remoteUrl)%>');">
<p><%=safe.html(msg)%></p>
</body>
</html>