root/dev/templates/admin_roles.tpl @ 203

Revision 191, 1.6 KB (checked in by exi, 14 years ago)

Fixed a bug which prevented some options from beeing saved properly.
Added code to the http request class to support cookies.
Added a small summary option for the killsummarytables.
System location will now get classified in the battleparser too.

Line 
1<div class="block-header2">Hardcoded roles</div>
2<table class="kb-table">
3  <tr class="kb-table-header"><td>Role</td><td>Description</td><td>&nbsp;</td></tr>
4{cycle reset=true print=false name=ccl values="kb-table-row-even,kb-table-row-odd"}
5{foreach from=$hroles item=role key=name}
6  <tr class="{cycle name=ccl}"><td>{$name}</td><td>{$role}</td><td><form method="post" action="?a=admin_roles">
7  <input type="hidden" name="a" value="admin_roles"/>
8  <input type="hidden" name="role" value="{$role}"/>
9  <input type="hidden" name="action" value="search"/>
10  <input type="text" name="search" size="8"/>&nbsp;
11  <input type="submit" value="Assign to"/></form></td></tr>
12{/foreach}
13</table>
14<br/><br/>
15<div class="block-header2">Softcoded roles</div>
16<table class="kb-table">
17  <tr class="kb-table-header"><td>Role</td><td>Description</td><td>&nbsp;</td></tr>
18{cycle reset=true print=false name=ccl values="kb-table-row-even,kb-table-row-odd"}
19{foreach from=$sroles item=role key=name}
20  <tr class="{cycle name=ccl}"><td>{$name}</td><td>{$role}</td><td><form method="post" action="?a=admin_roles">
21  <input type="hidden" name="a" value="admin_roles"/>
22  <input type="hidden" name="role" value="{$role}"/>
23  <input type="text" name="search" size="8"/>&nbsp;
24  <input type="submit" value="Assign to"/></form></td></tr>
25{/foreach}
26  <tr class="{cycle name=ccl}"><td colspan="3" align="center"><form method="post" action="?a=admin_roles">
27  <input type="hidden" name="a" value="admin_roles"/>
28  <input type="hidden" name="action" value="create"/><input type="submit" value="Create Role"></form></td></tr>
29</table>
Note: See TracBrowser for help on using the browser.