diff -Naur -U 8 cacti-0.8.6h-old/data_sources.php cacti-0.8.6h/data_sources.php
--- cacti-0.8.6h-old/data_sources.php 2006-01-03 21:08:30.000000000 -0600
+++ cacti-0.8.6h/data_sources.php 2006-01-05 23:25:32.000000000 -0600
@@ -1038,28 +1038,35 @@
print $nav;
html_header_checkbox(array("Name", "Data Input Method", "Active", "Template Name"));
$i = 0;
if (sizeof($data_sources) > 0) {
foreach ($data_sources as $data_source) {
form_alternate_row_color($colors["alternate"],$colors["light"],$i); $i++;
+
+ $ds_table['data_source'] = $data_source;
+ $ds_table['data_input_name'] = $data_source['data_input_name'];
+ $ds_table['active'] = (($data_source["active"] == "on") ? "Yes" : "No");
+ $ds_table['template_name'] = ((empty($data_source["data_template_name"])) ? "None" : $data_source["data_template_name"]);
+ $ds_table = do_hook_function("data_sources_table", $ds_table);
+
?>
\\1", title_trim($data_source["name_cache"], read_config_option("max_title_data_source"))); }else{ print title_trim($data_source["name_cache"], read_config_option("max_title_data_source")); } ?>
|
-
+
|
- No");?>
+
|
- None" : $data_source["data_template_name"]);?>
+
|
">
|
Create new graphs for the following host:
|
*">Edit this Host
- *Create New Host
+ *Create New Host
+
|
|