diff --git a/includes/tsmmonitor.php b/includes/tsmmonitor.php index 7b326e4..c04b494 100644 --- a/includes/tsmmonitor.php +++ b/includes/tsmmonitor.php @@ -877,11 +877,9 @@ class TSMMonitor { $outp .= $this->renderZebraTableRow($row, $i%2, $col, $color, ""); $i++; } - } - else if ($type == "verticaltable") { + } else if ($type == "verticaltable") { $outp = $this->adodb->fetchArrayDB($sql); - } - else if ($type == "timetable") { + } else if ($type == "timetable") { $sqlres = $this->adodb->fetchArrayDB($sql); $outp = array(); foreach ($sqlres as $row) { @@ -896,8 +894,7 @@ class TSMMonitor { } array_push($outp, $rowarray2); } - } - else if ($type == "timetable2") { + } else if ($type == "timetable2") { $sqlres = $this->adodb->fetchArrayDB($sql); $outp = array(); foreach ($sqlres as $row) { @@ -1205,7 +1202,7 @@ class TSMMonitor { $out= "".$header.""; for ($count = 0; $count <= 24; $count++) { $imagename = strftime("%H", $startpunkt + ($count * 3600)); - $out .= ""; + $out .= ""; } $out .= ""; diff --git a/scripts/tsmmonitor.sql b/scripts/tsmmonitor.sql index 8c0c788..04dd795 100644 --- a/scripts/tsmmonitor.sql +++ b/scripts/tsmmonitor.sql @@ -61,7 +61,8 @@ INSERT INTO `cfg_config` (`id`, `confkey`, `confval`, `description`) VALUES (4, 'path_polldlog', '', 'PollD Logfile Path'), (5, 'loglevel_tm', 'INFO', 'TSM Monitor Log Level'), (6, 'loglevel_polld', 'INFO', 'PollD Log Level'), -(7, 'path_dsmadmc', '/usr/bin/dsmadmc', ''); +(7, 'path_dsmadmc', '', 'dsmadmc Binary Path'), +(8, 'path_php', '', 'PHP Binary Path'); -- --------------------------------------------------------