summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 09ecc80)
raw | patch | inline | side by side (parent: 09ecc80)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 14 Mar 2008 08:26:46 +0000 (08:26 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 14 Mar 2008 08:26:46 +0000 (08:26 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9795 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/utils/class_msgPool.inc | patch | blob | history |
index c2bb2d1355a22bcb2640daa9427b3a358f70f7e0..debfd66e75c7a3f28369019be9af03decdc60a49 100644 (file)
return (sprintf(_("Command specified as %s hook for plugin '%s' does not exist!"), $type, $plugin));
}
+ public static function cmdinvalid($type, $command = "",$plugin="")
+ {
+ if(empty($command)){
+ return (sprintf(_("The configured '%s' command is not a valid command."), $type));
+ }elseif($command != "" && $plugin != ""){
+ return (sprintf(_("The configured '%s' command (%s) in plugin %s is not a valid command."), $type,$command,$plugin));
+ }elseif($plugin != "" && $command =""){
+ return (sprintf(_("The configured '%s' command in plugin %s is not a valid command."), $type,$plugin));
+ }else{
+ return (sprintf(_("The configured '%s' command (%s) is not a valid command."), $type,$command));
+ }
+ }
public static function toobig($name, $min= "")
{