26aa327a5417ed4e584d77b330c762226e3439a2
[squasher.git] / templates / admin.tpl
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml">
3 <head>
4 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
5 <link rel=stylesheet href="css/squasher.css">
6 <title>Squasher</title>
7 <style>
8 {foreach item=style_row from=$style}
9 {$style_row}
10 {/foreach}
11 </style>
12 </head>
13 <body>
14 <div class="wrappercontainer">
15
16         <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})</a>&nbsp;</div></div>
17
18         <div class="menucontainer">
19
20                 <div class="menu">
21
22                         <div class="menuhead">users</div>
23
24                         {foreach item=user key=user_id from=$users}<a {if $user_id eq $edited_user}class="selected"{/if} href="?tools=access&user={$user.id}">{$user.name}</a>{/foreach}
25
26                 </div>
27
28         </div>
29
30 <div class="content">
31 {if $layout}
32
33         <div class="legend">
34         <div class='sample_all'><!--input name='sample' value=2 type=radio /-->&nbsp; allow this and all underlying folders &nbsp;</div>
35         <div class='sample_allow'><!--input name='sample' value=1 type=radio /-->&nbsp; allow this folder &nbsp;</div>
36         <div class='sample_deny'><!--input name='sample' value=0 type=radio /-->&nbsp; deny access to this folder &nbsp;</div>
37         </div>
38
39         <form method='post'>
40         <input type='hidden' name='formtype' value='folderrights' />
41         <input type='hidden' name='edited_user' value={$edited_user} />
42         {$layout}
43
44         <div style='float:left;'><input type='submit' value='Save'/></div>
45
46         </form>
47
48 {/if}   </div>
49
50         <div class="bottomimage"></div>
51         <div class="footer">&nbsp;</div>
52 </div>
53 {if $debug}{debug}{/if}
54 </body>
55 </html>