summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6f785e9)
raw | patch | inline | side by side (parent: 6f785e9)
author | psc <psc@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 22 Jun 2009 12:27:01 +0000 (12:27 +0000) | ||
committer | psc <psc@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 22 Jun 2009 12:27:01 +0000 (12:27 +0000) |
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
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 d92a958eb2651ef802d3ab8ed2e3fa02fb4b1511..a2586613b68e5f7760cc9356c4a594b94387e392 100644 (file)
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", "<i>"._("unknown status")."</i>");
+ $smarty->assign("$val", "<i>"._("unknown status, SNMP support missing")."</i>");
}
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 0ed2fdbb1d0428c6ee2918a670510e2c7a7aaf21..da04eac747900a2100e529fe15ebfc70daf94df8 100644 (file)
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 <pollmeier@gonicus.de>\n"
"Language-Team: deutsch <de@li.org>\n"
#: 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 f798bb6579b5254464ab4015d43c5f56bd5174ce..be40fb55a089610d5337d301ea54992abe350390 100644 (file)
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 <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"