Changeset 6920 for trunk/reports/inc/class.uireports_maillists.inc.php
- Timestamp:
- 07/31/12 16:01:37 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/reports/inc/class.uireports_maillists.inc.php
r5934 r6920 66 66 67 67 $grouplist = trim($_POST[setor]); 68 $grouplist = trim( preg_replace('/-/','',$grouplist));68 $grouplist = trim(ereg_replace("-","",$grouplist)); 69 69 70 70 $setordn = trim($_POST[setordn]); … … 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 title8'); 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; … … 125 125 $row_loginid = $account['uid']; 126 126 $row_cn = $account['name']; 127 $row_mail = (!$account['email']?'<font color=red> Sem E-mail</font>':$account['email']);127 $row_mail = (!$account['email']?'<font color=red>'.lang('Without E-mail').'</font>':$account['email']); 128 128 $pdf->Cell(40,5,$row_loginid,0,0,'L',0); 129 129 $pdf->Cell(75,5,$row_cn,0,0,'L',0); … … 192 192 // Save query 193 193 $varorganizacao = explode(",",$contextsdn); 194 $varorganizacao_nome = trim(strtoupper( preg_replace('/ou=/','',$varorganizacao[0])));195 $varorganizacao_nome = trim(strtoupper( preg_replace('/DC=/','',$varorganizacao_nome)));194 $varorganizacao_nome = trim(strtoupper(ereg_replace("ou=","",$varorganizacao[0]))); 195 $varorganizacao_nome = trim(strtoupper(ereg_replace("DC=","",$varorganizacao_nome))); 196 196 $user_logon = $GLOBALS['phpgw_info']['user'][account_lid]; 197 197 … … 235 235 if ( trim(strtoupper($varorganizacao_nome)) != trim(strtoupper($sector))) 236 236 { 237 $sectorok = trim(strtoupper( preg_replace('/dc=/','',$sector)));238 $sectorok = trim(strtoupper( preg_replace('/dc=/','',$sectorok)));237 $sectorok = trim(strtoupper(ereg_replace("dc=","",$sector))); 238 $sectorok = trim(strtoupper(ereg_replace("dc=","",$sectorok))); 239 239 $sector_options .= "<option value='" . $sectordn . "'>". $sectorok . "</option>"; 240 240 } … … 301 301 { 302 302 $grouplist = trim($_POST[setor]); 303 $grouplist = trim( preg_replace('/-/','',$grouplist));303 $grouplist = trim(ereg_replace("-","",$grouplist)); 304 304 $organizacao = trim($_POST[organizacao]); 305 305 $setordn = trim($_POST[setordn]); … … 461 461 $tmpp[$accountp['uid'][0]]['account_lid'] = $accountp['uid'][0]; 462 462 $tmpp[$accountp['uid'][0]]['account_cn'] = $accountp['cn'][0]; 463 $tmpp[$accountp['uid'][0]]['account_mail'] = $accountp['mail'][0];463 $tmpp[$accountp['uid'][0]]['account_mail'] = $accountp['mail'][0]; 464 464 $sortp[] = $accountp['uid'][0]; 465 465 if (count($sortp)) … … 478 478 'row_loginid' => $accountr['account_lid'], 479 479 'row_cn' => $accountr['account_cn'], 480 'row_mail' => (!$accountr['account_mail']?'<font color=red> Sem E-mail</font>':$accountr['account_mail'])480 'row_mail' => (!$accountr['account_mail']?'<font color=red>'.lang('Without E-mail').'</font>':$accountr['account_mail']) 481 481 ); 482 482
Note: See TracChangeset
for help on using the changeset viewer.