diff options
author | yorhel <yorhel@1fe2e327-d9db-4752-bcf7-ef0cb4a1748b> | 2008-06-27 16:08:26 +0000 |
---|---|---|
committer | yorhel <yorhel@1fe2e327-d9db-4752-bcf7-ef0cb4a1748b> | 2008-06-27 16:08:26 +0000 |
commit | 5add940935c084a10b742bc808644906ea7b7b06 (patch) | |
tree | 34cdca517e2c6fd8d89a455aa030e92989f39b02 /data/tpl | |
parent | c88e5454cf32e4e3af51e64313aa3e82fdb65030 (diff) |
Small bugfix with the $DEBUG override, and hidden the unkown anime type, which nobody is interested in...
git-svn-id: svn://vndb.org/vndb@39 1fe2e327-d9db-4752-bcf7-ef0cb4a1748b
Diffstat (limited to 'data/tpl')
-rw-r--r-- | data/tpl/vnpage | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/data/tpl/vnpage b/data/tpl/vnpage index 026f347f..e848089d 100644 --- a/data/tpl/vnpage +++ b/data/tpl/vnpage @@ -143,7 +143,8 @@ if($d{vn}{length} || $d{vn}{alias} || @links || $prod) { ]] $_->{nfo_id} ? qq|<a href="http://animenfo.com/animetitle,$_->{nfo_id},vndb.html" title="AnimeNFO">NFO</a>| : (), $_->{ann_id} ? qq|<a href="http://www.animenewsnetwork.com/encyclopedia/anime.php?id=$_->{ann_id}" title="Anime News Network">ANN</a>| : (); ]] - <b>[-[[= $l ]]-]</b> <acronym title="[[: $_->{title_kanji} ]]">[[: shorten $_->{title_romaji}, 40 ]]</acronym> <b>([[: $VNDB::ANITYPE->[$_->{type}][0] ]], -[[= $_->{year} ]])</b> + <b>[-[[= $l ]]-]</b> <acronym title="[[: $_->{title_kanji} ]]">[[: shorten $_->{title_romaji}, 40 ]]</acronym> + <b>([[: $VNDB::ANITYPE->[$_->{type}][0] eq 'unknown' ? '' : $VNDB::ANITYPE->[$_->{type}][0].', ' ]][[= $_->{year} ]])</b> [[ } ]] </li> [[ } ]] |