mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-02-06 20:45:54 +01:00
pass along wl (dict) param if present
This commit is contained in:
parent
a3e0d0ca1e
commit
b2e329f670
1 changed files with 12 additions and 2 deletions
|
@ -1,3 +1,4 @@
|
||||||
|
<!-- -*- mode: sgml; -*- -->
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
// script to work around URLs with custom schemes not being clickable in
|
// script to work around URLs with custom schemes not being clickable in
|
||||||
|
@ -10,11 +11,15 @@ $lang = $_REQUEST["lang"];
|
||||||
$room = $_REQUEST["room"];
|
$room = $_REQUEST["room"];
|
||||||
$np = $_REQUEST["np"];
|
$np = $_REQUEST["np"];
|
||||||
$id = $_REQUEST["id"];
|
$id = $_REQUEST["id"];
|
||||||
|
$wl = $_REQUEST["wl"];
|
||||||
|
|
||||||
$content = "0; url=$scheme://$host?room=$room&lang=$lang&np=$np";
|
$content = "0; url=$scheme://$host?room=$room&lang=$lang&np=$np";
|
||||||
if ( $id != "" ) {
|
if ( $id != "" ) {
|
||||||
$content .= "&id=$id";
|
$content .= "&id=$id";
|
||||||
}
|
}
|
||||||
|
if ( $wl != "" ) {
|
||||||
|
$content .= "&wl=$wl";
|
||||||
|
}
|
||||||
|
|
||||||
print <<<EOF
|
print <<<EOF
|
||||||
|
|
||||||
|
@ -33,10 +38,15 @@ print <<<EOF
|
||||||
|
|
||||||
<p>redirecting to Crosswords....</p>
|
<p>redirecting to Crosswords....</p>
|
||||||
|
|
||||||
<p>This page is meant to be viewed (briefly) on your Android device after which Crosswords should launch.
|
<p>This page is meant to be viewed (briefly) on your Android
|
||||||
If this fails it's probably because you don't have a new enough version of Crosswords installed.
|
device after which Crosswords should launch.
|
||||||
|
</p>
|
||||||
|
<p>If this fails it's probably because you don't have a new enough
|
||||||
|
version of Crosswords installed. Or because your browser does
|
||||||
|
not allow URL redirects.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
<img src="./icon48x48.png">
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue