From a9e444bb39f5c356b66ef247b4539937daa25503 Mon Sep 17 00:00:00 2001 From: yorhel Date: Sat, 26 Apr 2008 12:58:54 +0000 Subject: And again cd'ed in the wrong directory... git-svn-id: svn://vndb.org/vndb@7 1fe2e327-d9db-4752-bcf7-ef0cb4a1748b --- data/tpl/vnpage | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'data/tpl/vnpage') diff --git a/data/tpl/vnpage b/data/tpl/vnpage index 1cfdd89a..f602c1e2 100644 --- a/data/tpl/vnpage +++ b/data/tpl/vnpage @@ -22,7 +22,7 @@ [ l_cisv => 'CISVisual link', sub { $_[0] ? ''.$_[0].'' : 'No link' } ], [ categories => 'Categories', sub { join(' ', map { $VNDB::CAT->{substr($_->[0],0,1)}[1]{substr($_->[0],1,2)}.'('.$_->[1].')' } sort { $a->[0] cmp $b->[0] } @{$_[0]}) || 'No categories selected' }, 1 ], [ relations => 'Relations', sub { join("
\n", map { $VNDB::VREL->[$_->{relation}].': '._hchar($_->{title}) } sort { $a->{id} <=> $b->{id} } @{$_[0]}) } ], - [ image => 'Image', sub { $_[0] > 0 ? sprintf '', $p{st}, $_[0]%50, $_[0] : $_[0] < 0 ? '[processing]' : 'No image'; } ], + [ image => 'Image', sub { $_[0] > 0 ? sprintf '', $p{st}, $_[0]%100, $_[0] : $_[0] < 0 ? '[processing]' : 'No image'; } ], [ img_nsfw => 'NSFW', sub { $_[0] ? 'Not safe' : 'Safe' } ] ) ]] [[ } ]]- @@ -42,9 +42,9 @@
[[ if($d{vn}{image} > 0) { ]] [[ if($d{vn}{img_nsfw} && !$p{AuthNsfw}) { ]] - + [[ } else { ]] - [[: $p{PageTitle} ]] + [[: $p{PageTitle} ]] [[ } ]] [[ } elsif($d{vn}{image} < 0) { ]]- [processing image, please return in a few minutes] -- cgit v1.2.3