<? if ($updateDescription) { update_param_description($appSelected, $paramSelected, $description, $collector,$appClassAlias,$paramAlias); echo "<H3>Parameter $paramSelected updated </h3>"; } ?> <fieldset> <legend>Parameter Selection </legend> <br/> <? $totalCategory = get_total_category(); if (count ($totalCategory)) { ?> <TABLE> <TR><TH>CATEGORY</TH><TH>APPLICATION CLASS</TH><TH>PARAMETER</TH></TR> <TR><TD> <SELECT name = "kmCategory" onChange="submit()"> <? $kmCategorySet = 0; $totalCategory = preg_grep ("/ENTIRE_SERVER/", $totalCategory, PREG_GREP_INVERT); foreach ($totalCategory as $indCategory) { $indCategory = trim ($indCategory); $indCategory = str_replace("___", "\M", $indCategory); $indCategoryArray = explode ("\M", $indCategory);
} ?> <fieldset> <legend>Available Categories</legend> <p> To Change or Delete a category, select it</p> <? # Setting a session token $_SESSION["token"] = rand (0, 10000); $token = $_SESSION["token"]; $allCategories = get_total_category(); $allCategoriesString = ""; $categoryTypesArray = get_categorytype_labels (); $categoryTypes = implode ("\n",$categoryTypesArray); $functionLabelsArray = get_function_labels(); $functionLabels = implode ("\n",$functionLabelsArray); debug_var ("Category Types",$categoryTypes); if (count ($allCategories)) { ?> <TABLE class="report"> <TR><TH>Category Name</TH><TH>Type</TH><TH>Description</TH><TH>Categories Functions</TH></TR> <? foreach ($allCategories as $indCat) {