Changeset 4570 for branches/2.2/reports/inc/class.uireports_users.inc.php
- Timestamp:
- 06/01/11 17:01:47 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2/reports/inc/class.uireports_users.inc.php
r4035 r4570 78 78 $pdf->Open(); 79 79 $pdf->AddPage(); 80 $pdf->SetTitle( 'Relatório Gerado pelo Expresso Reports');80 $pdf->SetTitle(lang('Report Generated by Expresso Reports')); 81 81 82 82 //Set font and colors … … 89 89 //Table header 90 90 $SubTitulo = lang('reports title2'); 91 $SubTituloR = lang(' report organization');91 $SubTituloR = lang('Report Generated by Expresso Reports'); 92 92 $SubTitulo1 = $subtitulo1; 93 93 $GLOBALS['phpgw_info']['apps']['reports']['subtitle'] = $SubTituloR; 94 94 $pdf->Cell(0,8,$SubTitulo,0,1,'C',0); 95 96 95 97 96 //Set font and colors … … 127 126 $row_loginid = $account['account_lid']; 128 127 $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']); 130 129 $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'); 132 131 $pdf->Cell(55,5,$row_loginid,0,0,'L',0); 133 132 $pdf->Cell(80,5,$row_cn,0,0,'L',0); 134 133 $pdf->Cell(80,5,$row_mail,0,0,'L',0); 135 134 $pdf->Cell(35,5,$row_phone,0,0,'L',0); 136 if ($row_status == 'Ativado')135 if ($row_status == lang('Activated')) 137 136 { 138 137 //Restaura cor fonte … … 499 498 'row_loginid' => $accountr['account_lid'], 500 499 '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>', 502 501 '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']) 504 503 ); 505 504
Note: See TracChangeset
for help on using the changeset viewer.