- Timestamp:
- 07/23/08 17:34:47 (4 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/centreon/www/include/configuration/configObject/command/listCommand.php
r5226 r5853 100 100 $cmd["command_line"] = str_replace('#S#', "/", $cmd["command_line"]); 101 101 $cmd["command_line"] = str_replace('#BS#', "\\", $cmd["command_line"]); 102 102 103 if ($cmd["command_type"] == 1) { 104 $command_type = _("Notification"); 105 } 106 else if ($cmd["command_type"] == 2) { 107 $command_type = _("Check"); 108 } 109 else if ($cmd["command_type"] == 3) { 110 $command_type = _("Miscellaneous"); 111 } 112 else { 113 $command_type = _("Other"); 114 } 115 103 116 $elemArr[$i] = array("MenuClass"=>"list_".$style, 104 117 "RowMenu_select"=>$selectedElements->toHtml(), … … 106 119 "RowMenu_link"=>"?p=".$p."&o=c&command_id=".$cmd['command_id']."&type=".$cmd['command_type'], 107 120 "RowMenu_desc"=>substr($cmd["command_line"], 0, 50)."...", 108 "RowMenu_type"=>$c md["command_type"] == 2 ? _("Check") : _("Notification"),121 "RowMenu_type"=>$command_type, 109 122 "RowMenu_options"=>$moptions); 110 123 $style != "two" ? $style = "two" : $style = "one";
