1,5 → 1,5 |
<?php |
// $Id: ezmlm-listinfo.php,v 1.2 2005-09-27 16:43:08 alexandre_tb Exp $ |
// $Id: ezmlm-listinfo.php,v 1.2.4.1 2007-02-16 13:36:51 alexandre_tb Exp $ |
// |
// ezmlm-listinfo.php - ezmlm-php v2.0 |
// -------------------------------------------------------------- |
70,7 → 70,7 |
$actionargs = preg_split("/\//", $val->msgfile); |
if (count ($actionargs) > 2) { |
print $this->makelink("action=show_msg&actionargs[]=" . $actionargs[(count($actionargs) - 2)] . |
"&actionargs[]=" . $actionargs[(count($actionargs) - 1)] ,$this->decode_iso($val->headers['subject'])); |
"&actionargs[]=" . $actionargs[(count($actionargs) - 1)] ,$this->decode_iso(str_replace(' ', '', $val->headers['subject']))); |
} |
print "</b></td>\n"; |
|
118,33 → 118,34 |
$i = $i - $multiplicateur * 100 ; |
} |
if ($i < 10) $num_message = '0'.$i ; else $num_message = $i ; |
if (file_exists($this->listdir.'/archive/'.$repertoire_premier_mail.'/'.$num_message)) { |
$mimeDecode = new Mail_mimeDecode(file_get_contents ($this->listdir.'/archive/'.$repertoire_premier_mail.'/'.$num_message)) ; |
$mailDecode = $mimeDecode->decode() ; |
if ($i == 99) { |
$repertoire_premier_mail++; |
$i = -1; |
} |
|
$mimeDecode = new Mail_mimeDecode(file_get_contents ($this->listdir.'/archive/'.$repertoire_premier_mail.'/'.$num_message)) ; |
$mailDecode = $mimeDecode->decode() ; |
if ($i == 99) { |
$repertoire_premier_mail++; |
$i = -1; |
} |
print '<tr class="'.$class[$ctc].'">'."\n"; |
print '<td>'.$repertoire_premier_mail.$num_message.'</td><td>'; |
$hash = $this->makehash($mailDecode->headers['from']); |
|
print '<tr class="'.$class[$ctc].'">'."\n"; |
print '<td>'.$repertoire_premier_mail.$num_message.'</td><td>'; |
$hash = $this->makehash($mailDecode->headers['from']); |
print $this->makelink("action=show_author_msgs&actionargs[]=" . $hash,$this->decode_iso($this->protect_email($mailDecode->headers['from'],TRUE))); |
print "</td>\n"; |
print '<td><b>'; |
$actionargs[0] = $repertoire_premier_mail ; |
$actionargs[1] = $num_message ; |
|
print $this->makelink("action=show_author_msgs&actionargs[]=" . $hash,$this->decode_iso($this->protect_email($mailDecode->headers['from'],TRUE))); |
print "</td>\n"; |
print '<td><b>'; |
$actionargs[0] = $repertoire_premier_mail ; |
$actionargs[1] = $num_message ; |
|
if (count ($actionargs) > 1) { |
print $this->makelink("action=show_msg&actionargs[]=" . $actionargs[(count($actionargs) - 2)] . |
if (count ($actionargs) > 1) { |
print $this->makelink("action=show_msg&actionargs[]=" . $actionargs[(count($actionargs) - 2)] . |
"&actionargs[]=" . $actionargs[(count($actionargs) - 1)] ,$this->decode_iso($mailDecode->headers['subject'])); |
} |
print "</b></td>\n"; |
print '<td>'.$this->date_francaise($mailDecode->headers['date']).'</td>'."\n"; |
print "</tr>\n"; |
$ctc++; |
if ($ctc == 2) { $ctc = 0; } |
} |
print "</b></td>\n"; |
print '<td>'.$this->date_francaise($mailDecode->headers['date']).'</td>'."\n"; |
print "</tr>\n"; |
$ctc++; |
if ($ctc == 2) { $ctc = 0; } |
} |
} |
print '</table>'."\n"; |
return true; |