summaryrefslogtreecommitdiff
path: root/data/tpl/myvotes
diff options
context:
space:
mode:
Diffstat (limited to 'data/tpl/myvotes')
-rw-r--r--data/tpl/myvotes31
1 files changed, 0 insertions, 31 deletions
diff --git a/data/tpl/myvotes b/data/tpl/myvotes
deleted file mode 100644
index 231eaf25..00000000
--- a/data/tpl/myvotes
+++ /dev/null
@@ -1,31 +0,0 @@
-[[= ttabs('u', $d{user}, 'vote') ]]
-<h2>[[: $p{PageTitle} ]]</h2>
-[[ if($#{$d{votes}} < 0) { ]]-
-<p>
-[[ if($d{user}{username} eq $p{AuthUsername}) { ]]
- You haven't voted on anything yet...
-[[ } else { ]]
- [[: $d{user}{username} ]]- hasn't voted on anything yet...
-[[ } ]]
-</p>
-[[ } else {
- my $url = sprintf '/u%d/votes', $d{user}{id};
- my $surl = sprintf '%s?s=%s&amp;o=%s', $url, $d{order}[0], $d{order}[1];
-]]
-[[= pagebut($surl) ]]-
-<table id="tmv">
- <thead><tr>
- <td class="tc1">Title [[= sortbut($url, 'title') ]]</td>
- <td class="tc2">Vote [[= sortbut($url, 'vote') ]]</td>
- <td class="tc3">Date [[= sortbut($url, 'date') ]]</td>
- </tr></thead>
- [[ for (@{$d{votes}}) { ]]-
- <tr>
- <td class="tc1"><a href="/v[[= $_->{vid} ]]">[[: $_->{title} ]]</a></td>
- <td class="tc2">[[: $_->{vote} ]]</td>
- <td class="tc3">[[= formatdate('%Y-%m-%d', $_->{date}, 'dh') ]]</td>
- </tr>
- [[ } ]]-
-</table>
--[[= pagebut($surl) ]]
-[[ } ]]