X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=gosa-plugins%2Fgoto%2Fadmin%2Fsystems%2Fgoto%2Fclass_terminalInfo.inc;h=071c99bf6494f4a0a41536fdf23818535ef4299d;hb=07d2b897f8faafcfa0c0bdc5e5bc70a09dff566a;hp=0ff6e3ab69ebf8b247b70fa3dfae657954017668;hpb=079003be07b781fc09aa48d64e60c26a14103e62;p=gosa.git
diff --git a/gosa-plugins/goto/admin/systems/goto/class_terminalInfo.inc b/gosa-plugins/goto/admin/systems/goto/class_terminalInfo.inc
index 0ff6e3ab6..071c99bf6 100644
--- a/gosa-plugins/goto/admin/systems/goto/class_terminalInfo.inc
+++ b/gosa-plugins/goto/admin/systems/goto/class_terminalInfo.inc
@@ -2,11 +2,6 @@
class terminfo extends plugin
{
- /* CLI vars */
- var $cli_summary= "Retrieve informations about terminals";
- var $cli_description= "Some longer text\nfor help";
- var $cli_parameters= array("eins" => "Eins ist toll", "zwei" => "Zwei ist noch besser");
-
/* Generic terminal attributes */
var $ghCpuType= "-";
var $ghMemSize= "-";
@@ -69,14 +64,14 @@ class terminfo extends plugin
/* Do we represent a valid terminal? */
if (!$this->is_account && $this->parent === NULL){
- return("
".
- _("This 'dn' has no terminal features.")."");
+ return("
".
+ msgPool::noValidExtension(_("terminal"))."");
}
$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));