3 # Show info about some interface that is being used by another module
5 require './net-lib.pl';
6 $access{'ifcs'} || &error($text{'ifcs_ecannot'});
8 @act = &active_interfaces();
10 $mod = &module_for_interface($a);
11 $mod || &error($text{'mod_egone'});
13 &ui_print_header(undef, $text{'mod_title'}, "");
16 print &text('mod_desc', "<tt>$a->{'fullname'}</tt>", $mod->{'desc'}),"\n";
18 if ($acl{$base_remote_user,$mod->{'module'}}) {
19 %minfo = &get_module_info($mod->{'module'});
20 print &text('mod_link', "../$mod->{'module'}/", $minfo{'desc'});
24 &ui_print_footer("list_ifcs.cgi?mode=active", $text{'ifcs_return'});