r1174 + added a reference to the original source and license
[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 69?>