Ignore:
Timestamp:
09/17/12 14:30:47 (12 years ago)
Author:
douglas
Message:

Ticket #0000 - Copiadas as alterações do Trunk. Versão final da 2.4.2.

Location:
branches/2.4
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2.4

  • branches/2.4/expressoCalendar/setup/default_records.inc.php

    r7093 r7228  
    11<?php 
    2         /**  
    3         *  
    4         * Copyright (C) 2011 Consórcio Expresso Livre - 4Linux (www.4linux.com.br) e Prognus Software Livre (www.prognus.com.br)  
    5         *  
    6         * This program is free software; you can redistribute it and/or modify  
    7         * it under the terms of the GNU General Public License as published by  
    8         * the Free Software Foundation; either version 3 of the License, or  
    9         * any later version.  
    10         *  
    11         * This program is distributed in the hope that it will be useful, but WITHOUT  
    12         * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS  
    13         * FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more  
    14         * details.  
    15         *  
    16         * You should have received a copy of the GNU General Public License  
    17         * along with this program; if not, write to the Free Software Foundation,  
    18         * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301  USA  
    19         *  
    20         * You can contact Prognus Software Livre headquarters at Av. Tancredo Neves,  
    21         * 6731, PTI, Edifício do Saber, 3º floor, room 306, Foz do Iguaçu - PR - Brasil  
    22         * or at e-mail address prognus@prognus.com.br.  
    23         *  
    24         * Neste arquivo são inseridos os valores padrões nas tabelas do módulo expressoCalendar.  
    25         *  
    26         * @license    http://www.gnu.org/copyleft/gpl.html GPL  
    27         * @author     Consórcio Expresso Livre - 4Linux (www.4linux.com.br) e Prognus Software Livre (www.prognus.com.br)  
    28         * @version    1.0  
    29         * @sponsor    Caixa EconÃŽmica Federal  
    30         * @since      Arquivo disponibilizado na versão Expresso 2.4.0  
    31         */  
     2        /** 
     3        * 
     4        * Copyright (C) 2011 Consórcio Expresso Livre - 4Linux (www.4linux.com.br) e Prognus Software Livre (www.prognus.com.br) 
     5        * 
     6        * This program is free software; you can redistribute it and/or modify 
     7        * it under the terms of the GNU General Public License as published by 
     8        * the Free Software Foundation; either version 3 of the License, or 
     9        * any later version. 
     10        * 
     11        * This program is distributed in the hope that it will be useful, but WITHOUT 
     12        * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 
     13        * FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more 
     14        * details. 
     15        * 
     16        * You should have received a copy of the GNU General Public License 
     17        * along with this program; if not, write to the Free Software Foundation, 
     18        * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301  USA 
     19        * 
     20        * You can contact Prognus Software Livre headquarters at Av. Tancredo Neves, 
     21        * 6731, PTI, Edifício do Saber, 3º floor, room 306, Foz do Iguaçu - PR - Brasil 
     22        * or at e-mail address prognus@prognus.com.br. 
     23        * 
     24        * Neste arquivo são inseridos os valores padrões nas tabelas do módulo expressoCalendar.  
     25        * 
     26        * @license    http://www.gnu.org/copyleft/gpl.html GPL 
     27        * @author     Consórcio Expresso Livre - 4Linux (www.4linux.com.br) e Prognus Software Livre (www.prognus.com.br) 
     28        * @version    1.0 
     29        * @sponsor    Caixa Econômica Federal 
     30        * @since      Arquivo disponibilizado na versão Expresso 2.4.0 
     31        */ 
    3232         
    3333                //Problemas com cascade na forenkey 
     
    6868                $oProc->query("ALTER TABLE calendar ALTER COLUMN dtstamp SET DEFAULT (date_part('epoch'::text, ('now'::text)::timestamp(3) with time zone) * (1000)::double precision);"); 
    6969         
    70                 $oProc->query("INSERT INTO calendar_object_type( \"id\", \"name\") VALUES ('1','VEVENT');"); 
     70        $oProc->query("INSERT INTO calendar_object_type( \"id\", \"name\") VALUES ('1','VEVENT');"); 
     71                $oProc->query("INSERT INTO calendar_object_type( \"id\", \"name\") VALUES ('2','TODO');"); 
    7172                $oProc->query("INSERT INTO calendar_class( \"id\", \"name\") VALUES ('1','Public'),('2','Private'),('3','Confidential');"); 
    7273                $oProc->query("INSERT INTO calendar_participant_status( \"id\", \"name\") VALUES ('1','CONFIRMED'),('2','TENTATIVE'),('3','CANCELLED'),('4','UNANSWERED'),('5', 'DELEGATED');"); 
Note: See TracChangeset for help on using the changeset viewer.