X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/72483b4f3206616d9f42ef7ef7e10e4b2fc13909..beabcbe2db77145e8aa7d1d90dd2f6cfa198a7a8:/countries.plp diff --git a/countries.plp b/countries.plp index 83a98f4..b310a2f 100644 --- a/countries.plp +++ b/countries.plp @@ -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