Code

Removed js errors when not showing divlists.
[gosa.git] / ihtml / themes / default / framework.tpl
index 2ab8e273f214a7078ad0758c69a749859e7708d3..f51784b56461c7754e611e427150c6147013d228 100644 (file)
@@ -2,34 +2,34 @@
 <body>
 {$php_errors}
 <form action='main.php{$plug}' name='mainform' method='post' enctype='multipart/form-data'>
-<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#CDF6BD" >
+<table summary="" class="framework" cellspacing="0" cellpadding="0">
   <tr>
-    <td style="height:36px; width:140px; vertical-align:bottom; text-align:middle">
-     <a href="main.php?version=1" style="vertical-align:bottom;"><img src='{$go_logo}' border="0" alt="GOSA2" align="bottom"></a>
+    <td style="height:36px; width:140px; vertical-align:bottom; text-align:center">
+     <a href="main.php" style="vertical-align:bottom;"><img src='{$go_logo}' border="0" alt="GOSA2" style='vertical-align:bottom;'></a>
     </td>
     <td>
-      <table style="margin-left:20px;" border=0>
+      <table style="margin-left:20px;" border="0" summary="">
        <tr>
-        <td valign="middle">
-        <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");' style="vertical-align:middle;">
-         <img src='{$go_home}' align="middle" border="0" alt="GOSA2">&nbsp;{t}Main{/t}
+        <td style="vertical-align:middle;">
+        <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");' >
+         <img src='{$go_home}' class='center' border="0" alt="Main">&nbsp;{t}Main{/t}
         </a>
        </td>
         <td>
-        <a class=maintitlebar style="margin-left:35px; vertical-align:middle;">
-          <img src='{$go_help}' align="middle" border="0" alt="GOSA2">&nbsp;{t}Help{/t}
+        <a class="maintitlebar" style="margin-left:35px" {$help_method}>
+          <img src='{$go_help}' class='center' border="0" alt="Help">&nbsp;{t}Help{/t}
          </a>
        </td>
        <td>
-        <a class=maintitlebar href='logout.php' onClick='return question("{t}You are currently editing a database entry. Do you want to dismiss the changes?{/t}", "logout.php");' style="margin-left:35px; vertical-align:middle;">
-          <img src='{$go_out}' align="middle" border="0" alt="GOSA2">&nbsp;{t}Sign out{/t}
+        <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;">
+          <img src='{$go_out}' class='center' border="0" alt="Sign out">&nbsp;{t}Sign out{/t}
          </a>
        </td>
        </tr>
       </table>
     </td>
-    <td align=right>
-      <div class=maintitlebar>
+    <td style="text-align:right;">
+      <div class="maintitlebar" style="padding-right:10px;text-align:right">
         <a>{t}Signed in:{/t} <b>{$username}</b></a>
       </div>
     </td>
 
   <tr style="vertical-align:top;">
     <!-- Menu -->
-    <td style="background-color:#EEFFE6; vertical-align:top;" >
+    <td style="background-color:#EEFFE6; vertical-align:top;" id="menucell">
       <div style="background-color:#CDF6BD; height:12px; width:100%;">&nbsp;</div>
       {$menu}
-      <div style="height:100px; width:140px;"></div>
+         <br />
+         <div style="height:1px; width:140px;"></div>
     </td>
     <!-- Plugin window -->
-    <td style="background-color:white; width:100%; vertical-align:top; height:15px; border-left:1px solid #778F6E; border-top:1px solid #778F6E" colspan=2>
-      <table style="vertical-align:top; text-align:justify; background-color: #F8F8F8; margin-top:7px; margin-left:7px; margin-right:7px; width:99%">
+    <td style="background-color:white; width:100%; vertical-align:top; height:15px; border-left:1px solid #778F6E; border-top:1px solid #778F6E" colspan="2">
+      <table style="vertical-align:top; text-align:justify; background-color: #F8F8F8; margin-top:7px; margin-left:7px; margin-right:7px; width:99%" summary="">
        <tr>
         <td>
-        {$errors}
         {$contents}
        </td>
       </tr>