Code

Fixed error messages
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 21 Feb 2008 08:00:11 +0000 (08:00 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 21 Feb 2008 08:00:11 +0000 (08:00 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9001 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/html/main.php
gosa-core/include/class_msg_dialog.inc

index aa980c5634a81ef15827f47f9a12f4757089d8e3..0521f8981c4c20d2f09ea9d150458947684c239c 100644 (file)
@@ -146,8 +146,8 @@ if (!session::is_set('plist')){
       if (is_readable("$BASE_DIR/$path")){
         require_once("$BASE_DIR/$path");
       } else {
-        msg_dialog::display(_("Could not locate file."),
-            sprintf(_("Fatal error: cannot locate file '%s' - please run '%s' to fix this"),
+        msg_dialog::display(_("Fatal error"),
+            sprintf(_("Cannot locate file '%s' - please run '%s' to fix this"),
               "$BASE_DIR/$path", "<b>update-gosa</b>"), FATAL_ERROR_DIALOG);
         exit;
       }
index 3e52c1f68718b3e8be990a513cde1de95d2ac269..004c029d54b4343190352eac6a2a89f7e2930b00 100644 (file)
@@ -86,7 +86,7 @@ class msg_dialog
                                <tr><td style='vertical-align:top;padding:10px'>
                                <img src='images/error.png' alt='{t}Error{/t}'>
                                </td><td style='width:100%'>
-                               <b>Fatal Error - GOsa execution abortet - ".$this->s_Title."</b><br>
+                               <b>".$this->s_Title."</b><br>
                                ".$this->s_Message."<br><br>
                                "._("Please fix the above error and reload the page.")."
                                </td></tr>