summaryrefslogtreecommitdiff
path: root/data/tpl
diff options
context:
space:
mode:
authoryorhel <yorhel@1fe2e327-d9db-4752-bcf7-ef0cb4a1748b>2008-05-04 10:20:41 +0000
committeryorhel <yorhel@1fe2e327-d9db-4752-bcf7-ef0cb4a1748b>2008-05-04 10:20:41 +0000
commit8cf680c790b7476f1bf4e6c22cd4e132701cd1c6 (patch)
tree729eeccd5796783855ce58139933a12534da62ae /data/tpl
parent59f6e2061ab2c19a626813e99b59d416f730180c (diff)
MOAR!1.15
git-svn-id: svn://vndb.org/vndb@11 1fe2e327-d9db-4752-bcf7-ef0cb4a1748b
Diffstat (limited to 'data/tpl')
-rw-r--r--data/tpl/defs.pl4
-rw-r--r--data/tpl/rpage2
2 files changed, 3 insertions, 3 deletions
diff --git a/data/tpl/defs.pl b/data/tpl/defs.pl
index e993fb58..6c70a68b 100644
--- a/data/tpl/defs.pl
+++ b/data/tpl/defs.pl
@@ -144,10 +144,10 @@ sub summary { # cmd, len, def
$l -= length($1)+6;
$as++;
}
- if(!$as && s/(http|https):\/\/(.+[0-9a-zA-Z\/])/<a href="$1:\/\/$2" rel="nofollow">link<\/a>/) {
+ if(!$as && s/(http|https):\/\/(.+[0-9a-zA-Z=\/])/<a href="$1:\/\/$2" rel="nofollow">link<\/a>/) {
$l = 4;
} elsif(!$as) {
- s/^([uvpr][0-9]+)[^\w]*$/<a href="\/$1">$1<\/a>/;
+ s/^([duvpr][0-9]+)[^\w]*$/<a href="\/$1">$1<\/a>/;
}
while(s/\[\/url\]/<\/a>/) {
$l -= 6;
diff --git a/data/tpl/rpage b/data/tpl/rpage
index 7ad3c4ea..ac5eaa11 100644
--- a/data/tpl/rpage
+++ b/data/tpl/rpage
@@ -22,7 +22,7 @@
[ website => 'Website', \&summary ],
[ released => 'Release date', \&datestr ],
[ minage => 'Age rating', sub { $VNDB::VRAGES->{$_[0]} } ],
- [ notes => 'Notes', 1 ],
+ [ notes => 'Notes', 1, 1 ],
[ platforms => 'Platforms', sub { join(', ', sort @{$_[0]}) } ],
[ media => 'Media', \&mediastr ],
[ producers => 'Producers', sub { join(', ', map { _hchar($_->{name}) } sort { $a->{name} cmp $b->{name} } @{$_[0]}) } ],