X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Fmenu.html;h=236fe6a5324c07dba190d3b48661838c3d636d90;hb=9f2280fbce022ab9bcfc46fe94483730b0aeb0f8;hp=d0632a971ef5b9561842b2ce77724f89f5d7328d;hpb=bb119c4cc86e906f698a205437790bd8f96bb3d0;p=freeside.git diff --git a/httemplate/elements/menu.html b/httemplate/elements/menu.html index d0632a971..236fe6a53 100644 --- a/httemplate/elements/menu.html +++ b/httemplate/elements/menu.html @@ -21,9 +21,9 @@ % my $fs_popup = include( '/elements/popup_link_onclick.html', % 'action' => $fsurl.'docs/about.html', -% 'label' => 'Freeside', +% 'label' => emt('Freeside'), % 'style' => 'color:#999999', -% 'actionlabel' => 'About', +% 'actionlabel' => emt('About'), % 'width' => 300, % 'height' => 360, % 'color' => '#7e0079', @@ -62,11 +62,11 @@ % my( $subhtml, $submenuname ) = submenu($url_or_submenu, $item); <% $subhtml |n %> - myBar.add(new WebFXMenuButton("<% $item %>", null, "<% $tooltip %>", <% $submenuname |n %> )); + myBar.add(new WebFXMenuButton(<% mt($item) |js_string %>, null, <% mt($tooltip) |js_string %>, <% $submenuname |n %> )); % } else { - myBar.add(new WebFXMenuButton("<% $item %>", "<% $url_or_submenu %>", "<% $tooltip %>" )); + myBar.add(new WebFXMenuButton(<% mt($item) |js_string %>, "<% $url_or_submenu %>", <% mt($tooltip) |js_string %> )); % } % } #foreach $item @@ -365,7 +365,6 @@ tie my %tools_importing, 'Tie::IxHash', 'Payments from CSV file' => [ $fsurl.'misc/cust_pay-import.cgi', '' ], 'Phone numbers (DIDs)' => [ $fsurl.'misc/phone_avail-import.html', '' ], 'Call Detail Records (CDRs)' => [ $fsurl.'misc/cdr-import.html', '' ], -# 'Import call rates and regions' => [ $fsurl.'misc/rate-import.html', '' ], ; if ( $conf->exists('enable_taxproducts') ) { if ( $conf->exists('taxdatadirectdownload') ) { @@ -381,11 +380,6 @@ tie my %tools_exporting, 'Tie::IxHash', 'Download database dump' => [ $fsurl. 'misc/dump.cgi', '' ], ; -# -# - tie my %tools_ticketing, 'Tie::IxHash', 'Offline' => [ $fsurl.'rt/Tools/Offline.html', '' ], 'My Day' => [ $fsurl.'rt/Tools/MyDay.html', '' ], @@ -541,7 +535,7 @@ $config_misc{'Advertising sources'} = [ $fsurl.'browse/part_referral.html', 'Whe || $curuser->access_right('Edit global advertising sources'); if ( $curuser->access_right('Configuration') ) { $config_misc{'Virtual fields'} = [ $fsurl.'browse/part_virtual_field.cgi', 'Locally defined fields', ]; - $config_misc{'Message catalog'} = [ $fsurl.'browse/msgcat.cgi', 'Change error messages and other customizable labels for each locale' ]; + $config_misc{'Message catalog'} = [ $fsurl.'browse/msgcat.html', 'Change error messages and other customizable labels for each locale' ]; } $config_misc{'Inventory classes and inventory'} = [ $fsurl.'browse/inventory_class.html', 'Setup inventory classes and stock inventory' ] if $curuser->access_right('Edit inventory') @@ -551,6 +545,9 @@ $config_misc{'Inventory classes and inventory'} = [ $fsurl.'browse/inventory_cla $config_misc{'Hardware types'} = [ $fsurl.'browse/hardware_class.html', 'Set up hardware type catalog' ] if $curuser->access_right('Configuration'); +$config_misc{'RADIUS Groups'} = [ $fsurl.'browse/radius_group.html', 'Manage RADIUS groups' ] + if $curuser->access_right('Configuration'); + tie my %config_menu, 'Tie::IxHash'; if ( $curuser->access_right('Configuration' ) ) { %config_menu = (