Code

Removed js errors when not showing divlists.
[gosa.git] / ihtml / themes / default / framework.tpl
index 742290548456968c5f2d059246ed2456d33a7a71..f51784b56461c7754e611e427150c6147013d228 100644 (file)
@@ -2,7 +2,7 @@
 <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="#6781A8" summary="" >
+<table summary="" class="framework" cellspacing="0" cellpadding="0">
   <tr>
     <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>
@@ -21,7 +21,7 @@
          </a>
        </td>
        <td>
-        <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");' style="margin-left:35px;">
+        <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>
@@ -37,8 +37,8 @@
 
   <tr style="vertical-align:top;">
     <!-- Menu -->
-    <td style="background-color:#EEFFE6; vertical-align:top;" >
-      <div style="height:12px; width:100%;">&nbsp;</div>
+    <td style="background-color:#EEFFE6; vertical-align:top;" id="menucell">
+      <div style="background-color:#CDF6BD; height:12px; width:100%;">&nbsp;</div>
       {$menu}
          <br />
          <div style="height:1px; width:140px;"></div>
@@ -48,7 +48,6 @@
       <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>