mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-29 08:34:37 +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
|
||||
|
||||
// script to work around URLs with custom schemes not being clickable in
|
||||
|
@ -10,11 +11,15 @@ $lang = $_REQUEST["lang"];
|
|||
$room = $_REQUEST["room"];
|
||||
$np = $_REQUEST["np"];
|
||||
$id = $_REQUEST["id"];
|
||||
$wl = $_REQUEST["wl"];
|
||||
|
||||
$content = "0; url=$scheme://$host?room=$room&lang=$lang&np=$np";
|
||||
if ( $id != "" ) {
|
||||
$content .= "&id=$id";
|
||||
}
|
||||
if ( $wl != "" ) {
|
||||
$content .= "&wl=$wl";
|
||||
}
|
||||
|
||||
print <<<EOF
|
||||
|
||||
|
@ -33,10 +38,15 @@ print <<<EOF
|
|||
|
||||
<p>redirecting to Crosswords....</p>
|
||||
|
||||
<p>This page is meant to be viewed (briefly) on your Android device after which Crosswords should launch.
|
||||
If this fails it's probably because you don't have a new enough version of Crosswords installed.
|
||||
<p>This page is meant to be viewed (briefly) on your Android
|
||||
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>
|
||||
|
||||
<img src="./icon48x48.png">
|
||||
</div>
|
||||
</body>
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue