X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/72483b4f3206616d9f42ef7ef7e10e4b2fc13909..8b237b43167a2443b69b6c0a3aec13c926782fc1:/countries.plp diff --git a/countries.plp b/countries.plp index 83a98f4..24be348 100644 --- a/countries.plp +++ b/countries.plp @@ -2,7 +2,7 @@ Html({ title => 'country code cheat sheet', - version => 'v1.0', + version => 'v1.1', description => "Table of ISO-3166-1 country codes with the names of reserved territories.", keywords => [qw'country code cc tld cctld continent territory land table'], @@ -36,11 +36,12 @@ my $cc = do 'countries.inc.pl'; $ref ||= $code; local $_ = $ref; if (exists $get{show}) { - my $img = "flag/$ref.png"; + my $img = "data/flag/$ref.png"; $_ = sprintf '%s', $img, $ref if -e $img; } else { $_ = EscapeHTML($short || $name); + $name .= " → $ref" if $ref and $ref ne $code; } printf "\n".'%s', $_ ? 'X '.$class : '', EscapeHTML("$code: $name"), $_; @@ -63,7 +64,7 @@ my $cc = do 'countries.inc.pl'; south america north america reserved - unused + org free user-assigned