Code

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

plugins/addons/logview/class_logview.inc

index c363aa70334f4b1970182eaca4f637176a056c18..7e38148dbf0bcf5b9476f17e5c1fc49544f57cb7 100644 (file)
@@ -63,14 +63,14 @@ class logview extends plugin
                print_red (_("No LOG servers defined!"));
                return ($smarty->fetch (get_template_path('contents.tpl', TRUE)));
        }elseif(!is_callable("mysql_connect")){
-               print_red(_("No mysql extension loaded, can't connect to mysql server."));
+               print_red(_("There is no mysql extension available, please check your php setup."));
                return ($smarty->fetch (get_template_path('contents.tpl', TRUE)));
        }else{
                $cfg= $this->config->data['SERVERS']['LOG'];
                
                $link = @mysql_pconnect($cfg['SERVER'], $cfg['LOGIN'], $cfg['PASSWORD']);
                if ($link === FALSE){
-                       print_red(_("Can't connect to mysql server, please check username, password and server settings."));
+                       print_red(_("Can't connect to log database, no logs can be shown!"));
                        return ($smarty->fetch (get_template_path('contents.tpl', TRUE)));
                }
                if (! @mysql_select_db("gomon")){