Ignore:
Timestamp:
06/01/11 17:01:47 (13 years ago)
Author:
thiagoaos
Message:

Ticket #1955 - Adição de 2 relatórios e ajuste no relatório de cotas.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2/reports/inc/class.uireports_users.inc.php

    r4035 r4570  
    7878                        $pdf->Open(); 
    7979                        $pdf->AddPage(); 
    80                         $pdf->SetTitle('Relatório Gerado pelo Expresso Reports'); 
     80                        $pdf->SetTitle(lang('Report Generated by Expresso Reports')); 
    8181 
    8282                        //Set font and colors 
     
    8989                        //Table header 
    9090                        $SubTitulo = lang('reports title2'); 
    91                         $SubTituloR = lang('report organization'); 
     91                        $SubTituloR = lang('Report Generated by Expresso Reports'); 
    9292                        $SubTitulo1 = $subtitulo1; 
    9393                        $GLOBALS['phpgw_info']['apps']['reports']['subtitle'] = $SubTituloR; 
    9494                        $pdf->Cell(0,8,$SubTitulo,0,1,'C',0); 
    95  
    9695 
    9796                        //Set font and colors 
     
    127126                                                $row_loginid = $account['account_lid']; 
    128127                                                $row_cn = $account['account_cn']; 
    129                                                 $row_mail = (!$account['account_mail'] ? '<font color=red>Sem E-mail</font>' : $account['account_mail']); 
     128                                                $row_mail = (!$account['account_mail'] ? '<font color=red>'.lang('Without E-mail').'</font>' : $account['account_mail']); 
    130129                                                $row_phone = (!$account['account_phone'] ? '-' : $account['account_phone']); 
    131                                                 $row_status = $account['account_accountstatus'] == 'active' ? 'Ativado' : 'Desativado'; 
     130                                                $row_status = $account['account_accountstatus'] == 'active' ? lang('Activated') : lang('Disabled'); 
    132131                                                $pdf->Cell(55,5,$row_loginid,0,0,'L',0); 
    133132                                                $pdf->Cell(80,5,$row_cn,0,0,'L',0); 
    134133                                                $pdf->Cell(80,5,$row_mail,0,0,'L',0); 
    135134                                                $pdf->Cell(35,5,$row_phone,0,0,'L',0); 
    136                                         if ($row_status == 'Ativado') 
     135                                        if ($row_status == lang('Activated')) 
    137136                                        { 
    138137                                                //Restaura cor fonte 
     
    499498                                                'row_loginid'   => $accountr['account_lid'], 
    500499                                                'row_cn'                => $accountr['account_cn'], 
    501                                                 'row_status'    => $accountr['account_status'] == 'active' ? '<font color="#0033FF">Ativado</font> ' : '<font color="#FF0000">Desativado</font>', 
     500                                                'row_status'    => $accountr['account_status'] == 'active' ? '<font color="#0033FF">'.lang('Activated').'</font> ' : '<font color="#FF0000">'.lang('Disabled').'</font>', 
    502501                                                'row_phone'             => (!$accountr['account_phone'] ? '-' : $accountr['account_phone']), 
    503                                                 'row_mail'              => (!$accountr['account_mail'] ? '<font color=red>Sem E-mail</font>' : $accountr['account_mail']) 
     502                                                'row_mail'      => (!$accountr['account_mail'] ? '<font color=red>'.lang('Without E-mail').'</font>' : $accountr['account_mail']) 
    504503                                        ); 
    505504                                         
Note: See TracChangeset for help on using the changeset viewer.