mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
some more icons, changes to device editing system
git-svn-id: http://www.observium.org/svn/observer/trunk@1221 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
17
html/pages/device/edit/apps.inc.php
Normal file
17
html/pages/device/edit/apps.inc.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
if ($handle = opendir($config['install_dir'] . "/includes/polling/applications/")) {
|
||||
while (false !== ($file = readdir($handle))) {
|
||||
if ($file != "." && $file != ".." && strstr($file, ".inc.php")) {
|
||||
$file = str_replace(".inc.php", "", $file);
|
||||
$servicesform .= "<option value='$file'>$file</option>";
|
||||
}
|
||||
}
|
||||
closedir($handle);
|
||||
}
|
||||
|
||||
echo("$servicesform");
|
||||
|
||||
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user