Code

Reverted strings
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 30 Nov 2005 08:37:42 +0000 (08:37 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 30 Nov 2005 08:37:42 +0000 (08:37 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2144 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/gofax/faxreports/class_faxreport.inc

index 5aa3937373caa0fe25c1a85f9ddae59c71ce8e25..32e98614fff84868b79546bbbdacbbc572488403 100644 (file)
@@ -88,17 +88,17 @@ class faxreport extends plugin
 
        /* Some checks */
        if(!isset($this->config->data['SERVERS']['FAX'])){
-               print_red(_("There is no fax database defined in your config. Can't query anything."));
+               print_red(_("Can't connect to fax database, 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."));    
+               print_red(_("There is no mysql extension available, please check your php setup."));
                return($smarty->fetch(get_template_path('contents.tpl', TRUE)));
        }else{
                /* Connecting, selecting database */
                $cfg    = $this->config->data['SERVERS']['FAX'];
                $link   = @mysql_pconnect($cfg['SERVER'], $cfg['LOGIN'], $cfg['PASSWORD']);
                if ($link === FALSE){
-                       print_red(_("Can't connect to fax database, no reports can be shown!. Check username, password and server settings."));
+                       print_red(_("Can't connect to fax database, no reports can be shown!"));
                        return($smarty->fetch(get_template_path('contents.tpl', TRUE)));
                }
                if (! @mysql_select_db("gofax")){