Code

Updated styles
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 21 Apr 2010 14:15:08 +0000 (14:15 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 21 Apr 2010 14:15:08 +0000 (14:15 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17778 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/html/themes/default/style.css
gosa-core/include/class_pathNavigator.inc
gosa-core/include/php_setup.inc

index 59d5ade683a00caca9245dbd4d8a7a7c1381d1b6..17ac0e5cdfd91e8a893bc2a4091adac574870fa3 100644 (file)
@@ -100,6 +100,27 @@ h1, h3 {
   color:red;
 }
 
+
+/* Error collector */
+.error-collector {
+  border-bottom:1px solid black;
+  width:100%;
+  z-index:150;
+  padding:2px;
+  height:32px;
+  background-color:#FFC0C0;
+}
+
+.error-collector span {
+  font-size:12px;
+  font-weight:bold;
+}
+
+.error-collector td {
+  vertical-align:middle;
+}
+
+
 /* Image with migration color */
 
 input[type=submit].img{
index 645626f231d84e6bac182b8901b50bb62928120a..a7af83ec2247c815e65a37460ce46b42e660bc4b 100644 (file)
@@ -67,6 +67,7 @@ class pathNavigator
     if(empty($path)){
       $path = "<li class='left path-element'>"._("Welcome to GOsa")."</li>";
     }
+
     return($path);
   }
 
index 82289820300c81a961f69b28b8b35a63711b7d59..2a4556f458e883803514914e7100267f821dbc24 100644 (file)
@@ -94,24 +94,18 @@ function gosaRaiseError($errno, $errstr, $errfile, $errline)
     if (session::is_set('js') && session::get('js')==FALSE){
       $error_collector= "<div>";
     } else {
-      $error_collector= "
-        <table summary=\"\" width=\"100%\" style='background-color:#E0E0E0;border-bottom:1px solid black;z-index:150;'>
+        $error_collector= "
+        <table summary=\"\" class='error-collector'>
           <tr>
-            <td>
-              <img alt=\"\" align=\"middle\" src='".get_template_path('images/warning.png')."'>&nbsp;
-              <font style='font-size:14px;font-weight:bold'>".
-                _("Generating this page caused the PHP interpreter to raise some errors!")."
-              </font>
-            </td>
-            <td align=right>
-              <a href=\"mailto:gosa-bugs@oss.gonicus.de?subject=GOsa%20bugreport&amp;body=%BUGBODY%\">
-                <img border='0' src='images/mailto.png' title='"._("Send bug report to the GOsa Team")."' class='center' alt=''>&nbsp;"._("Send bugreport")."
-              </a>
-            </td>
-            <td align=right>
-              <button onClick=\"$('errorbox').toggle();\">".
-                _("Toggle information")."
-              </button>
+           <td style='width:32px'>".image('images/toolbar-warning.png')."</td>
+           <td><span>"._("Generating this page caused the PHP interpreter to raise some errors!")."</span></td>
+           <td align='right'>
+            <a href=\"mailto:gosa-bugs@oss.gonicus.de?subject=GOsa%20bugreport&amp;body=%BUGBODY%\">
+                ".image('images/mailto.png')."&nbsp;"._("Send bugreport")."
+            </a>
+           </td>
+           <td align='right'>
+            <button onClick=\"$('errorbox').toggle();\">"._("Toggle details")."</button>
             </td>
           </tr>
         </table>