Code

Don't adjust height of divlists if force_height is true.
[gosa.git] / ihtml / themes / default / framework.tpl
1 <!-- Headline -->
2 <!--
3 {if !$force_height}
4 <script language="javascript">
5   window.onload = adjust_height;
6   window.onresize = adjust_height;
7 </script>
8 {/if}
9 -->
10 <body>
11 {$php_errors}
12 <form action='main.php{$plug}' name='mainform' method='post' enctype='multipart/form-data'>
13 <table summary="" class="framework" cellspacing="0" cellpadding="0">
14   <tr>
15     <td style="height:36px; width:140px; vertical-align:bottom; text-align:center">
16      <a href="main.php" style="vertical-align:bottom;"><img src='{$go_logo}' border="0" alt="GOSA2" style='vertical-align:bottom;'></a>
17     </td>
18     <td>
19       <table style="margin-left:20px;" border="0" summary="">
20        <tr>
21         <td style="vertical-align:middle;">
22          <a class="maintitlebar" href='main.php?reset=1' onClick='return question("{t}You are currently editing a database entry. Do you want to dismiss the changes?{/t}", "main.php?reset=1");' >
23           <img src='{$go_home}' class='center' border="0" alt="Main">&nbsp;{t}Main{/t}
24          </a>
25         </td>
26         <td>
27          <a class="maintitlebar" style="margin-left:35px" {$help_method}>
28           <img src='{$go_help}' class='center' border="0" alt="Help">&nbsp;{t}Help{/t}
29          </a>
30         </td>
31         <td>
32          <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;">
33           <img src='{$go_out}' class='center' border="0" alt="Sign out">&nbsp;{t}Sign out{/t}
34          </a>
35         </td>
36        </tr>
37       </table>
38     </td>
39     <td style="text-align:right;">
40       <div class="maintitlebar" style="padding-right:10px;text-align:right">
41         <a>{t}Signed in:{/t} <b>{$username}</b></a>
42       </div>
43     </td>
44   </tr>
46   <tr style="vertical-align:top;">
47     <!-- Menu -->
48     <td style="background-color:#EEFFE6; vertical-align:top;" id="menucell">
49       <div style="background-color:#CDF6BD; height:12px; width:100%;">&nbsp;</div>
50       {$menu}
51           <br />
52           <div style="height:1px; width:140px;"></div>
53     </td>
54     <!-- Plugin window -->
55     <td style="background-color:white; width:100%; vertical-align:top; height:15px; border-left:1px solid #778F6E; border-top:1px solid #778F6E" colspan="2">
56       <table style="vertical-align:top; text-align:justify; background-color: #F8F8F8; margin-top:7px; margin-left:7px; margin-right:7px; width:99%" summary="">
57        <tr>
58         <td>
59          {$contents}
60        </td>
61       </tr>
62      </table>
63     </td>
64   </tr>
65 </table></form></body></html>