Fixed delete logs
[squasher.git] / templates / admin.tpl
1 <html>
2 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
3 <link rel=stylesheet href="css/squasher.css">
4 <title>Squasher</title>
5 <style>
6 {foreach item=style_row from=$style}
7 {$style_row}
8 {/foreach}
9 </style>
10
11 <div class="wrappercontainer">
12
13         <div class="banner">&nbsp;<div class="control">{if $user_level > 99}<a href="?">home</a>&nbsp;|&nbsp;<a href="?tools=access">access</a>&nbsp;|&nbsp;<a href="?tools=users">users</a>&nbsp;|&nbsp;<a href="?tools=logs">logs</a>&nbsp;|{/if}&nbsp;<a href="index.php?tools=logout">logout({$user_name|escape})</a>&nbsp;</div></div>
14
15         <div class="menucontainer">
16                 <div class="menu">
17                         <div class="menuhead">users</div>
18                         {foreach item=user key=user_id from=$users}<a {if $user_id eq $edited_user}class="selected"{/if} href="?tools=access&amp;user={$user.id|escape:'url'}">{$user.name|escape}</a>{/foreach}
19                 </div>
20         </div>
21
22 <div class="content">
23 {if $layout}
24
25         <div class="legend">
26         <div class='sample_all'><!--input name='sample' value=2 type=radio /-->&nbsp; allow this and all underlying folders &nbsp;</div>
27         <div class='sample_allow'><!--input name='sample' value=1 type=radio /-->&nbsp; allow this folder &nbsp;</div>
28         <div class='sample_deny'><!--input name='sample' value=0 type=radio /-->&nbsp; deny access to this folder &nbsp;</div>
29         </div>
30
31         <form method='post'>
32         <input type='hidden' name='formtype' value='folderrights'>
33         <input type='hidden' name='edited_user' value='{$edited_user|escape}'>
34         {$layout}
35
36         <div style='float:left;'><input type='submit' value='Save'></div>
37
38         </form>
39
40 {/if}   </div>
41
42         <div class="bottomimage"></div>
43         <div class="footer">&nbsp;</div>
44 </div>
45 {if $debug}{debug}{/if}
46 {* vim: set syntax=smarty ts=4 sw=4 sts=4 sr noet: *}