diff options
Diffstat (limited to 'data/tpl/vnpage')
-rw-r--r-- | data/tpl/vnpage | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/data/tpl/vnpage b/data/tpl/vnpage index 220b6c9f..f59c0a1c 100644 --- a/data/tpl/vnpage +++ b/data/tpl/vnpage @@ -12,9 +12,8 @@ [[ if(!$d{vn}{hidden} || $p{Authdel}) { ]]- -[[ if($p{AuthLoggedin}) { ]] -<p class="mod">< user options - - <a href="/u[[= $p{AuthId} ]]/votes" rel="voteDD" class="dropdown">[[= $d{vote}{vid} ? 'your vote: '.$d{vote}{vote} : 'vote' ]]</a> -- <a href="/u[[= $p{AuthId} ]]/list" rel="listDD" class="dropdown">[[= !$d{list}{vid} ? 'add to vn list' : 'status: '.lc $VNDB::LSTAT->[$d{list}{status}] ]]</a> +<p class="mod">< + <a href="/u[[= $p{AuthId} ]]/list" rel="voteDD" class="dropdown">[[= $d{vote}{vid} ? 'your vote: '.$d{vote}{vote} : 'vote' ]]</a> ></p> [[ } ]]- @@ -179,6 +178,7 @@ if($d{vn}{length} || $d{vn}{alias} || @links || $prod) { ]] </ul> </div> +[[ if(0) { ]] <div class="dropdown" id="listDD"> <ul> [[ for (0..$#$VNDB::LSTAT) { ]]- @@ -188,6 +188,7 @@ if($d{vn}{length} || $d{vn}{alias} || @links || $prod) { ]] [[ } ]]- </ul> </div> +[[ } ]] [[ } ]] |