]> ruin.nu Git - ndwebbie.git/blobdiff - templates/users.tmpl
Use list_context variables instead of homebrewed ODD
[ndwebbie.git] / templates / users.tmpl
index edf633b3e9357a13843fbe1a1150c4979b31a6e9..352b6a5fd729426bdf9f3264b742558a70630d42 100644 (file)
 </fieldset>
 </form>
 <TMPL_ELSE>
-<table border="1">
+<table>
        <tr><th>User</th><th>Groups</th></tr>
 <TMPL_LOOP Users>
-       <tr class="<TMPL_IF ODD>odd<TMPL_ELSE>even</TMPL_IF>">
+       <tr class="<TMPL_IF __odd__>odd<TMPL_ELSE>even</TMPL_IF>">
                <td><a href="/<TMPL_VAR NAME=PAGE>?user=<TMPL_VAR NAME=Uid>"><TMPL_VAR NAME=Username></a></td>
                <td><TMPL_VAR NAME=Groups></td>
        </tr>