Code

Updated error msgs
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 6 Nov 2006 04:00:13 +0000 (04:00 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 6 Nov 2006 04:00:13 +0000 (04:00 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@5008 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/gofax/faxreports/class_faxreport.inc

index f6b05cc304488df56d693c387d26638fad18b5ea..cc5e9a8a07acfe8ff517f4699e62184b49f59fcb 100644 (file)
@@ -103,7 +103,7 @@ class faxreport extends plugin
 
     /* Some checks */
     if(!isset($this->config->data['SERVERS']['FAX'])){
-      print_red(_("Can't connect to fax database, no reports can be shown!"));
+      print_red(_("No fax extension defined in your sever configuration, no reports can be shown!"));
       return($smarty->fetch(get_template_path('contents.tpl', TRUE)));
     }elseif(!is_callable("mysql_connect")){
       print_red(_("There is no mysql extension available, please check your php setup."));
@@ -122,7 +122,7 @@ class faxreport extends plugin
       }
 
       if (! mysql_query("SELECT * FROM faxlog;")){
-        print_red(_("Can't select fax database for report generation!"));
+        print_red(_("Can't query fax table 'faxlog' for report generation!"));
         return($smarty->fetch(get_template_path('contents.tpl', TRUE)));
       }
     }