r1436 + started virtual service page as a child page of IPv4 space
authorDenis Ovsienko <infrastation@yandex.ru>
Thu, 27 Dec 2007 19:08:26 +0000 (19:08 +0000)
committerDenis Ovsienko <infrastation@yandex.ru>
Thu, 27 Dec 2007 19:08:26 +0000 (19:08 +0000)
inc/navigation.php
inc/pagetitles.php

index b3fa010d67e63a3347002bc14a6dca0ae8c19686..e05e0af3264c80e9c79691e21ae7c62c4ae4f152 100644 (file)
@@ -151,6 +151,13 @@ $ophandler['ipaddress']['assignment']['delIpAssignment'] = 'delIpAssignment';
 $ophandler['ipaddress']['assignment']['editBondForAddress'] = 'editIpAssignment';
 $ophandler['ipaddress']['assignment']['bindObjectToIp'] = 'addIpAssignment';
 
+$page['vservice']['title'] = 'static_title';
+$page['vservice']['parent'] = 'ipv4space';
+$page['vservice']['bypass'] = 'id';
+$page['vservice']['bypass_type'] = 'uint';
+$tab['vservice']['default'] = 'View';
+$tabhandler['vservice']['default'] = 'renderVirtualService';
+
 $page['search']['title'] = 'dynamic_title_search';
 $page['search']['handler'] = 'handler_search';
 $page['search']['parent'] = 'index';
index f05ade7472461ee72e264db63be26f38910e76a9..7accd42adb8d97cc83a4af3d27e1fb215c387cd5 100644 (file)
@@ -184,6 +184,9 @@ function static_title ($pageno)
                case 'help':
                        $ret['name'] = 'Help';
                        break;
+               case 'vservice':
+                       $ret['name'] = 'Virtual service';
+                       break;
                default:
                        $ret['name'] = 'UNKNOWN';
                        break;