diff options
Diffstat (limited to 'data/tpl/userlist')
-rw-r--r-- | data/tpl/userlist | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/data/tpl/userlist b/data/tpl/userlist deleted file mode 100644 index 578d320e..00000000 --- a/data/tpl/userlist +++ /dev/null @@ -1,50 +0,0 @@ -<h2>[[: $p{PageTitle} ]]</h2> -<p class="chr"> - -[[= $d{chr} ne 'all' ? '<a href="/u/list/all">all</a>' : 'all' ]]- | - [[ for('a'..'z', 0) { ]]- - -[[ if($d{chr} eq $_) { ]][[= $_?$_:'#' ]][[ } else { ]]<a href="/u/list/[[= $_ ]]">[[= $_?$_:'#' ]]</a>[[ } ]] - [[ } ]]- - <br /><br /> -</p> - -[[ if($#{$d{users}} < 0) { ]]- -<p> - No users found... -</p> -[[ } else { - my $url = sprintf '/u/list/%s', $d{chr}; - my $surl = sprintf '%s?s=%s&o=%s', $url, $d{order}[0], $d{order}[1]; -]] -[[= pagebut($surl) ]]- -<table id="tul"> - <thead><tr> - <td class="tc1">Username [[= sortbut($url, 'username') ]]</td> -[[ if($p{Authusermod}) { ]]- - <td class="tc2">Mail [[= sortbut($url, 'mail') ]]</td> - <td class="tc3">Rank [[= sortbut($url, 'rank') ]]</td>[[ } ]]- - <td class="tc4">Registered [[= sortbut($url, 'registered') ]]</td> - <td class="tc6">Votes</td> - <td class="tc7">Changes</td> -[[ if($p{Authusermod}) { ]]- - <td class="tc8"> </td>[[ } ]]- - </tr></thead> - [[ for (@{$d{users}}) { ]]- - <tr> - <td class="tc1"><a href="/u[[= $_->{id} ]]">[[: $_->{username} ]]</a></td> -[[ if($p{Authusermod}) { ]]- - <td class="tc2">[[: $_->{mail} ]]</td> - <td class="tc3">[[: $VNDB::VNDBopts{ranks}[0][0][$_->{rank}] ]]</td>[[ } ]]- - <td class="tc4">[[= formatdate('%Y-%m-%d', $_->{registered}, 'wd') ]]</td> - <td class="tc6">[[ if($_->{flags} & $VNDB::UFLAGS->{list} && $_->{votes}) { ]] - <a href="/u[[= $_->{id} ]]/list" title="[[: $_->{username} ]]'s votes">[[= $_->{votes} ]]</a> - [[ } else { ]][[= $_->{flags} & $VNDB::UFLAGS->{list} ? 0 : '-' ]][[ } ]]</td> - <td class="tc7">[[ if($_->{changes}) { ]] - <a href="/u[[= $_->{id} ]]/hist" title="Recent changes by -[[: $_->{username} ]]">[[= $_->{changes} ]]</a> - [[ } else { ]]0[[ } ]]</td> -[[ if($p{Authusermod}) { ]]- - <td class="tc8">( <a href="/u[[= $_->{id} ]]/edit">edit</a> )</td>[[ } ]]- - </tr> - [[ } ]]- -</table> --[[= pagebut($surl) ]]- -[[ } ]] |