diff options
author | yorhel <yorhel@1fe2e327-d9db-4752-bcf7-ef0cb4a1748b> | 2008-06-08 20:43:47 +0000 |
---|---|---|
committer | yorhel <yorhel@1fe2e327-d9db-4752-bcf7-ef0cb4a1748b> | 2008-06-08 20:43:47 +0000 |
commit | ed35983a0f7850ee8381a9f6f3e58783913e559b (patch) | |
tree | dc37694935a8d2727c4d0b887a572faf8d7d822e /data/tpl | |
parent | 6c1bb149bb0cfd45b6f14c301fff01f8edd6fbf5 (diff) |
Another patch from apple: fixes a typo, allows case-insensitive BBCode, and removes CISV from the docs
git-svn-id: svn://vndb.org/vndb@25 1fe2e327-d9db-4752-bcf7-ef0cb4a1748b
Diffstat (limited to 'data/tpl')
-rw-r--r-- | data/tpl/defs.pl | 4 | ||||
-rw-r--r-- | data/tpl/vnedit | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/data/tpl/defs.pl b/data/tpl/defs.pl index 405cc2a5..0845fab7 100644 --- a/data/tpl/defs.pl +++ b/data/tpl/defs.pl @@ -141,7 +141,7 @@ sub summary { # cmd, len, def s/\&/&/g; s/>/>/g; s/</</g; - while(s/\[url=((https?:\/\/|\/)[^\]>]+)\]/<a href="$1" rel="nofollow">/) { + while(s/\[url=((https?:\/\/|\/)[^\]>]+)\]/<a href="$1" rel="nofollow">/i) { $l -= length($1)+6; $as++; } @@ -150,7 +150,7 @@ sub summary { # cmd, len, def } elsif($as) { s/^([duvpr][0-9]+)[^\w]*$/<a href="\/$1">$1<\/a>/; } - while(s/\[\/url\]/<\/a>/) { + while(s/\[\/url\]/<\/a>/i) { $l -= 6; $as--; } diff --git a/data/tpl/vnedit b/data/tpl/vnedit index b0869b45..f1137fc2 100644 --- a/data/tpl/vnedit +++ b/data/tpl/vnedit @@ -12,7 +12,7 @@ </span> [[ } if($d{id} && $d{vn}{cid} != $d{vn}{latest}) { ]] <span class="warning"> - You are editing an old revision of this producer. If you save it, all changes made after + You are editing an old revision of this visual novel. If you save it, all changes made after -[[= formatdate('%Y-%m-%d %R', $d{vn}{added}) ]]- will be removed! </span> [[ } ]] |