[-]
[+]
|
Changed |
_service:set_version:inventory-system.spec
|
|
[-]
[+]
|
Changed |
_service:recompress:tar_scm:inventory-system-0.0.rev1538.tar.bz2/client/cron.daily
^
|
@@ -1,7 +1,7 @@
#!/bin/bash
if [ -x /usr/sbin/inventory-system ] ; then
- /usr/sbin/inventory-system | /bin/logger -t inventory-system
+ /usr/sbin/inventory-system | $(which logger) -t inventory-system
fi
exit 0
|
[-]
[+]
|
Changed |
_service:recompress:tar_scm:inventory-system-0.0.rev1538.tar.bz2/server/status.php
^
|
@@ -3,8 +3,8 @@
// isdf - inventory system webstatus
// Author: Carsten Schoene
//
-// $LastChangedDate: 2012-07-06 21:46:15 +0200 (Fri, 06 Jul 2012) $
-// $Rev: 1530 $
+// $LastChangedDate: 2012-07-07 20:43:56 +0200 (Sat, 07 Jul 2012) $
+// $Rev: 1533 $
*/
// define our name
@@ -42,8 +42,15 @@
syslog(LOG_ERR, "MDB2: " . $res->getMessage());
} else {
while (( $row = $res->fetchRow(MDB2_FETCHMODE_ASSOC) )) {
-
- echo '<option value="' . $row['id'] . '">' . $row['system_uuid'] . '</option>';
+ if ( isset($_GET['systemid'])) {
+ if ( $row['id'] == $_GET['systemid'] ) {
+ echo '<option selected value="' . $row['id'] . '">' . $row['system_uuid'] . '</option>';
+ } else {
+ echo '<option value="' . $row['id'] . '">' . $row['system_uuid'] . '</option>';
+ }
+ } else {
+ echo '<option value="' . $row['id'] . '">' . $row['system_uuid'] . '</option>';
+ }
}
}
echo '
|