From: psc Date: Mon, 22 Jun 2009 12:27:01 +0000 (+0000) Subject: Silence error message when SNMP-support is missing (Trac #2006) X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=8d284c5e8322075a7138d7f9d3088a8cb51ca7fe;p=gosa.git Silence error message when SNMP-support is missing (Trac #2006) Do not show an error message if SNMP-support is missing, instead indicate it in status view. git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13756 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/trunk/gosa-plugins/goto/admin/systems/goto/class_terminalInfo.inc b/trunk/gosa-plugins/goto/admin/systems/goto/class_terminalInfo.inc index d92a958eb..a2586613b 100644 --- a/trunk/gosa-plugins/goto/admin/systems/goto/class_terminalInfo.inc +++ b/trunk/gosa-plugins/goto/admin/systems/goto/class_terminalInfo.inc @@ -74,13 +74,12 @@ class terminfo extends plugin if(!preg_match("/r/",$this->getacl(""))){ $smarty->assign("ACL",FALSE); }elseif(!is_callable("snmpget")){ - 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)); $smarty->assign("swap", progressbar(0,100,15,true)); foreach(array("uptime", "sshd", "X", "saned", "artsd", "cupsd","status","ghNetNic", "ghIdeDev", "ghScsiDev","FloppyDevice", "CdromDevice","active") as $val){ - $smarty->assign("$val", ""._("unknown status").""); + $smarty->assign("$val", ""._("unknown status, SNMP support missing").""); } diff --git a/trunk/gosa-plugins/goto/locale/de/LC_MESSAGES/messages.po b/trunk/gosa-plugins/goto/locale/de/LC_MESSAGES/messages.po index 0ed2fdbb1..da04eac74 100644 --- a/trunk/gosa-plugins/goto/locale/de/LC_MESSAGES/messages.po +++ b/trunk/gosa-plugins/goto/locale/de/LC_MESSAGES/messages.po @@ -13,7 +13,7 @@ msgid "" msgstr "" "Project-Id-Version: messages\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2009-06-22 14:16+0200\n" +"POT-Creation-Date: 2009-06-22 14:24+0200\n" "PO-Revision-Date: 2008-12-04 11:18+0100\n" "Last-Translator: Cajus Pollmeier \n" "Language-Team: deutsch \n" @@ -2716,7 +2716,7 @@ msgstr "Terminal" #: admin/systems/goto/class_terminalInfo.inc:82 msgid "unknown status, SNMP support missing" -msgstr "" +msgstr "unbekannter Status; SNMP-Unterstützung fehlt" #: admin/systems/goto/class_terminalInfo.inc:91 msgid "This is a virtual terminal which has no properties to show here." diff --git a/trunk/gosa-plugins/goto/locale/messages.po b/trunk/gosa-plugins/goto/locale/messages.po index f798bb657..be40fb55a 100644 --- a/trunk/gosa-plugins/goto/locale/messages.po +++ b/trunk/gosa-plugins/goto/locale/messages.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2009-06-22 14:16+0200\n" +"POT-Creation-Date: 2009-06-22 14:24+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n"