X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~yarrgweb/git?p=ypp-sc-tools.web-live.git;a=blobdiff_plain;f=yarrg%2Fweb%2Fpirate-route;h=f58d47c20f450041eb39d2b13ee3d8784b4f1442;hp=42de303d16caf9bc960077596de6be4ba38d709c;hb=007700c6236644463a0e78724b8260f14be4bedd;hpb=2839e990a1173a3b7e9d8ba3c662405ed25ba1b2;ds=sidebyside diff --git a/yarrg/web/pirate-route b/yarrg/web/pirate-route index 42de303..f58d47c 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;