phonebook/constants.php

48 строки
1.0 KiB
PHP
Исходник Обычный вид История

<?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(
'cn', 'title', 'telephoneNumber', 'mobile', 'description', 'manager',
'other', 'im', 'mail', 'emailAlias', 'physicalDeliveryOfficeName',
'employeeType', 'isManager', 'bugzillaEmail', 'shirtsize'
);
$office_cities = array(
'Mountain View', 'San Francisco', 'Auckland', 'Beijing', 'Denmark', 'Paris',
'Toronto', 'Tokyo', 'Other'
);
$protocol = isset($_SERVER["HTTPS"]) ? "https://" : "http://";
define("BASEPATH", $protocol . $_SERVER["HTTP_HOST"] . dirname($_SERVER["REQUEST_URI"]) .'/');
$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)'
);