Code

Added Focus patch
[gosa.git] / ihtml / themes / default / framework.tpl
1 <!-- Headline -->
2 <body>
3 {$php_errors}
4 <form action='main.php{$plug}' name='mainform' method='post' enctype='multipart/form-data'>
5 <div class='setup_header'>
6   <div style="float:left;"><img src='themes/default/images/go_logo.png' class='center' alt='GOsa'>
7    {if !$javascript}
8     <a class="maintitlebar" href='main.php?reset=1' onClick='return question("{t}You are currently editing a database entry.
9  Do you want to dismiss the changes?{/t}", "main.php?reset=1");' ><img src='{$go_home}' class='center' border="0" alt="Main">&nbsp;{t}Main{/t}
10     </a>
11    {else}
12     <a class="maintitlebar" onClick='return question("{t}You are currently editing a database entry.
13  Do you want to dismiss the changes?{/t}", "main.php?reset=1");' ><img src='{$go_home}' class='center' border="0" alt="Main">&nbsp;{t}Main{/t}
14     </a>
15    {/if}
16     &nbsp;
17     <a class="maintitlebar" style="margin-left:35px" {$help_method}>
18        <img src='{$go_help}' class='center' border="0" alt="Help">&nbsp;{t}Help{/t}
19     </a>
20     &nbsp;
21    {if !$javascript}
22     <a class="maintitlebar" href='logout.php?request' onClick='return question("{t}You are currently editing a database entry. Do you want to dismiss the changes?{/t}", "logout.php?request");' style="margin-left:35px;">
23       <img src='{$go_out}' class='center' border="0" alt="Sign out">&nbsp;{t}Sign out{/t}
24     </a>
25     {else}
26     <a class="maintitlebar" onClick='return question("{t}You are currently editing a database entry. Do you want to dismiss the changes?{/t}", "logout.php?request");' style="margin-left:35px;">
27       <img src='{$go_out}' class='center' border="0" alt="Sign out">&nbsp;{t}Sign out{/t}
28     </a>
29     {/if}
30   </div>
31   <div style="padding-top:8px;text-align:right;height:28px"><a>{t}Signed in:{/t} <b>{$username}</b></a></div>
32 </div>
33 <!--<div class='setup_menu'>
34   <b>{t}GOsa main menu{/t}</b>
35 </div>-->
37 <table summary="" class="framework" cellspacing="0" cellpadding="0" style='margin-top:7px'>
38   <tr style="vertical-align:top;">
39     <!-- Menu -->
40     <td style="background-color:white; vertical-align:top;" id="menucell">
41       {$menu}
42           <br />
43           <div style="height:1px; width:140px;"></div>
44     </td>
45     <!-- Plugin window -->
46     <td style="background-color:white; width:100%; vertical-align:top; height:15px;" colspan="2">
47       <table style="vertical-align:top; text-align:justify; background-color: white; border:1px solid #AAA; margin-top:0px; margin-left:7px; margin-right:7px; width:99%" summary="">
48        <tr>
49         <td>
50          {$contents}
51        </td>
52       </tr>
53      </table>
54     </td>
55   </tr>
56 </table>{$errors}{$focus}</form></body></html>