clarify use of mysql_fetch_array : we really want mysql_fetch_assoc
[diogenes.git] / templates / toplevel-admins.tpl
... / ...
CommitLineData
1<form method="post" action="{$post}">
2<table class="light">
3<tr>
4 <th>{$msg_site}</th>
5 <th>{$msg_admin}</th>
6 <th>{$msg_actions}</th>
7</tr>
8{foreach from=$entries item=entry}
9<tr class="{$entry[0]}">
10 <td>{$entry[1]}</td>
11 <td><b>{$entry[3]}</b> <span class="auth">({$entry[2]})</span></td>
12 <td>
13 {foreach from=$entry[4] item=myaction}
14 {a class="action" lnk=$myaction}
15 {/foreach}
16 </td>
17</tr>
18{/foreach}
19<tr>
20 <td>
21 <select name="target">
22 {html_options options=$sites}
23 </select>
24 </td>
25 <td colspan="2">
26 <input type="text" name="username"/>
27 <select name="auth">
28 {html_options options=$auths}
29 </select>
30 <input type="submit" name="action" value="add">
31 </td>
32</tr>
33</table>
34</form>