]> ruin.nu Git - ndwebbie.git/blobdiff - templates/users.tmpl
fix some links that were bad
[ndwebbie.git] / templates / users.tmpl
index 391606d339008476b7c0a4de2ec5935b8a1110b5..8565c8a150bd5f8c48bef391d234abc6b4829180 100644 (file)
@@ -1,7 +1,7 @@
 <TMPL_VAR NAME=Error>
 <TMPL_IF User>
 <form action="/index.pl" method="post"><fieldset> <legend>User details</legend>
-       <input type="hidden" name="page" value="users"/>
+       <input type="hidden" name="page" value="<TMPL_VAR NAME=PAGE>"/>
        <input type="hidden" name="cmd" value="change"/>
        <input type="hidden" name="user" value="<TMPL_VAR NAME=User>"/>
        <table>
@@ -40,7 +40,7 @@
        </tr>
        </table>
        <TMPL_IF RemoveGroups>
-               <p>User is a member of the following groups</p>
+               <p><TMPL_VAR NAME=Username> is a member of the following groups</p>
                <table>
                        <tr><th>Group</th><th>Remove</th></tr>
                <TMPL_LOOP RemoveGroups>
@@ -49,7 +49,7 @@
                        </table>                
                </TMPL_IF>
                <TMPL_IF AddGroups>
-                       <p>These does not have access to the raid</p>
+                       <p><TMPL_VAR NAME=Username> is not a member of the following groups</p>
                        <table>
                        <tr><th>Group</th><th>Add</th></tr>
                <TMPL_LOOP AddGroups>
@@ -65,7 +65,7 @@
        <tr><th>User</th></tr>
 <TMPL_LOOP Users>
        <tr class="<TMPL_IF ODD>odd<TMPL_ELSE>even</TMPL_IF>">
-               <td><a href="index.pl?page=users&amp;user=<TMPL_VAR NAME=Uid>"><TMPL_VAR NAME=Username></a></td>
+               <td><a href="index.pl?page=<TMPL_VAR NAME=PAGE>&amp;user=<TMPL_VAR NAME=Uid>"><TMPL_VAR NAME=Username></a></td>
        </tr>
 </TMPL_LOOP>
 </table>