2009-07-29 05:51:51 +04:00
|
|
|
<?php
|
|
|
|
$orgs = array (
|
|
|
|
'C' => "Mozilla Corporation",
|
|
|
|
'F' => "Mozilla Foundation",
|
|
|
|
'J' => "Mozilla Japan",
|
|
|
|
'M' => "Mozilla Messaging",
|
|
|
|
'O' => "Mozilla Online",
|
|
|
|
'D' => "DISABLED"
|
|
|
|
);
|
|
|
|
|
|
|
|
$emp_type = array (
|
|
|
|
'E' => "Employee",
|
|
|
|
'C' => "Contractor",
|
|
|
|
'I' => "Intern",
|
|
|
|
'D' => "DISABLED"
|
|
|
|
);
|
|
|
|
|
|
|
|
$editable_fields = array(
|
2009-09-05 22:56:42 +04:00
|
|
|
'cn', 'title', 'telephoneNumber', 'mobile', 'description', 'manager',
|
|
|
|
'other', 'im', 'mail', 'emailAlias', 'physicalDeliveryOfficeName',
|
2011-09-02 03:24:11 +04:00
|
|
|
'employeeType', 'isManager', 'bugzillaEmail', 'shirtsize'
|
2009-07-29 05:51:51 +04:00
|
|
|
);
|
|
|
|
|
|
|
|
$office_cities = array(
|
2011-10-03 18:35:21 +04:00
|
|
|
'Mountain View' => 'US',
|
|
|
|
'San Francisco' => 'US',
|
|
|
|
'Auckland' => 'NZ',
|
|
|
|
'Beijing' => 'CN',
|
2011-10-05 00:48:47 +04:00
|
|
|
'Copenhagen' => 'DK',
|
|
|
|
'London' => 'GB',
|
2011-10-03 18:35:21 +04:00
|
|
|
'Paris' => 'FR',
|
|
|
|
'Tokyo' => 'JP',
|
2011-10-05 00:48:47 +04:00
|
|
|
'Toronto' => 'CA',
|
|
|
|
'Vancouver' => 'CA',
|
2011-10-03 18:35:21 +04:00
|
|
|
'Other' => 'Other'
|
2009-07-29 05:51:51 +04:00
|
|
|
);
|
|
|
|
|
|
|
|
$protocol = isset($_SERVER["HTTPS"]) ? "https://" : "http://";
|
|
|
|
define("BASEPATH", $protocol . $_SERVER["HTTP_HOST"] . dirname($_SERVER["REQUEST_URI"]) .'/');
|
|
|
|
|
2011-09-02 03:24:11 +04:00
|
|
|
$shirt_sizes = array(
|
|
|
|
'XS (M)',
|
|
|
|
'S (M)',
|
|
|
|
'M (M)',
|
|
|
|
'L (M)',
|
|
|
|
'XL (M)',
|
|
|
|
'XXL (M)',
|
|
|
|
'XXXL (M)',
|
|
|
|
'XS (F)',
|
|
|
|
'S (MF)',
|
|
|
|
'M (F)',
|
|
|
|
'L (F)',
|
2011-10-05 00:48:43 +04:00
|
|
|
'XL (F)',
|
2011-09-02 03:24:11 +04:00
|
|
|
'XXL (F)',
|
|
|
|
'XXXL (F)'
|
|
|
|
);
|
2011-10-05 02:54:51 +04:00
|
|
|
|
|
|
|
// Valid output formats. Must correspond to an output-{something}.inc file.
|
|
|
|
$output_formats = array(
|
|
|
|
'autocomplete',
|
|
|
|
'csv',
|
|
|
|
'fligtar',
|
|
|
|
'html',
|
|
|
|
'json',
|
|
|
|
'vcard',
|
|
|
|
);
|