} ?> </fieldset> <br> <br> <fieldset> <legend>Parameter Descriptions Update</legend> <? if ($paramSelected) { $AllparamDescription = get_parameter_description($kmCategory, "$paramSelected"); $AllparamDescription = preg_grep("/$appSelected/", $AllparamDescription); $AllparamDescription = implode ("", $AllparamDescription); $indParamDescription = str_replace ("___", "\M", $AllparamDescription); $indParamDescriptionArray = explode ("\M", $indParamDescription); $indParamSelected = $indParamDescriptionArray[0]; $paramDescription = $indParamDescriptionArray[2]; echo "<p> Enter Description for $indParamSelected <p>"; echo "<textarea name=description cols=\"75\" rows=\"5\" >$paramDescription</textarea>"; echo "<br/>"; echo "<br/>"; $result = get_collector_alias($kmCategory, $paramSelected); $result = $result[0]; $result = str_replace("___", "\M", $result); $result = explode ("\M", $result); $collector = $result[0];
echo "<OPTION value = \"$parameterName\">$parameterAlias"; } } if (!$parameterSet) { $param = "ALLPARAM"; echo "<OPTION value = \"$param\" SELECTED>$param"; } ?> </SELECT> </TD> <? } } if (($param) && ($parm != "ALLPARAM")){ echo "   "; $paramDescription = get_parameter_description($category, $param); if (count ($paramDescription)) { $paramDescription = $paramDescription[0]; $paramDescription = str_replace ("___", "\M", $paramDescription); $paramDescriptionArray = explode ("\M", $paramDescription); $paramDescription = $paramDescriptionArray[2]; } else { $paramDescription = "No description found for $param"; } ?> </TR> </TABLE> <br> <?