r2993 - renderIPv4SpaceEditor(): dismiss "update name" form for each network due...
[racktables] / inc / navigation.php
CommitLineData
b325120a 1<?php
e673ee24
DO
2/*
3*
4* This file implements generic navigation for RackTables.
5*
6*/
7
83dd1b15
DO
8$page = array();
9$tab = array();
83dd1b15
DO
10$trigger = array();
11$ophandler = array();
81bab70c 12$tabhandler = array();
2f48b72b 13$delayauth = array();
83dd1b15 14
eebf9145 15$page['index']['title'] = 'Main page';
e673ee24
DO
16$page['index']['handler'] = 'renderIndex';
17
eebf9145 18$page['rackspace']['title'] = 'Rackspace';
e673ee24
DO
19$page['rackspace']['parent'] = 'index';
20$tab['rackspace']['default'] = 'Browse';
345fd640 21$tab['rackspace']['edit'] = 'Manage rows';
e673ee24 22$tab['rackspace']['history'] = 'History';
8b6ffe9c 23$tabhandler['rackspace']['default'] = 'renderRackspace';
345fd640 24$tabhandler['rackspace']['edit'] = 'renderRackspaceRowEditor';
8b6ffe9c 25$tabhandler['rackspace']['history'] = 'renderRackspaceHistory';
345fd640
AD
26$ophandler['rackspace']['edit']['addRow'] = 'addRow';
27$ophandler['rackspace']['edit']['updateRow'] = 'updateRow';
9f14a7ef 28$ophandler['rackspace']['edit']['delete'] = 'deleteRow';
e673ee24 29
341fd895
DO
30$page['depot']['parent'] = 'index';
31$page['depot']['title'] = 'Objects';
32$tab['depot']['default'] = 'Browse';
33$tab['depot']['addmore'] = 'Add more';
34$tabhandler['depot']['default'] = 'renderDepot';
35$tabhandler['depot']['addmore'] = 'renderAddMultipleObjectsForm';
36$ophandler['depot']['addmore']['addObjects'] = 'addMultipleObjects';
37$ophandler['depot']['addmore']['addLotOfObjects'] = 'addLotOfObjects';
38$ophandler['depot']['default']['deleteObject'] = 'deleteObject';
e673ee24 39
e673ee24 40$page['row']['bypass'] = 'row_id';
8b6ffe9c 41$page['row']['bypass_type'] = 'uint';
e673ee24
DO
42$page['row']['parent'] = 'rackspace';
43$tab['row']['default'] = 'View';
44$tab['row']['newrack'] = 'Add new rack';
eb6ea26f 45$tab['row']['tagroller'] = 'Tag roller';
8b6ffe9c
DO
46$tabhandler['row']['default'] = 'renderRow';
47$tabhandler['row']['newrack'] = 'renderNewRackForm';
2f32cc32 48$tabhandler['row']['tagroller'] = 'renderTagRollerForRow';
eb6ea26f 49$ophandler['row']['tagroller']['rollTags'] = 'rollTags';
f19c75d6 50$ophandler['row']['newrack']['addRack'] = 'addRack';
e673ee24 51
e673ee24 52$page['rack']['bypass'] = 'rack_id';
8b6ffe9c 53$page['rack']['bypass_type'] = 'uint';
e673ee24
DO
54$page['rack']['parent'] = 'row';
55$tab['rack']['default'] = 'View';
56$tab['rack']['edit'] = 'Properties';
57$tab['rack']['design'] = 'Design';
58$tab['rack']['problems'] = 'Problems';
41bd8c87 59$tab['rack']['tags'] = 'Tags';
e1ae3fb4 60$tab['rack']['files'] = 'Files';
8b6ffe9c
DO
61$tabhandler['rack']['default'] = 'renderRackPage';
62$tabhandler['rack']['edit'] = 'renderEditRackForm';
63$tabhandler['rack']['design'] = 'renderRackDesign';
64$tabhandler['rack']['problems'] = 'renderRackProblems';
482c7f35
DO
65$tabhandler['rack']['tags'] = 'renderEntityTags';
66$tabhandler['rack']['files'] = 'renderFilesForEntity';
41bd8c87 67$trigger['rack']['tags'] = 'trigger_tags';
4fbb5a00
DY
68$ophandler['rack']['design']['updateRack'] = 'updateRackDesign';
69$ophandler['rack']['problems']['updateRack'] = 'updateRackProblems';
7056988c 70$ophandler['rack']['edit']['updateRack'] = 'updateRack';
c8187437 71$ophandler['rack']['edit']['deleteRack'] = 'deleteRack';
3355ca56 72$ophandler['rack']['tags']['saveTags'] = 'saveEntityTags';
e1ae3fb4 73$ophandler['rack']['files']['addFile'] = 'addFileToEntity';
e1ae3fb4
AD
74$ophandler['rack']['files']['linkFile'] = 'linkFileToEntity';
75$ophandler['rack']['files']['unlinkFile'] = 'unlinkFile';
e673ee24 76
e673ee24 77$page['object']['bypass'] = 'object_id';
3bebaebd 78$page['object']['bypass_type'] = 'uint';
341fd895 79$page['object']['parent'] = 'depot';
e673ee24
DO
80$tab['object']['default'] = 'View';
81$tab['object']['edit'] = 'Properties';
82$tab['object']['rackspace'] = 'Rackspace';
83$tab['object']['ports'] = 'Ports';
72d8ced3
DO
84$tab['object']['ipv4'] = 'IPv4';
85$tab['object']['nat4'] = 'NATv4';
46f92ff7 86$tab['object']['livevlans'] = 'Live VLANs';
9c67f713 87$tab['object']['snmpportfinder'] = 'SNMP port finder';
0dfaea8e 88$tab['object']['editrspvs'] = 'RS pools';
a0527aef 89$tab['object']['lvsconfig'] = 'keepalived.conf';
118e4c38 90$tab['object']['autoports'] = 'AutoPorts';
2fb24351 91$tab['object']['tags'] = 'Tags';
e1ae3fb4 92$tab['object']['files'] = 'Files';
e45a78d7
DO
93$tabhandler['object']['default'] = 'renderRackObject';
94$tabhandler['object']['edit'] = 'renderEditObjectForm';
95$tabhandler['object']['rackspace'] = 'renderRackSpaceForObject';
96$tabhandler['object']['ports'] = 'renderPortsForObject';
72d8ced3
DO
97$tabhandler['object']['ipv4'] = 'renderIPv4ForObject';
98$tabhandler['object']['nat4'] = 'renderNATv4ForObject';
46f92ff7 99$tabhandler['object']['livevlans'] = 'renderVLANMembership';
e45a78d7 100$tabhandler['object']['snmpportfinder'] = 'renderSNMPPortFinder';
3ee1252b 101$tabhandler['object']['lvsconfig'] = 'renderLVSConfig';
118e4c38 102$tabhandler['object']['autoports'] = 'renderAutoPortsForm';
482c7f35
DO
103$tabhandler['object']['tags'] = 'renderEntityTags';
104$tabhandler['object']['files'] = 'renderFilesForEntity';
0dfaea8e 105$tabhandler['object']['editrspvs'] = 'renderObjectSLB';
c0a322d1 106$trigger['object']['rackspace'] = 'trigger_rackspace';
72d8ced3
DO
107$trigger['object']['ipv4'] = 'trigger_ipv4';
108$trigger['object']['nat4'] = 'trigger_natv4';
46f92ff7 109$trigger['object']['livevlans'] = 'trigger_livevlans';
9c67f713 110$trigger['object']['snmpportfinder'] = 'trigger_snmpportfinder';
a0527aef
DO
111$trigger['object']['editrspvs'] = 'trigger_isloadbalancer';
112$trigger['object']['lvsconfig'] = 'trigger_isloadbalancer';
118e4c38 113$trigger['object']['autoports'] = 'trigger_autoports';
91dbb8a3 114$trigger['object']['tags'] = 'trigger_tags';
4fbb5a00 115$ophandler['object']['rackspace']['updateObjectAllocation'] = 'updateObjectAllocation';
e673ee24
DO
116$ophandler['object']['ports']['addPort'] = 'addPortForObject';
117$ophandler['object']['ports']['delPort'] = 'delPortFromObject';
118$ophandler['object']['ports']['editPort'] = 'editPortForObject';
119$ophandler['object']['ports']['linkPort'] = 'linkPortForObject';
120$ophandler['object']['ports']['unlinkPort'] = 'unlinkPortForObject';
121$ophandler['object']['ports']['addMultiPorts'] = 'addMultiPorts';
122$ophandler['object']['ports']['useup'] = 'useupPort';
72d8ced3
DO
123$ophandler['object']['ipv4']['updIPv4Allocation'] = 'updIPv4Allocation';
124$ophandler['object']['ipv4']['addIPv4Allocation'] = 'addIPv4Allocation';
125$ophandler['object']['ipv4']['delIPv4Allocation'] = 'delIPv4Allocation';
22bb04da 126$ophandler['object']['edit']['clearSticker'] = 'clearSticker';
22bb04da 127$ophandler['object']['edit']['update'] = 'updateObject';
72d8ced3
DO
128$ophandler['object']['nat4']['addNATv4Rule'] = 'addPortForwarding';
129$ophandler['object']['nat4']['delNATv4Rule'] = 'delPortForwarding';
130$ophandler['object']['nat4']['updNATv4Rule'] = 'updPortForwarding';
46f92ff7 131$ophandler['object']['livevlans']['setPortVLAN'] = 'setPortVLAN';
f3f0161f 132$ophandler['object']['autoports']['generate'] = 'generateAutoPorts';
3355ca56 133$ophandler['object']['tags']['saveTags'] = 'saveEntityTags';
e1ae3fb4 134$ophandler['object']['files']['addFile'] = 'addFileToEntity';
e1ae3fb4
AD
135$ophandler['object']['files']['linkFile'] = 'linkFileToEntity';
136$ophandler['object']['files']['unlinkFile'] = 'unlinkFile';
0dfaea8e
DO
137$ophandler['object']['editrspvs']['addLB'] = 'addLoadBalancer';
138$ophandler['object']['editrspvs']['delLB'] = 'deleteLoadBalancer';
139$ophandler['object']['editrspvs']['updLB'] = 'updateLoadBalancer';
2987fc1f 140$ophandler['object']['lvsconfig']['submitSLBConfig'] = 'submitSLBConfig';
7056988c 141$ophandler['object']['snmpportfinder']['querySNMPData'] = 'querySNMPData';
46f92ff7 142$delayauth['object']['livevlans']['setPortVLAN'] = TRUE;
e673ee24 143
eebf9145 144$page['ipv4space']['title'] = 'IPv4 space';
e673ee24
DO
145$page['ipv4space']['parent'] = 'index';
146$tab['ipv4space']['default'] = 'Browse';
0bcdc163 147$tab['ipv4space']['newrange'] = 'Manage';
04d619d0
DO
148$tabhandler['ipv4space']['default'] = 'renderIPv4Space';
149$tabhandler['ipv4space']['newrange'] = 'renderIPv4SpaceEditor';
42023f03
DO
150$ophandler['ipv4space']['newrange']['addIPv4Prefix'] = 'addIPv4Prefix';
151$ophandler['ipv4space']['newrange']['delIPv4Prefix'] = 'delIPv4Prefix';
e673ee24 152
e1ae3fb4
AD
153$page['ipv4net']['parent'] = 'ipv4space';
154$page['ipv4net']['bypass'] = 'id';
155$page['ipv4net']['bypass_type'] = 'uint';
e1ae3fb4
AD
156$tab['ipv4net']['default'] = 'Browse';
157$tab['ipv4net']['properties'] = 'Properties';
158$tab['ipv4net']['liveptr'] = 'Live PTR';
159$tab['ipv4net']['tags'] = 'Tags';
160$tab['ipv4net']['files'] = 'Files';
161$tabhandler['ipv4net']['default'] = 'renderIPv4Network';
162$tabhandler['ipv4net']['properties'] = 'renderIPv4NetworkProperties';
163$tabhandler['ipv4net']['liveptr'] = 'renderLivePTR';
482c7f35
DO
164$tabhandler['ipv4net']['tags'] = 'renderEntityTags';
165$tabhandler['ipv4net']['files'] = 'renderFilesForEntity';
e1ae3fb4
AD
166$trigger['ipv4net']['tags'] = 'trigger_tags';
167$ophandler['ipv4net']['properties']['editRange'] = 'updIPv4Prefix';
168$ophandler['ipv4net']['liveptr']['importPTRData'] = 'importPTRData';
169$ophandler['ipv4net']['tags']['saveTags'] = 'saveEntityTags';
170$ophandler['ipv4net']['files']['addFile'] = 'addFileToEntity';
e1ae3fb4
AD
171$ophandler['ipv4net']['files']['linkFile'] = 'linkFileToEntity';
172$ophandler['ipv4net']['files']['unlinkFile'] = 'unlinkFile';
e673ee24 173
e1ae3fb4 174$page['ipaddress']['parent'] = 'ipv4net';
e673ee24 175$page['ipaddress']['bypass'] = 'ip';
1fbc9fd6 176$page['ipaddress']['bypass_type'] = 'inet4';
e673ee24
DO
177$tab['ipaddress']['default'] = 'Browse';
178$tab['ipaddress']['properties'] = 'Properties';
179$tab['ipaddress']['assignment'] = 'Allocation';
2d318652
DO
180$tabhandler['ipaddress']['default'] = 'renderIPv4Address';
181$tabhandler['ipaddress']['properties'] = 'renderIPv4AddressProperties';
182$tabhandler['ipaddress']['assignment'] = 'renderIPv4AddressAllocations';
e673ee24 183$ophandler['ipaddress']['properties']['editAddress'] = 'editAddress';
b4c1ef87
DO
184$ophandler['ipaddress']['assignment']['delIPv4Allocation'] = 'delIPv4Allocation';
185$ophandler['ipaddress']['assignment']['updIPv4Allocation'] = 'updIPv4Allocation';
186$ophandler['ipaddress']['assignment']['addIPv4Allocation'] = 'addIPv4Allocation';
e673ee24 187
f973f491
DO
188$page['ipv4slb']['title'] = 'IPv4 SLB';
189$page['ipv4slb']['parent'] = 'index';
190$page['ipv4slb']['handler'] = 'renderIPv4SLB';
191
a239e016
DO
192$page['ipv4vslist']['title'] = 'Virtual services';
193$page['ipv4vslist']['parent'] = 'ipv4slb';
194$tab['ipv4vslist']['default'] = 'View';
195$tab['ipv4vslist']['edit'] = 'Edit';
196$tabhandler['ipv4vslist']['default'] = 'renderVSList';
197$tabhandler['ipv4vslist']['edit'] = 'renderVSListEditForm';
198$ophandler['ipv4vslist']['edit']['add'] = 'addVService';
199$ophandler['ipv4vslist']['edit']['del'] = 'deleteVService';
200$ophandler['ipv4vslist']['edit']['upd'] = 'updateVService';
b3c50e6c 201
2bb798a3 202$page['ipv4vs']['parent'] = 'ipv4vslist';
49fb2686 203$page['ipv4vs']['bypass'] = 'vs_id';
2bb798a3 204$page['ipv4vs']['bypass_type'] = 'uint';
2bb798a3 205$tab['ipv4vs']['default'] = 'View';
c9890988 206$tab['ipv4vs']['edit'] = 'Edit';
49fb2686 207$tab['ipv4vs']['editlblist'] = 'Load balancers';
2bb798a3 208$tab['ipv4vs']['tags'] = 'Tags';
e1ae3fb4 209$tab['ipv4vs']['files'] = 'Files';
2bb798a3
DO
210$tabhandler['ipv4vs']['default'] = 'renderVirtualService';
211$tabhandler['ipv4vs']['edit'] = 'renderEditVService';
49fb2686 212$tabhandler['ipv4vs']['editlblist'] = 'renderVServiceLBForm';
482c7f35
DO
213$tabhandler['ipv4vs']['tags'] = 'renderEntityTags';
214$tabhandler['ipv4vs']['files'] = 'renderFilesForEntity';
e1ae3fb4 215$trigger['ipv4vs']['tags'] = 'trigger_tags';
e02e1941 216$ophandler['ipv4vs']['edit']['updIPv4VS'] = 'updateVService';
49fb2686
DO
217$ophandler['ipv4vs']['editlblist']['addLB'] = 'addLoadBalancer';
218$ophandler['ipv4vs']['editlblist']['delLB'] = 'deleteLoadBalancer';
219$ophandler['ipv4vs']['editlblist']['updLB'] = 'updateLoadBalancer';
e1ae3fb4
AD
220$ophandler['ipv4vs']['tags']['saveTags'] = 'saveEntityTags';
221$ophandler['ipv4vs']['files']['addFile'] = 'addFileToEntity';
e1ae3fb4
AD
222$ophandler['ipv4vs']['files']['linkFile'] = 'linkFileToEntity';
223$ophandler['ipv4vs']['files']['unlinkFile'] = 'unlinkFile';
c9b4588f 224
ee437dab
DO
225$page['ipv4rsplist']['title'] = 'RS pools';
226$page['ipv4rsplist']['parent'] = 'ipv4slb';
227$tab['ipv4rsplist']['default'] = 'View';
228$tab['ipv4rsplist']['edit'] = 'Edit';
229$tabhandler['ipv4rsplist']['default'] = 'renderRSPoolList';
230$tabhandler['ipv4rsplist']['edit'] = 'editRSPools';
231$ophandler['ipv4rsplist']['edit']['add'] = 'addRSPool';
232$ophandler['ipv4rsplist']['edit']['del'] = 'deleteRSPool';
233$ophandler['ipv4rsplist']['edit']['upd'] = 'updateRSPool';
e1ae3fb4 234
e1ae3fb4
AD
235$page['ipv4rspool']['parent'] = 'ipv4rsplist';
236$page['ipv4rspool']['bypass'] = 'pool_id';
237$page['ipv4rspool']['bypass_type'] = 'uint';
e1ae3fb4
AD
238$tab['ipv4rspool']['default'] = 'View';
239$tab['ipv4rspool']['edit'] = 'Edit';
4a04bcb1 240$tab['ipv4rspool']['editlblist'] = 'Load balancers';
e1ae3fb4
AD
241$tab['ipv4rspool']['editrslist'] = 'RS list';
242$tab['ipv4rspool']['rsinservice'] = 'RS in service';
243$tab['ipv4rspool']['tags'] = 'Tags';
244$tab['ipv4rspool']['files'] = 'Files';
245$trigger['ipv4rspool']['rsinservice'] = 'trigger_poolrscount';
246$trigger['ipv4rspool']['tags'] = 'trigger_tags';
247$tabhandler['ipv4rspool']['default'] = 'renderRSPool';
248$tabhandler['ipv4rspool']['edit'] = 'renderEditRSPool';
249$tabhandler['ipv4rspool']['editrslist'] = 'renderRSPoolServerForm';
250$tabhandler['ipv4rspool']['editlblist'] = 'renderRSPoolLBForm';
251$tabhandler['ipv4rspool']['rsinservice'] = 'renderRSPoolRSInServiceForm';
482c7f35
DO
252$tabhandler['ipv4rspool']['tags'] = 'renderEntityTags';
253$tabhandler['ipv4rspool']['files'] = 'renderFilesForEntity';
e1ae3fb4
AD
254$ophandler['ipv4rspool']['edit']['updIPv4RSP'] = 'updateRSPool';
255$ophandler['ipv4rspool']['editrslist']['addRS'] = 'addRealServer';
256$ophandler['ipv4rspool']['editrslist']['delRS'] = 'deleteRealServer';
257$ophandler['ipv4rspool']['editrslist']['updRS'] = 'updateRealServer';
258$ophandler['ipv4rspool']['editrslist']['addMany'] = 'addRealServers';
259$ophandler['ipv4rspool']['editlblist']['addLB'] = 'addLoadBalancer';
260$ophandler['ipv4rspool']['editlblist']['delLB'] = 'deleteLoadBalancer';
261$ophandler['ipv4rspool']['editlblist']['updLB'] = 'updateLoadBalancer';
262$ophandler['ipv4rspool']['rsinservice']['upd'] = 'updateRSInService';
263$ophandler['ipv4rspool']['tags']['saveTags'] = 'saveEntityTags';
264$ophandler['ipv4rspool']['files']['addFile'] = 'addFileToEntity';
e1ae3fb4
AD
265$ophandler['ipv4rspool']['files']['linkFile'] = 'linkFileToEntity';
266$ophandler['ipv4rspool']['files']['unlinkFile'] = 'unlinkFile';
71b8bda1 267
8253d9f0 268$page['rservers']['title'] = 'Real servers';
f973f491 269$page['rservers']['parent'] = 'ipv4slb';
8253d9f0 270$page['rservers']['handler'] = 'renderRealServerList';
b3c50e6c 271
4b0932b6 272$page['lbs']['title'] = 'Load balancers';
f973f491 273$page['lbs']['parent'] = 'ipv4slb';
4b0932b6 274$page['lbs']['handler'] = 'renderLBList';
b3c50e6c 275
3aeb15f3 276$page['search']['handler'] = 'renderSearchResults';
e673ee24
DO
277$page['search']['parent'] = 'index';
278$page['search']['bypass'] = 'q';
279
eebf9145 280$page['config']['title'] = 'Configuration';
3aeb15f3 281$page['config']['handler'] = 'renderConfigMainpage';
e673ee24
DO
282$page['config']['parent'] = 'index';
283
9133d2c5 284$page['userlist']['title'] = 'Local users';
82627005
DO
285$page['userlist']['parent'] = 'config';
286$tab['userlist']['default'] = 'View';
287$tab['userlist']['edit'] = 'Edit';
288$tabhandler['userlist']['default'] = 'renderUserList';
289$tabhandler['userlist']['edit'] = 'renderUserListEditor';
290$ophandler['userlist']['edit']['updateUser'] = 'updateUser';
291$ophandler['userlist']['edit']['createUser'] = 'createUser';
82627005 292
82627005
DO
293$page['user']['parent'] = 'userlist';
294$page['user']['bypass'] = 'user_id';
295$page['user']['bypass_type'] = 'uint';
82627005 296$tab['user']['default'] = 'View';
82627005 297$tab['user']['tags'] = 'Tags';
e1ae3fb4 298$tab['user']['files'] = 'Files';
82627005 299$tabhandler['user']['default'] = 'renderUser';
482c7f35
DO
300$tabhandler['user']['tags'] = 'renderEntityTags';
301$tabhandler['user']['files'] = 'renderFilesForEntity';
3355ca56 302$ophandler['user']['tags']['saveTags'] = 'saveEntityTags';
e1ae3fb4 303$ophandler['user']['files']['addFile'] = 'addFileToEntity';
e1ae3fb4
AD
304$ophandler['user']['files']['linkFile'] = 'linkFileToEntity';
305$ophandler['user']['files']['unlinkFile'] = 'unlinkFile';
e673ee24 306
eebf9145 307$page['perms']['title'] = 'Permissions';
e673ee24
DO
308$page['perms']['parent'] = 'config';
309$tab['perms']['default'] = 'View';
82627005
DO
310$tab['perms']['edit'] = 'Edit';
311$tabhandler['perms']['default'] = 'renderRackCodeViewer';
312$tabhandler['perms']['edit'] = 'renderRackCodeEditor';
313$ophandler['perms']['edit']['saveRackCode'] = 'saveRackCode';
e673ee24 314
eebf9145 315$page['portmap']['title'] = 'Port compatibility map';
e673ee24
DO
316$page['portmap']['parent'] = 'config';
317$tab['portmap']['default'] = 'View';
318$tab['portmap']['edit'] = 'Change';
17c32f4c
DO
319$tabhandler['portmap']['default'] = 'renderPortMapViewer';
320$tabhandler['portmap']['edit'] = 'renderPortMapEditor';
e673ee24
DO
321$ophandler['portmap']['edit']['save'] = 'savePortMap';
322
eebf9145 323$page['attrs']['title'] = 'Attributes';
e673ee24
DO
324$page['attrs']['parent'] = 'config';
325$tab['attrs']['default'] = 'View';
326$tab['attrs']['editattrs'] = 'Edit attributes';
327$tab['attrs']['editmap'] = 'Edit map';
8b6ffe9c
DO
328$tabhandler['attrs']['default'] = 'renderAttributes';
329$tabhandler['attrs']['editattrs'] = 'renderEditAttributesForm';
330$tabhandler['attrs']['editmap'] = 'renderEditAttrMapForm';
e673ee24
DO
331$ophandler['attrs']['editattrs']['add'] = 'createAttribute';
332$ophandler['attrs']['editattrs']['upd'] = 'changeAttribute';
333$ophandler['attrs']['editattrs']['del'] = 'deleteAttribute';
334$ophandler['attrs']['editmap']['add'] = 'supplementAttrMap';
335$ophandler['attrs']['editmap']['del'] = 'reduceAttrMap';
336
eebf9145 337$page['dict']['title'] = 'Dictionary';
e673ee24
DO
338$page['dict']['parent'] = 'config';
339$tab['dict']['default'] = 'View';
e673ee24 340$tab['dict']['chapters'] = 'Manage chapters';
8b6ffe9c 341$tabhandler['dict']['default'] = 'renderDictionary';
8b6ffe9c 342$tabhandler['dict']['chapters'] = 'renderChaptersEditor';
e673ee24
DO
343$ophandler['dict']['chapters']['del'] = 'delChapter';
344$ophandler['dict']['chapters']['upd'] = 'updateChapter';
345$ophandler['dict']['chapters']['add'] = 'addChapter';
346
4034ab9e
DO
347$page['chapter']['parent'] = 'dict';
348$page['chapter']['bypass'] = 'chapter_no';
349$page['chapter']['bypass_type'] = 'uint';
350$tab['chapter']['default'] = 'View';
351$tab['chapter']['edit'] = 'Edit';
352$tabhandler['chapter']['default'] = 'renderChapter';
353$tabhandler['chapter']['edit'] = 'renderChapterEditor';
354$ophandler['chapter']['edit']['del'] = 'reduceDictionary';
355$ophandler['chapter']['edit']['upd'] = 'updateDictionary';
356$ophandler['chapter']['edit']['add'] = 'supplementDictionary';
4034ab9e 357
eebf9145 358$page['ui']['title'] = 'User interface';
e673ee24 359$page['ui']['parent'] = 'config';
0a1b1268 360$tab['ui']['default'] = 'View';
4fe32e78 361$tab['ui']['edit'] = 'Change';
b07f617c 362$tab['ui']['reset'] = 'Reset';
8b6ffe9c
DO
363$tabhandler['ui']['default'] = 'renderUIConfig';
364$tabhandler['ui']['edit'] = 'renderUIConfigEditForm';
365$tabhandler['ui']['reset'] = 'renderUIResetForm';
4fe32e78 366$ophandler['ui']['edit']['upd'] = 'updateUI';
b07f617c 367$ophandler['ui']['reset']['go'] = 'resetUIConfig';
e673ee24 368
931bf334
DO
369$page['tagtree']['title'] = 'Tag tree';
370$page['tagtree']['parent'] = 'config';
371$tab['tagtree']['default'] = 'View';
49fb1027 372$tab['tagtree']['edit'] = 'Edit';
931bf334
DO
373$tabhandler['tagtree']['default'] = 'renderTagTree';
374$tabhandler['tagtree']['edit'] = 'renderTagTreeEditor';
fe7044ad
DO
375$ophandler['tagtree']['edit']['destroyTag'] = 'destroyTag';
376$ophandler['tagtree']['edit']['createTag'] = 'createTag';
377$ophandler['tagtree']['edit']['updateTag'] = 'updateTag';
931bf334 378
9457ca59
DO
379$page['myaccount']['title'] = 'My account';
380$page['myaccount']['parent'] = 'config';
381$tab['myaccount']['default'] = 'Info';
0ac7e4b3
DO
382$tab['myaccount']['mypassword'] = 'Password change';
383$tab['myaccount']['myrealname'] = '[Real name change]';
384$trigger['myaccount']['mypassword'] = 'trigger_passwdchange';
9457ca59
DO
385$tabhandler['myaccount']['default'] = 'renderMyAccount';
386$tabhandler['myaccount']['mypassword'] = 'renderMyPasswordEditor';
0ac7e4b3 387$tabhandler['myaccount']['myrealname'] = 'dragon';
9457ca59
DO
388$ophandler['myaccount']['mypassword']['changeMyPassword'] = 'changeMyPassword';
389
eebf9145 390$page['reports']['title'] = 'Reports';
e673ee24 391$page['reports']['parent'] = 'index';
e5c4506d 392$tab['reports']['default'] = 'System';
88d513cd 393$tab['reports']['rackcode'] = 'RackCode';
09620506 394$tab['reports']['ipv4'] = 'IPv4';
09f6104a 395$tab['reports']['local'] = getConfigVar ('enterprise');
e5c4506d
DO
396$trigger['reports']['local'] = 'trigger_localreports';
397$tabhandler['reports']['default'] = 'renderSystemReports';
88d513cd 398$tabhandler['reports']['rackcode'] = 'renderRackCodeReports';
09620506 399$tabhandler['reports']['ipv4'] = 'renderIPv4Reports';
e5c4506d 400$tabhandler['reports']['local'] = 'renderLocalReports';
e673ee24 401
e1ae3fb4
AD
402$page['files']['title'] = 'Files';
403$page['files']['parent'] = 'index';
8bc5d1e4
DO
404$tab['files']['default'] = 'Browse';
405$tab['files']['manage'] = 'Manage';
406$tabhandler['files']['default'] = 'renderFileBrowser';
407$tabhandler['files']['manage'] = 'renderFileManager';
408$ophandler['files']['manage']['addFile'] = 'addFileWithoutLink';
409$ophandler['files']['manage']['unlinkFile'] = 'unlinkFile';
71118db6 410$ophandler['files']['manage']['deleteFile'] = 'deleteFile';
e1ae3fb4 411
e1ae3fb4
AD
412$page['file']['bypass'] = 'file_id';
413$page['file']['bypass_type'] = 'uint';
f4d879a9 414$page['file']['parent'] = 'files';
e1ae3fb4 415$tab['file']['default'] = 'View';
6ee41bd4 416$tab['file']['edit'] = 'Properties';
e1ae3fb4 417$tab['file']['tags'] = 'Tags';
8628ae44 418$tab['file']['editText'] = 'Edit text';
db55cf54 419$tab['file']['replaceData'] = 'Upload replacement';
e1ae3fb4 420$trigger['file']['tags'] = 'trigger_tags';
8628ae44 421$trigger['file']['editText'] = 'trigger_file_editText';
e1ae3fb4 422$tabhandler['file']['default'] = 'renderFile';
6ee41bd4
DO
423$tabhandler['file']['edit'] = 'renderFileProperties';
424$tabhandler['file']['tags'] = 'renderEntityTags';
8628ae44 425$tabhandler['file']['editText'] = 'renderTextEditor';
db55cf54 426$tabhandler['file']['replaceData'] = 'renderFileReuploader';
6ee41bd4 427$ophandler['file']['edit']['updateFile'] = 'updateFile';
e1ae3fb4 428$ophandler['file']['tags']['saveTags'] = 'saveEntityTags';
8628ae44 429$ophandler['file']['editText']['updateFileText'] = 'updateFileText';
db55cf54 430$ophandler['file']['replaceData']['replaceFile'] = 'replaceFile';
e1ae3fb4 431
e673ee24 432?>