summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 33d4e50)
raw | patch | inline | side by side (parent: 33d4e50)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 30 Apr 2010 11:41:43 +0000 (11:41 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 30 Apr 2010 11:41:43 +0000 (11:41 +0000) |
-Display warnings about 'unsupported' properties only when displayErrors is true.
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6@17994 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6@17994 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/goto/admin/systems/ppd/class_printerPPDDialog.inc | patch | blob | history |
diff --git a/gosa-plugins/goto/admin/systems/ppd/class_printerPPDDialog.inc b/gosa-plugins/goto/admin/systems/ppd/class_printerPPDDialog.inc
index 3da4d8548209d56b238c4d91e68cff84d9837b15..46354cd2860b8d77f5081c94c054061a28749774 100644 (file)
}
$str .= "</select>\n";
- }else{
+ }elseif($this->config->get_cfg_value("displayerrors") == "true"){
msg_dialog::display(_("PPD error"), sprintf(_("PPD type '%s' is not supported!"), $type), ERROR_DIALOG);
}
$str .= "</td></tr>\n";