git.shiar.nl
/
sheet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
49f032c
)
countries: move flag images into data/, ignore
author
Mischa POSLAWSKY
<perl@shiar.org>
Thu, 5 Feb 2015 08:39:39 +0000
(09:39 +0100)
committer
Mischa POSLAWSKY
<perl@shiar.org>
Thu, 5 Feb 2015 21:46:21 +0000
(22:46 +0100)
.gitignore
patch
|
blob
|
history
countries.plp
patch
|
blob
|
history
diff --git
a/.gitignore
b/.gitignore
index e503b91d3757ab6cbb6e0e69b347abad58925d80..b117a195a6a878d1181073a54d8b3a42e039ac83 100644
(file)
--- a/
.gitignore
+++ b/
.gitignore
@@
-1,5
+1,6
@@
# local copies of downloaded data
/data/emoji/
+/data/flag
# source data not used directly but converted to includes below
/data/countryInfo.txt
diff --git
a/countries.plp
b/countries.plp
index 3979501664c9c03c050d6b7b37fd9ecf23ed0611..b310a2fd69f3c9b9fe9954f4580722ac9b77554b 100644
(file)
--- a/
countries.plp
+++ b/
countries.plp
@@
-36,7
+36,7
@@
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 src="/%s" alt="%s">', $img, $ref if -e $img;
}
else {