?> <br /> <input type="submit" value="Update Filters" /> [ <a href="host_template.php?id=<?php echo $_GET['id']; ?> §ion=autodiscovery">Cancel</a> ] <?php } else { ?> <h3>Included In Template:</h3> <?php print_display_field("Address Filter", $templateValues, "autodiscovery_address_filter", $_GET['id']); print_display_field("Hostname Filter", $templateValues, "autodiscovery_hostname_filter", $_GET['id']); print_display_field("Operating System Family Filter", $templateValues, "autodiscovery_os_family_filter", $_GET['id']); print_display_field("Operating System Generation Filter", $templateValues, "autodiscovery_os_generation_filter", $_GET['id']); print_display_field("Operating system Vendor Filter", $templateValues, "autodiscovery_os_vendor_filter", $_GET['id']); ?> <br /> [ <a href="host_template.php?id=<?php echo $_GET['id']; ?> §ion=autodiscovery&edit=1">Edit</a> ]<br /> <br /> <?php $inherited_list = $hostTemplate->getInheritedNagiosAutodiscoveryServiceFilters(); $numOfInheritedFilters = count($inherited_list); $filter_list = $hostTemplate->getNagiosHostTemplateAutodiscoveryServices(); $numOfFilters = count($filter_list); if ($numOfInheritedFilters) { ?> <p>
echo $_GET['id']; ?> §ion=extended">Cancel</a> ] </form> <?php } else { print "<b>Included in definition:</b><br />\n"; print_display_field("Notes", $hostValues, "notes", $_GET['id']); print_display_field("Notes URL", $hostValues, "notes_url", $_GET['id']); print_display_field("Action URL", $hostValues, "action_url", $_GET['id']); print_display_field("Icon Image", $hostValues, "icon_image", $_GET['id']); print_display_field("Icon Image Alt Text", $hostValues, "icon_image_alt", $_GET['id']); print_display_field("VRML Image", $hostValues, "vrml_image", $_GET['id']); print_display_field("Statusmap Image", $hostValues, "statusmap_image", $_GET['id']); print_display_field("2D Coordinates", $hostValues, "two_d_coords", $_GET['id']); print_display_field("3D Coordinates", $hostValues, "three_d_coords", $_GET['id']); ?> <br /> [ <a href="hosts.php?id=<?php echo $_GET['id']; ?> §ion=extended&edit=1">Edit</a> ] <?php } ?> </td> </tr> </table> <?php } else { if ($_GET['section'] == 'contacts') {
double_pane_form_window_finish(); ?> <br /> <input type="submit" value="Update Extended Information" /> [ <a href="service.php?id=<?php echo $_GET['id']; ?> §ion=extended">Cancel</a> ] </form> <?php } else { print "<b>Included in definition:</b><br />\n"; print_display_field("Notes", $serviceValues, "notes", $_GET['id']); print_display_field("Notes URL", $serviceValues, "notes_url", $_GET['id']); print_display_field("Action URL", $serviceValues, "action_url", $_GET['id']); print_display_field("Icon Image", $serviceValues, "icon_image", $_GET['id']); print_display_field("Icon Image Alt Text", $serviceValues, "icon_image_alt", $_GET['id']); ?> <br /> [ <a href="service.php?id=<?php echo $_GET['id']; ?> §ion=extended&edit=1">Edit</a> ] <?php } ?> </td> </tr> </table> <?php } else { if ($_GET['section'] == 'contacts') {