Changeset 41 for trunk/calendar


Ignore:
Timestamp:
07/09/07 17:15:11 (17 years ago)
Author:
niltonneto
Message:

* empty log message *

Location:
trunk/calendar
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/calendar/doc/change_log.txt

    r36 r41  
    22módulo Agenda de Eventos, e a partir da versão 29/11/2006 [0.9.17] 
    33Nilton Emilio Buhrer Neto. 
     4 
     504/07/2007 - [0.9.2] 
     6- Correção de bug referente ao envio de mensagens pela Agenda. Houve uma modificação  
     7na maneira de se enviar emails pelo módulo, porém apresentou problemas. Agora está ok. 
     8Onde pegava valores de configuração da $_SESSION foi alterado para pegar do $_GLOBALS. 
     9 
     1002/07/2007 - [0.9.2] 
     11- Adicionado suporte ao espanhol. 
    412 
    51305/06/2007 - [0.9.2] 
  • trunk/calendar/inc/class.bocalendar.inc.php

    r36 r41  
    26992699                        $mail = new PHPMailer(); 
    27002700                        $mail->IsSMTP(); 
     2701                        /* 
    27012702                        $mail->Host = $_SESSION['phpgw_info']['expressomail']['email_server']['smtpServer']; 
    27022703                        $mail->Port = $_SESSION['phpgw_info']['expressomail']['email_server']['smtpPort']; 
     
    27042705                        $mail->FromName = $_SESSION['phpgw_info']['expressomail']['user']['fullname']; 
    27052706                        $mail->IsHTML(true); 
    2706                          
     2707                        */ 
     2708                        $boemailadmin = CreateObject('emailadmin.bo'); 
     2709                        $emailadmin_profile = $boemailadmin->getProfileList(); 
     2710                        $emailadmin = $boemailadmin->getProfile($emailadmin_profile[0]['profileID']); 
     2711                        $mail->Host = $emailadmin['smtpServer']; 
     2712                        $mail->Port = $emailadmin['smtpPort']; 
     2713                        $mail->From = $GLOBALS['phpgw']->preferences->values['email']; 
     2714                        $mail->FromName = $GLOBALS['phpgw_info']['user']; 
     2715                        $mail->IsHTML(true); 
     2716 
    27072717                        // Aqui é enviado o email 
    27082718                        foreach($to_notify as $userid => $statusid)  
  • trunk/calendar/inc/class.uipublicview.inc.php

    r2 r41  
    990990                                .'</head><body>' 
    991991                                .'<div id="divAppboxHeader">' 
    992                                 .'Agenda Semanal de Eventos' 
     992                                .lang('weekly agenda of events') 
    993993                                .'</div><div id="divAppbox"  align="center" >'; 
    994994                                                          
    995995                        if(!$account_name){                      
    996                                 echo '<font color="GREEN" size="+1">Digite o login do usuário para acessar Agenda Pública.</font></center></div>'; 
     996                                echo '<font color="GREEN" size="+1">'.lang('it types login of the user to have access public agenda').'</font></center></div>'; 
    997997                                return True; 
    998998                        } 
     
    10021002 
    10031003                        if(!$accountId){                         
    1004                                 echo '<font color="RED" size="+1">Esse usuário não existe.</font></center></div>'; 
     1004                                echo '<font color="RED" size="+1">'.lang('this user does not exist').'</font></center></div>'; 
    10051005                                return True; 
    10061006                        } 
     
    10181018                        } 
    10191019                        else { 
    1020                                 echo '<font color="RED" size="+1">Esse usuário não possui Agenda Pública.</font></center></div>'; 
     1020                                echo '<font color="RED" size="+1">'.lang('it types login of the user to have access public agenda').'</font></center></div>'; 
    10211021                        } 
    10221022 
Note: See TracChangeset for help on using the changeset viewer.