r1137 + added and registered a picture for help indicator
[racktables] / inc / config.php
CommitLineData
e673ee24
DO
1<?
2/*
3*
4* This is RackTables public configuration file.
5*
6*/
7
8$enterprise = 'MyCompanyName';
9// This is the name of hash used to store account password hashes in the database.
10define ('PASSWORD_HASH', 'sha1');
11define ('VERSION', '0.14.6');
12
13$rtwidth[0] = 9;
14$rtwidth[1] = 21;
15$rtwidth[2] = 9;
16
17// Free atoms. They are available for allocation to objects.
18// They are not stored in the database.
19// HSV: 180-25-75
20$color['F'] = '8fbfbf';
21
22// Absent atoms.
23// HSV: 0-0-75
24$color['A'] = 'bfbfbf';
25
26// Unusable atoms. Some problems keep them to be 'F'.
27// HSV: 0-25-75
28$color['U'] = 'bf8f8f';
29
30// Taken atoms. object_id should be present then.
31// HSV: 180-50-50
32$color['T'] = '408080';
33
34// Taken atoms with highlight. They are not stored in the database and
35// are only used for highlighting.
36// HSV: 180-50-100
37$color['Th'] = '80ffff';
38
39// Taken atoms with object problem. This is detected at runtime.
40// HSV: 0-50-50
41$color['Tw'] = '804040';
42
43// An object can be both current and problematic. We run highlightObject() first
44// and markupObjectProblems() second.
45// HSV: 0-50-100
46$color['Thw'] = 'ff8080';
47
48$nextorder['odd'] = 'even';
49$nextorder['even'] = 'odd';
50
51// Taken from the database, RJ-45/100Base-TX
52$default_port_type = 6;
53
54// Number of lines in object mass-adding form.
55define ('MASSCOUNT', 15);
56define ('MAXSELSIZE', 30);
57
58// FIXME: This is taken right from the database.
59define ('TYPE_SERVER', 4);
60define ('TYPE_SWITCH', 8);
61define ('TYPE_ROUTER', 7);
62
63// Row-scope picture scale factor.
64define ('ROW_SCALE', 2);
65
75d3818d
DO
66// Max switch port per one row on the switchvlans dynamic tab.
67define ('PORTS_PER_ROW', 12);
68
e673ee24
DO
69// New-style image declarations.
70$image['error']['path'] = 'pix/error.png';
71$image['error']['width'] = 76;
72$image['error']['height'] = 17;
73$image['favicon']['path'] = 'pix/racktables.ico';
74$image['favicon']['width'] = 16;
75$image['favicon']['height'] = 16;
76$image['logo']['path'] = 'pix/defaultlogo.png';
77$image['logo']['width'] = 210;
78$image['logo']['height'] = 40;
79$image['rackspace']['path'] = 'pix/racks.png';
80$image['rackspace']['width'] = 218;
81$image['rackspace']['height'] = 200;
82$image['objects']['path'] = 'pix/server.png';
83$image['objects']['width'] = 218;
84$image['objects']['height'] = 200;
85$image['ipv4space']['path'] = 'pix/addressspace.png';
86$image['ipv4space']['width'] = 218;
87$image['ipv4space']['height'] = 200;
88$image['config']['path'] = 'pix/configuration.png';
89$image['config']['width'] = 218;
90$image['config']['height'] = 200;
91$image['reports']['path'] = 'pix/report.png';
92$image['reports']['width'] = 218;
93$image['reports']['height'] = 200;
ae545907
DO
94$image['help']['path'] = 'pix/help.png';
95$image['help']['width'] = 218;
96$image['help']['height'] = 200;
e673ee24
DO
97$image['reserve']['path'] = 'pix/stop.png';
98$image['reserve']['width'] = 16;
99$image['reserve']['height'] = 16;
100$image['useup']['path'] = 'pix/go.png';
101$image['useup']['width'] = 16;
102$image['useup']['height'] = 16;
103$image['blockuser'] = $image['reserve'];
104$image['unblockuser'] = $image['useup'];
105$image['link']['path'] = 'pix/link.png';
106$image['link']['width'] = 24;
107$image['link']['height'] = 24;
108$image['unlink']['path'] = 'pix/unlink.png';
109$image['unlink']['width'] = 24;
110$image['unlink']['height'] = 24;
111$image['add']['path'] = 'pix/greenplus.png';
112$image['add']['width'] = 16;
113$image['add']['height'] = 16;
114$image['delete']['path'] = 'pix/delete_s.gif';
115$image['delete']['width'] = 16;
116$image['delete']['height'] = 16;
117$image['grant'] = $image['add'];
118$image['revoke'] = $image['delete'];
5a3affbb
DO
119$image['helphint']['path'] = 'pix/helphint.png';
120$image['helphint']['width'] = 24;
121$image['helphint']['height'] = 24;
e673ee24
DO
122
123?>