[freeside-commits] freeside/httemplate/browse torrus_srvderive.html, NONE, 1.1
Ivan,,,
ivan at wavetail.420.am
Sat Feb 26 16:49:50 PST 2011
Update of /home/cvs/cvsroot/freeside/httemplate/browse
In directory wavetail.420.am:/tmp/cvs-serv19842/httemplate/browse
Added Files:
torrus_srvderive.html
Log Message:
torrus virtual ports, RT#10574
--- NEW FILE: torrus_srvderive.html ---
<% include( 'elements/browse.html',
'title' => 'Virtual network ports',
'name_singular' => 'port',
'menubar' => [ 'Add a new virtual port' =>
$p.'edit/torrus_srvderive.html',
],
'query' => { 'table' => 'torrus_srvderive' },
'count_query' => 'SELECT COUNT(*) FROM torrus_srvderive',
'header' => [ 'Virtual Port', 'Components', ],
'fields' => [ 'serviceid', $components_sub, ],
'links' => [ $link, '', ],
)
%>
<%init>
die "access denied"
unless $FS::CurrentUser::CurrentUser->access_right('Configuration');
my $link = [ $p.'edit/torrus_srvderive.html?', 'derivenum' ];
my $components_sub = sub {
my $torrus_srvderive = shift;
join('<BR>', $torrus_srvderive->component_serviceids);
};
</%init>
More information about the freeside-commits
mailing list