Only hash valid files, returns 404 when not found
[squasher.git] / templates / admin.tpl
1 {extends file='layout.tpl'}
2
3
4 {block extra_head}
5         <style>
6         {foreach item=style_row from=$style}
7         {$style_row}
8         {/foreach}
9         </style>
10 {/block}
11
12
13 {block menu}
14 <div class="menu">
15         <div class="menuhead">users</div>
16         {foreach item=user key=user_id from=$users}
17                 {if $user.level<200} {* Don't show Super-admins. They have all the rights anyways. *}
18                 <a {if $user_id eq $edited_user}class="selected"{/if} href="?tools=access&amp;user={$user.id|escape:'url'}">{$user.name|escape}</a>
19                 {/if}
20         {/foreach}
21 </div>
22 {/block}
23
24
25 {block content}
26 {if $layout}
27 <div class="legend">
28         <div class='sample_all'>&nbsp; allow this and all underlying folders &nbsp;</div>
29         <div class='sample_allow'>&nbsp; allow this folder &nbsp;</div>
30         <div class='sample_deny'>&nbsp; deny access to this folder &nbsp;</div>
31 </div>
32
33 <form method='post'>
34         <input type='hidden' name='formtype' value='folderrights'>
35         <input type='hidden' name='edited_user' value='{$edited_user|escape}'>
36         {$layout}
37         <div style='float:left;'><input type='submit' value='Save'></div>
38 </form>
39 {/if}
40 {/block}
41
42 {* vim: set syntax=smarty ts=4 sw=4 sts=4 sr noet: *}