From af46e97783e282e4b9fee5d06c12ff1582ec25c5 Mon Sep 17 00:00:00 2001 From: yorhel Date: Fri, 1 Aug 2008 10:35:55 +0000 Subject: Forgot to upload new file (as usual...) git-svn-id: svn://vndb.org/vndb@78 1fe2e327-d9db-4752-bcf7-ef0cb4a1748b --- data/tpl/wlist | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 data/tpl/wlist diff --git a/data/tpl/wlist b/data/tpl/wlist new file mode 100644 index 00000000..f12c85f4 --- /dev/null +++ b/data/tpl/wlist @@ -0,0 +1,55 @@ +[[= ttabs('u', $d{user}, 'wish') ]] +

[[: $p{PageTitle} ]]

+[[ + my $url = sprintf '/u%d/wish', $d{user}{id}; + my $surl = sprintf '%s?s=%s;o=%s', $url, $d{order}[0], $d{order}[1]; + my $furl = $surl . ';p='.$d{page}; +]] + + +[[ if($#{$d{list}} < 0) { ]]- +

+[[ if($d{user}{username} eq $p{AuthUsername}) { ]] + Your wishlist is empty. You can keep track of all the visual novels + you'd like to play. Just go to a visual novel page and add it to your wishlist! +[[ } else { ]] + [[: $d{user}{username} ]]'s wishlist is empty... +[[ } ]] +

+ +[[ } else { ]] +[[= pagebut($surl) ]]- +[[ if($d{user}{username} eq $p{AuthUsername}) { ]] +
+[[ } ]] + + + + + + + + [[ for (@{$d{list}}) { ]]- + + + + + + + [[ } ]]- +
Title [[= sortbut($url, 'title') ]]Priority [[= sortbut($url, 'wstat') ]]Added [[= sortbut($url, 'added') ]] 
[[: shorten $_->{title}, 40 ]][[= $VNDB::WSTAT->[$_->{wstat}] ]][[= formatdate('%Y-%m-%d', $_->{added}) ]][[ if($d{user}{username} eq $p{AuthUsername}) { ]][[ } else { ]] [[ } ]]
+[[ if($d{user}{username} eq $p{AuthUsername}) { ]] + +
+[[ } ]] +-[[= pagebut($surl) ]] +[[ } ]]- + -- cgit v1.2.3