mirror of
https://github.com/zoriya/EAU.git
synced 2026-06-01 18:15:19 +00:00
Trying something with php order.
This commit is contained in:
+7
-5
@@ -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>");
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user