Code

Fixed Workstation Startup
[gosa.git] / gosa-plugins / goto / admin / systems / goto / class_terminalInfo.inc
index 7a331339702342cdfe591d755fcd463b2efc0f91..ebab65764301186351f5f2717e25214c0dddebad 100644 (file)
@@ -65,13 +65,13 @@ class terminfo extends plugin
     /* Do we represent a valid terminal? */
     if (!$this->is_account && $this->parent === NULL){
       return("<img alt=\"\" src=\"images/stop.png\" align=middle>&nbsp;<b>".
-        _("This 'dn' has no terminal features.")."</b>");
+        msgPool::noValidExtension(_("terminal"))."</b>");
     }
 
     $smarty= get_smarty();
     $display= "";
     if(!is_callable("snmpget")){
-      print_red(_("There is no php snmp module installed, can't gather any informations."));
+      msg_dialog::display(_("Configuration error"), msgPool::missingext("snmp"), ERROR_DIALOG);
 
       $smarty->assign("load", progressbar(0,100,15,true));
       $smarty->assign("mem", progressbar(0,100,15,true));