[2] | 1 | <?php |
---|
| 2 | /***************************************************************************\ |
---|
| 3 | * eGroupWare - Contacts Center * |
---|
| 4 | * http://www.egroupware.org * |
---|
| 5 | * Written by: * |
---|
| 6 | * - Raphael Derosso Pereira <raphaelpereira@users.sourceforge.net> * |
---|
| 7 | * - Jonas Goes <jqhcb@users.sourceforge.net> * |
---|
| 8 | * - Nilton Emilio Buhrer Neto <nilton.neto@gmail.com> * |
---|
| 9 | * sponsored by Thyamad - http://www.thyamad.com * |
---|
| 10 | * ------------------------------------------------------------------------- * |
---|
| 11 | * This program is free software; you can redistribute it and/or modify it * |
---|
| 12 | * under the terms of the GNU General Public License as published by the * |
---|
| 13 | * Free Software Foundation; either version 2 of the License, or (at your * |
---|
| 14 | * option) any later version. * |
---|
| 15 | \***************************************************************************/ |
---|
[5097] | 16 | /* Default Preference */ |
---|
| 17 | $oProc->query("insert into phpgw_preferences(preference_owner, preference_app, preference_value) ". |
---|
| 18 | "values('-1', 'contactcenter', 'a:7:{s:6:\"empNum\";s:1:\"0\";s:4:\"cell\";s:1:\"0\";s:10:\"department\";s:1:\"0\";". |
---|
| 19 | "s:15:\"personCardEmail\";s:1:\"1\";s:15:\"personCardPhone\";s:1:\"2\";s:23:\"displayConnectorDefault\";". |
---|
| 20 | "s:1:\"1\";s:16:\"displayConnector\";s:1:\"1\";}');"); |
---|
| 21 | |
---|
[2] | 22 | /* Default Contact Center Data */ |
---|
| 23 | $oProc->query("insert into phpgw_cc_typeof_ct_conns (id_typeof_contact_connection,contact_connection_type_name) values(1,'Email')"); |
---|
| 24 | $oProc->query("insert into phpgw_cc_typeof_ct_conns (id_typeof_contact_connection,contact_connection_type_name) values(2,'Telefone')"); |
---|
| 25 | $oProc->query("insert into phpgw_cc_typeof_ct_addrs (id_typeof_contact_address,contact_address_type_name) values(1,'Comercial')"); |
---|
| 26 | $oProc->query("insert into phpgw_cc_typeof_ct_addrs (id_typeof_contact_address,contact_address_type_name) values(2,'Residencial')"); |
---|
| 27 | |
---|
| 28 | // Populate brazilian database. |
---|
| 29 | include("states_pt-br.inc.php"); |
---|
| 30 | include("cities_pt-br.inc.php"); |
---|