Code

Added bigger frame
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 15 May 2006 10:21:53 +0000 (10:21 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 15 May 2006 10:21:53 +0000 (10:21 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3334 594d385d-05f5-0310-b6e9-bd551577e9d8

include/functions.inc

index cee7bf691a4b24ddfebe3c103e8f62e9b6e375b8..0bee05f49f3033260d39b6008f09d602d7b25da6 100644 (file)
@@ -986,11 +986,11 @@ function print_red()
           $string.= ".";
         }
         $string= preg_replace('/<br>/', ' ', $string);
-        $_SESSION['errors'].= "<div style='margin-left:15%;margin-top:100px;background-color:white;padding:5px;border:3px solid red;width:60%;position:absolute'>".
+        $_SESSION['errors'].= "<div style='margin-left:15%;margin-top:100px;background-color:white;padding:5px;border:5px solid red;width:60%;position:absolute' id='e_layer'>".
         "<table style='width:100%' summary='' border=0><tr><td style='vertical-align:top;padding:10px'><img alt='' src='".get_template_path('images/warning.png')."'></td>".
-        "<td style='width:100%'><h1>"._("An error occured while checking the formular input")."</h1>".
+        "<td style='width:100%'><h1>"._("An error occured while processing your request")."</h1>".
         "<b>$string</b> "._("Please check your input and fix the contents of the highlighted field. Pess 'OK' to close this message box.")."</td>".
-        "</tr><tr><td colspan='2' align='center'><br><input id='edit_ok' type='submit' name='error_ok' style='width:80px' value='"._("OK")."'></td></tr></table></div>";
+        "</tr><tr><td colspan='2' align='center'><br><button style='width:80px' onClick='toggle(\"e_layer\")'>"._("OK")."</button></td></tr></table></div>";
   #########################
 
       }else{