summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7f38fc0)
raw | patch | inline | side by side (parent: 7f38fc0)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 14 Apr 2008 10:21:16 +0000 (10:21 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 14 Apr 2008 10:21:16 +0000 (10:21 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10407 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 bfb18cf1cba9e32eeaf5e8523bfcf3786dd31e72..7e070e615413a3b8d9acf2140995251d96611fdd 100644 (file)
/* Check if path is write/readable*/
$is_r = @is_readable($path);
if(((!is_dir($path))||(empty($path)) || (!$is_r)) && (!@mkdir($path))){
- msg_dialog(_("Configuration error"), sprintf(_("Cannot open PPD path '%s' for reading and writing!"), $path), ERROR_DIALOG);
+ msg_dialog::display(_("Configuration error"), sprintf(_("Cannot open PPD path '%s' for reading and writing!"), $path), ERROR_DIALOG);
/* Print out template */
$display.= $smarty->fetch(get_template_path('printerPPDDialog.tpl', TRUE,dirname(__FILE__)));
$this->SelectPPD($name);
}
}else{
- msg_dialog(_("PPD error"), msgPool::incorrectUpload(_("file is empty")), ERROR_DIALOG);
+ msg_dialog::display(_("PPD error"), msgPool::incorrectUpload(_("file is empty")), ERROR_DIALOG);
}
}
$str .= "</select>\n";
}else{
- msg_dialog(_("PPD error"), sprintf(_("PPD type '%s' is not supported!"), $type), ERROR_DIALOG);
+ msg_dialog::display(_("PPD error"), sprintf(_("PPD type '%s' is not supported!"), $type), ERROR_DIALOG);
}
$str .= "</td></tr>\n";
}
if(file_exists($path)){
if(is_writeable($path)){
if(!@unlink($path)){
- msg_dialog(_("PPD error"), msgPool::cannotDeleteFile($path), ERROR_DIALOG);
+ msg_dialog::display(_("PPD error"), msgPool::cannotDeleteFile($path), ERROR_DIALOG);
}
}else{
- msg_dialog(_("PPD error"), msgPool::cannotDeleteFile($path), ERROR_DIALOG);
+ msg_dialog::display(_("PPD error"), msgPool::cannotDeleteFile($path), ERROR_DIALOG);
}
}else{
- msg_dialog(_("PPD error"), msgPool::cannotDeleteFile($path), ERROR_DIALOG);
+ msg_dialog::display(_("PPD error"), msgPool::cannotDeleteFile($path), ERROR_DIALOG);
}
}