Changeset 3271
- Timestamp:
- 09/21/10 15:13:53 (14 years ago)
- Location:
- branches/2.2/expressoMail1_2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2/expressoMail1_2/inc/class.imap_functions.inc.php
r3265 r3271 115 115 $head_array = array(); 116 116 include_once("class.imap_attachment.inc.php"); 117 117 118 $imap_attachment = new imap_attachment(); 118 119 120 if ($this->prefs['use_important_flag'] || $this->prefs['use_signature_digital'] ) 121 { 119 //if ($this->prefs['use_important_flag'] ) 120 //{ 122 121 /*Como eu preciso do atributo Importance para saber se o email é 123 122 * importante ou não, uso abaixo a função imap_fetchheader e busco … … 131 130 $tempHeader = imap_fetchheader($this->mbox, imap_msgno($this->mbox, $msg_number)); 132 131 $flag = preg_match('/importance *: *(.*)\r/i', $tempHeader, $importance); 133 134 // Reimplemenatado código para identificação dos e-mails assinados e cifrados 135 // no método getMessageType(). Mário César Kolling <mario.kolling@serpro.gov.br> 136 $head_array['ContentType'] = $this->getMessageType($msg_number, $tempHeader); 137 $head_array['Importance'] = $flag==0?"Normal":$importance[1]; 138 } 139 132 //} 133 // Reimplementado código para identificação dos e-mails assinados e cifrados 134 // no método getMessageType(). Mário César Kolling <mario.kolling@serpro.gov.br> 135 $head_array['ContentType'] = $this->getMessageType($msg_number, $tempHeader); 136 $head_array['Importance'] = $flag==0?"Normal":$importance[1]; 140 137 141 138 $header = $this->get_header($msg_number); … … 1876 1873 // A MSG assinada deve ser testada neste ponto. 1877 1874 // Testar o certificado e a integridade da msg.... 1878 include_once( "../security/classes/CertificadoB.php");1875 include_once(dirname( __FILE__ ) ."/../../security/classes/CertificadoB.php"); 1879 1876 $erros_acumulados = ''; 1880 1877 $certificado = new certificadoB(); … … 2013 2010 } 2014 2011 */ 2015 include_once( "../security/classes/CertificadoB.php");2012 include_once(dirname( __FILE__ ) ."/../../security/classes/CertificadoB.php"); 2016 2013 2017 2014 foreach ($certificate['certs'] as $registro) -
branches/2.2/expressoMail1_2/js/draw_api.js
r3267 r3271 1467 1467 for (i in info_msg.signature) 1468 1468 td_signature.innerHTML += '<span>'+info_msg.signature[i]+'</span> <br /> '; 1469 var signature_status_pos = info_msg.signature[0].indexOf(get_lang('Message untouched')); 1469 //var signature_status_pos = info_msg.signature[0].indexOf(get_lang('Message untouched')); 1470 var signature_status_pos = info_msg.signature[0].indexOf('Message untouched'); 1470 1471 td_signature.id = "td_signature_"+ID; 1471 1472 if(signature_status_pos < 0 )
Note: See TracChangeset
for help on using the changeset viewer.