X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/72483b4f3206616d9f42ef7ef7e10e4b2fc13909..9483e831186e64d2265d5f2aa9f9253314b7494d:/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 '', $img, $ref if -e $img;
}
else {
$_ = EscapeHTML($short || $name);
+ $name .= " â $ref" if $ref and $ref ne $code;
}
printf "\n".'