phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] phpgwapi/setup default_records.inc.php, 1.4.2.6.2.4,


From: Dave Hall <address@hidden>
Subject: [Phpgroupware-cvs] phpgwapi/setup default_records.inc.php, 1.4.2.6.2.4, 1.4.2.6.2.5
Date: Thu, 16 Oct 2003 00:37:06 +0000

Update of /cvsroot/phpgroupware/phpgwapi/setup
In directory subversions:/tmp/cvs-serv25669

Modified Files:
      Tag: Version-0_9_16-branch
        default_records.inc.php 
Log Message:
patch #2034 and one from jarg

Index: default_records.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/setup/default_records.inc.php,v
retrieving revision 1.4.2.6.2.4
retrieving revision 1.4.2.6.2.5
diff -C2 -d -r1.4.2.6.2.4 -r1.4.2.6.2.5
*** default_records.inc.php     8 Oct 2003 06:42:46 -0000       1.4.2.6.2.4
--- default_records.inc.php     16 Oct 2003 00:37:04 -0000      1.4.2.6.2.5
***************
*** 180,188 ****
                        . $GLOBALS['phpgw_setup']->oProc->f('comm_type_id') 
                        . ",'home email'" 
!                       .  ");");
                $db1->query("INSERT INTO phpgw_contact_comm_descr 
(comm_type_id,descr) VALUES (" 
                        . $GLOBALS['phpgw_setup']->oProc->f('comm_type_id') 
                        . ",'work email'" 
!                       .  ");");
        }
        $GLOBALS['phpgw_setup']->oProc->query("SELECT comm_type_id FROM 
phpgw_contact_comm_type WHERE type='phone'"); 
--- 180,188 ----
                        . $GLOBALS['phpgw_setup']->oProc->f('comm_type_id') 
                        . ",'home email'" 
!                       .  ")");
                $db1->query("INSERT INTO phpgw_contact_comm_descr 
(comm_type_id,descr) VALUES (" 
                        . $GLOBALS['phpgw_setup']->oProc->f('comm_type_id') 
                        . ",'work email'" 
!                       .  ")");
        }
        $GLOBALS['phpgw_setup']->oProc->query("SELECT comm_type_id FROM 
phpgw_contact_comm_type WHERE type='phone'"); 
***************
*** 191,228 ****
                $db1->query("INSERT INTO phpgw_contact_comm_descr 
(comm_type_id,descr) VALUES (" 
                        . $GLOBALS['phpgw_setup']->oProc->f('comm_type_id') 
!                       . ",'home phone'" 
!                       .  ");");
                $db1->query("INSERT INTO phpgw_contact_comm_descr 
(comm_type_id,descr) VALUES (" 
                        . $GLOBALS['phpgw_setup']->oProc->f('comm_type_id') 
                        . ",'work phone'" 
!                       .  ");");
                $db1->query("INSERT INTO phpgw_contact_comm_descr 
(comm_type_id,descr) VALUES (" 
                        . $GLOBALS['phpgw_setup']->oProc->f('comm_type_id') 
                        . ",'voice phone'" 
!                       .  ");");
                $db1->query("INSERT INTO phpgw_contact_comm_descr 
(comm_type_id,descr) VALUES (" 
                        . $GLOBALS['phpgw_setup']->oProc->f('comm_type_id') 
                        . ",'msg phone'" 
!                       .  ");");
!               $db1->query("INSERT INTO phpgw_contact_comm_descr 
(comm_type_id,descr) VALUES (" 
                        . $GLOBALS['phpgw_setup']->oProc->f('comm_type_id') 
                        . ",'pager'" 
!                       .  ");");
                $db1->query("INSERT INTO phpgw_contact_comm_descr 
(comm_type_id,descr) VALUES (" 
                        . $GLOBALS['phpgw_setup']->oProc->f('comm_type_id') 
                        . ",'bbs'" 
!                       .  ");");
                $db1->query("INSERT INTO phpgw_contact_comm_descr 
(comm_type_id,descr) VALUES (" 
                        . $GLOBALS['phpgw_setup']->oProc->f('comm_type_id') 
                        . ",'modem'" 
!                       .  ");");
                $db1->query("INSERT INTO phpgw_contact_comm_descr 
(comm_type_id,descr) VALUES (" 
                        . $GLOBALS['phpgw_setup']->oProc->f('comm_type_id') 
                        . ",'isdn'" 
!                       .  ");");
                $db1->query("INSERT INTO phpgw_contact_comm_descr 
(comm_type_id,descr) VALUES (" 
                        . $GLOBALS['phpgw_setup']->oProc->f('comm_type_id') 
                        . ",'video'" 
!                       .  ");");
        }
        $GLOBALS['phpgw_setup']->oProc->query("SELECT comm_type_id FROM 
phpgw_contact_comm_type WHERE type='fax'"); 
--- 191,228 ----
                $db1->query("INSERT INTO phpgw_contact_comm_descr 
(comm_type_id,descr) VALUES (" 
                        . $GLOBALS['phpgw_setup']->oProc->f('comm_type_id') 
!                       . ",'home phone'"
!                       .  ")");
                $db1->query("INSERT INTO phpgw_contact_comm_descr 
(comm_type_id,descr) VALUES (" 
                        . $GLOBALS['phpgw_setup']->oProc->f('comm_type_id') 
                        . ",'work phone'" 
!                       .  ")");
                $db1->query("INSERT INTO phpgw_contact_comm_descr 
(comm_type_id,descr) VALUES (" 
                        . $GLOBALS['phpgw_setup']->oProc->f('comm_type_id') 
                        . ",'voice phone'" 
!                       .  ")");
                $db1->query("INSERT INTO phpgw_contact_comm_descr 
(comm_type_id,descr) VALUES (" 
                        . $GLOBALS['phpgw_setup']->oProc->f('comm_type_id') 
                        . ",'msg phone'" 
!                       .  ")");
!               $db1->query("INSERT INTO phpgw_contact_comm_descr 
(comm_type_id,descr) VALUES ("
                        . $GLOBALS['phpgw_setup']->oProc->f('comm_type_id') 
                        . ",'pager'" 
!                       .  ")");
                $db1->query("INSERT INTO phpgw_contact_comm_descr 
(comm_type_id,descr) VALUES (" 
                        . $GLOBALS['phpgw_setup']->oProc->f('comm_type_id') 
                        . ",'bbs'" 
!                       .  ")");
                $db1->query("INSERT INTO phpgw_contact_comm_descr 
(comm_type_id,descr) VALUES (" 
                        . $GLOBALS['phpgw_setup']->oProc->f('comm_type_id') 
                        . ",'modem'" 
!                       .  ")");
                $db1->query("INSERT INTO phpgw_contact_comm_descr 
(comm_type_id,descr) VALUES (" 
                        . $GLOBALS['phpgw_setup']->oProc->f('comm_type_id') 
                        . ",'isdn'" 
!                       .  ")");
                $db1->query("INSERT INTO phpgw_contact_comm_descr 
(comm_type_id,descr) VALUES (" 
                        . $GLOBALS['phpgw_setup']->oProc->f('comm_type_id') 
                        . ",'video'" 
!                       .  ")");
        }
        $GLOBALS['phpgw_setup']->oProc->query("SELECT comm_type_id FROM 
phpgw_contact_comm_type WHERE type='fax'"); 
***************
*** 231,240 ****
                $db1->query("INSERT INTO phpgw_contact_comm_descr 
(comm_type_id,descr) VALUES (" 
                        . $GLOBALS['phpgw_setup']->oProc->f('comm_type_id') 
!                       . ",'home fax'" 
!                       .  ");");
                $db1->query("INSERT INTO phpgw_contact_comm_descr 
(comm_type_id,descr) VALUES (" 
                        . $GLOBALS['phpgw_setup']->oProc->f('comm_type_id') 
                        . ",'work fax'" 
!                       .  ");");
        }
        $GLOBALS['phpgw_setup']->oProc->query("SELECT comm_type_id FROM 
phpgw_contact_comm_type WHERE type='mobile phone'"); 
--- 231,240 ----
                $db1->query("INSERT INTO phpgw_contact_comm_descr 
(comm_type_id,descr) VALUES (" 
                        . $GLOBALS['phpgw_setup']->oProc->f('comm_type_id') 
!                       . ",'home fax'"
!                       .  ")");
                $db1->query("INSERT INTO phpgw_contact_comm_descr 
(comm_type_id,descr) VALUES (" 
                        . $GLOBALS['phpgw_setup']->oProc->f('comm_type_id') 
                        . ",'work fax'" 
!                       .  ")");
        }
        $GLOBALS['phpgw_setup']->oProc->query("SELECT comm_type_id FROM 
phpgw_contact_comm_type WHERE type='mobile phone'"); 
***************
*** 244,252 ****
                        . $GLOBALS['phpgw_setup']->oProc->f('comm_type_id') 
                        . ",'mobile (cell) phone'" 
!                       .  ");");
                $db1->query("INSERT INTO phpgw_contact_comm_descr 
(comm_type_id,descr) VALUES (" 
                        . $GLOBALS['phpgw_setup']->oProc->f('comm_type_id') 
                        . ",'car phone'" 
!                       .  ");");
        }
        $GLOBALS['phpgw_setup']->oProc->query("SELECT comm_type_id FROM 
phpgw_contact_comm_type WHERE type='instant messaging'"); 
--- 244,252 ----
                        . $GLOBALS['phpgw_setup']->oProc->f('comm_type_id') 
                        . ",'mobile (cell) phone'" 
!                       .  ")");
                $db1->query("INSERT INTO phpgw_contact_comm_descr 
(comm_type_id,descr) VALUES (" 
                        . $GLOBALS['phpgw_setup']->oProc->f('comm_type_id') 
                        . ",'car phone'" 
!                       .  ")");
        }
        $GLOBALS['phpgw_setup']->oProc->query("SELECT comm_type_id FROM 
phpgw_contact_comm_type WHERE type='instant messaging'"); 
***************
*** 256,276 ****
                        . $GLOBALS['phpgw_setup']->oProc->f('comm_type_id') 
                        . ",'msn'" 
!                       .  ");");
                $db1->query("INSERT INTO phpgw_contact_comm_descr 
(comm_type_id,descr) VALUES (" 
                        . $GLOBALS['phpgw_setup']->oProc->f('comm_type_id') 
                        . ",'aim'" 
!                       .  ");");
                $db1->query("INSERT INTO phpgw_contact_comm_descr 
(comm_type_id,descr) VALUES (" 
                        . $GLOBALS['phpgw_setup']->oProc->f('comm_type_id') 
                        . ",'yahoo'" 
!                       .  ");");
                $db1->query("INSERT INTO phpgw_contact_comm_descr 
(comm_type_id,descr) VALUES (" 
                        . $GLOBALS['phpgw_setup']->oProc->f('comm_type_id') 
                        . ",'icq'" 
!                       .  ");");
!               $db1->query("INSERT INTO phpgw_contact_comm_descr 
(comm_type_id,descr) VALUES (" 
                        . $GLOBALS['phpgw_setup']->oProc->f('comm_type_id') 
                        . ",'jabber'" 
!                       .  ");");                               
        }
        $GLOBALS['phpgw_setup']->oProc->query("SELECT comm_type_id FROM 
phpgw_contact_comm_type WHERE type='url'"); 
--- 256,276 ----
                        . $GLOBALS['phpgw_setup']->oProc->f('comm_type_id') 
                        . ",'msn'" 
!                       .  ")");
                $db1->query("INSERT INTO phpgw_contact_comm_descr 
(comm_type_id,descr) VALUES (" 
                        . $GLOBALS['phpgw_setup']->oProc->f('comm_type_id') 
                        . ",'aim'" 
!                       .  ")");
                $db1->query("INSERT INTO phpgw_contact_comm_descr 
(comm_type_id,descr) VALUES (" 
                        . $GLOBALS['phpgw_setup']->oProc->f('comm_type_id') 
                        . ",'yahoo'" 
!                       .  ")");
                $db1->query("INSERT INTO phpgw_contact_comm_descr 
(comm_type_id,descr) VALUES (" 
                        . $GLOBALS['phpgw_setup']->oProc->f('comm_type_id') 
                        . ",'icq'" 
!                       .  ")");
!               $db1->query("INSERT INTO phpgw_contact_comm_descr 
(comm_type_id,descr) VALUES ("
                        . $GLOBALS['phpgw_setup']->oProc->f('comm_type_id') 
                        . ",'jabber'" 
!                       .  ")");                                
        }
        $GLOBALS['phpgw_setup']->oProc->query("SELECT comm_type_id FROM 
phpgw_contact_comm_type WHERE type='url'"); 
***************
*** 280,284 ****
                        . $GLOBALS['phpgw_setup']->oProc->f('comm_type_id') 
                        . ",'website'" 
!                       .  ");");
        }
  ?>
--- 280,284 ----
                        . $GLOBALS['phpgw_setup']->oProc->f('comm_type_id') 
                        . ",'website'" 
!                       .  ")");
        }
  ?>





reply via email to

[Prev in Thread] Current Thread [Next in Thread]