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-08-30 21:48:45 +04:00
|
|
|
'Mountain View', 'San Francisco', 'Auckland', 'Beijing', 'Denmark', 'Paris',
|
|
|
|
'Toronto', 'Tokyo', '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)',
|
|
|
|
'XL (f)',
|
|
|
|
'XXL (F)',
|
|
|
|
'XXXL (F)'
|
|
|
|
);
|