X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~yarrgweb/git?p=ypp-sc-tools.db-test.git;a=blobdiff_plain;f=yarrg%2Fweb%2Fpirate-route;h=58f8f28ae7d8d147a03c0d6fc4e9c3e93d99c492;hp=42de303d16caf9bc960077596de6be4ba38d709c;hb=7031695ce7767c196f2ef0f279bf4e3c7931c211;hpb=2839e990a1173a3b7e9d8ba3c662405ed25ba1b2 diff --git a/yarrg/web/pirate-route b/yarrg/web/pirate-route index 42de303..58f8f28 100644 --- a/yarrg/web/pirate-route +++ b/yarrg/web/pirate-route @@ -66,7 +66,7 @@ foreach my $var (@vars) { print '

'; } -db_setocean($a{'ocean'}); +db_setocean($a{Ocean}); db_connect(); @@ -76,9 +76,12 @@ db_connect(); % if (!$a{Dropdowns}) { Enter route (islands, or archipelagoes, separated by commas; - abbreviations are OK):
+ abbreviations are OK):

-


+
 

% } else { @@ -132,9 +148,9 @@ while ($row=$sth->fetchrow_arrayref) { <% $islandlistdata %> % } -% } +% } @@ -142,5 +158,6 @@ while ($row=$sth->fetchrow_arrayref) { <%init> use CommodsWeb; use HTML::Entities; +use URI::Escape;