Trying something with php order.

This commit is contained in:
Tristan Roux
2019-03-31 14:28:20 +02:00
parent 490c9e3f30
commit d172a3d8b0
+7 -5
View File
@@ -10,10 +10,6 @@
{
echo("<script>window.close();</script>");
}
elseif($openid->validate())
{
echo("<script>var a = document.getElementById('appOpen'); a.href = 'eau://steam-" . $openid->identity . "'</script>");
}
?>
<!DOCTYPE HTML>
<html>
@@ -23,4 +19,10 @@
<h1>Test</h1>
<a id="appOpen" href="eau://test">Open app (click here if you are not automatically redirected)</a>
</body>
</html>
</html>
<?php
elseif($openid->validate())
{
echo("<script>var a = document.getElementById('appOpen'); a.href = 'eau://steam-" . $openid->identity . "'</script>");
}
?>