1 <body>
2 {$php_errors}
3 <div class='title-bar'>
4 <ul>
5 <li>{$logo}</li>
6 <li class='right table-wrapper'>
7 <div class='logout-label'>
8 <form action='logout.php' name='logoutframe' method='post' enctype='multipart/form-data'>
9 <div style='cursor:pointer' title='{t}Log out{/t}' onClick="
10 return question('{t}You are currently editing a database entry. Do you want to dismiss the changes?{/t}',
11 'logout.php?forcedlogout');">{image path="{$logoutimage}"}</div>
12 <input type='hidden' name='forcedlogout' value='1'>
13 <input type="hidden" name="php_c_check" value="1">
14 </form>
15 </div>
16 </li>
17 <li class='right table-wrapper'>
18 <div class='logged-in-label'>{$loggedin}</div>
19 </li>
20 <li class='right table-wrapper'>
21 <div class='logout-label'>
22 <canvas id="sTimeout" width="22" height="22" title="{$sessionLifetime}|{t}Session expires in %d!{/t}"></canvas>
23 </div>
24 </li>
25 </ul>
26 </div>
27 <form action='main.php{$plug}' id='mainform' name='mainform' method='post' enctype='multipart/form-data'>
29 {if $hideMenus}
31 {$contents}
32 {$msg_dialogs}
34 {else}
36 {$menu}
37 {$msg_dialogs}
38 <div class='plugin-area'>
39 {$pathMenu}
40 {$contents}
41 </div>
42 {/if}
44 {if $channel != ""}
45 <input type="hidden" name="_channel_" value="{$channel}">
46 {/if}
48 {$errors}
49 {$focus}
50 <input type="hidden" name="php_c_check" value="1">
51 </form>
53 <!-- Automatic logout when session is expired -->
54 <script type='text/javascript'>
55 function logout()
56 {
57 document.location = 'logout.php';
58 }
59 logout.delay({$sessionLifetime});
60 </script>
61 </body>
62 </html>