[freeside-commits] freeside/httemplate/elements menu.html, 1.110, 1.111
Ivan,,,
ivan at wavetail.420.am
Sat Feb 26 16:52:31 PST 2011
Update of /home/cvs/cvsroot/freeside/httemplate/elements
In directory wavetail.420.am:/tmp/cvs-serv20053/httemplate/elements
Modified Files:
menu.html
Log Message:
torrus virtual ports, RT#10574
Index: menu.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/elements/menu.html,v
retrieving revision 1.110
retrieving revision 1.111
diff -u -w -d -r1.110 -r1.111
--- menu.html 13 Feb 2011 07:19:44 -0000 1.110
+++ menu.html 27 Feb 2011 00:52:29 -0000 1.111
@@ -501,6 +501,10 @@
'View/Edit bulk DID vendors' => [ $fsurl.'browse/did_vendor.html', 'Bulk DID vendors' ],
;
+tie my %config_nms, 'Tie::IxHash',
+ 'View/Edit virtual ports' => [ $fsurl.'browse/torrus_srvderive.html', '' ],
+;
+
tie my %config_misc, 'Tie::IxHash';
$config_misc{'Message templates'} = [ $fsurl.'browse/msg_template.html', 'Templates for customer notices' ]
if $curuser->access_right('Edit templates')
@@ -545,11 +549,14 @@
if $conf->config('ticket_system')
&& FS::TicketSystem->access_right(\%session, 'ShowConfigTab');
$config_menu{'Dialup'} = [ \%config_dialup, '' ]
- if ( $curuser->access_right('Dialup configuration') );
+ if $curuser->access_right('Dialup configuration');
$config_menu{'Broadband'} = [ \%config_broadband, '' ]
- if ( $curuser->access_right('Broadband configuration') );
+ if $curuser->access_right('Broadband configuration');
$config_menu{'Phone'} = [ \%config_phone, '' ]
- if ( $curuser->access_right('Configuration') );
+ if $curuser->access_right('Configuration');
+$config_menu{'Network Monitoring'} = [ \%config_nms, '' ]
+ if $curuser->access_right('Configuration')
+ && $conf->config('network_monitoring_system') eq 'Torrus_Internal';
$config_menu{'Miscellaneous'} = [ \%config_misc, '' ]
if $curuser->access_right('Configuration' )
|| $curuser->access_right('Edit advertising sources')
More information about the freeside-commits
mailing list