Browse files

add template

  • Loading branch information...
1 parent 9e9a6c6 commit a5f7a90d6774bcbb720bb25b3add7d21f84d7bfa @jamiemccarthy jamiemccarthy committed Feb 1, 2007
Showing with 36 additions and 0 deletions.
  1. +36 −0 plugins/Admin/templates/peer_weights;admin;default
View
36 plugins/Admin/templates/peer_weights;admin;default
@@ -0,0 +1,36 @@
+__description__
+peer weight viewing for admins
+
+uids = arrayref of uids in order of decreasing weight
+ord = ordinal position of each uid
+weight = hashref, uid to weight
+nickname = hashref, uid to nickname
+
+__title__
+Peer weights
+__section__
+default
+__page__
+admin
+__lang__
+en_US
+__name__
+peer_weights
+__seclev__
+10000
+__template__
+<table class="data">
+
+[% FOREACH uid = uids %]
+ <tr class="data_hl1">
+<td>[% ord.$uid %].</td>
+<td><a href="/~[% nickname.$uid | strip_paramattr %]">[% nickname.$uid | strip_nohtml %]</a></td>
+<td>[% weight.$uid %]</td>
+ </tr>
+[% END %]
+
+</table>
+
+__version__
+$Id$
+

0 comments on commit a5f7a90

Please sign in to comment.