diff options
Diffstat (limited to 'httemplate/edit/process/torrus_srvderive.html')
-rw-r--r-- | httemplate/edit/process/torrus_srvderive.html | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/httemplate/edit/process/torrus_srvderive.html b/httemplate/edit/process/torrus_srvderive.html new file mode 100644 index 000000000..c3260bc8a --- /dev/null +++ b/httemplate/edit/process/torrus_srvderive.html @@ -0,0 +1,21 @@ +<% include( 'elements/process.html', + 'table' => 'torrus_srvderive', + 'viewall_dir' => 'browse', + 'process_m2name' => { + 'link_table' => 'torrus_srvderive_component', + 'num_col' => 'derivenum', + 'name_col' => 'serviceid', + 'names_list' => \@serviceids, + 'param_style' => 'link_table.value checkboxes', + }, + ) +%> +<%init> + +die "access denied" + unless $FS::CurrentUser::CurrentUser->access_right('Configuration'); + +my $nms = new FS::NetworkMonitoringSystem; +my @serviceids = $nms->torrus_serviceids; + +</%init> |