foreach ($message->rfc822_header->mlist as $cmd => $actions) {
- /* I don't know this action... skip it */
- if ( !array_key_exists($cmd, $fieldsdescr) ) {
+ /* I don't know this action... skip it */
+ if ( !array_key_exists($cmd, $fieldsdescr) ) {
continue;
}
/* proto = {mailto,href} */
- $proto = array_shift(array_keys($actions));
- $act = array_shift($actions);
+ $proto = array_shift(array_keys($actions));
+ $act = array_shift($actions);
if ($proto == 'mailto') {
if ($cmd == 'post') {
if (!isset($mailbox))
$mailbox = 'INBOX';
- $url .= '&passed_id='.$passed_id.
- '&mailbox='.urlencode($mailbox).
- (isset($passed_ent_id)?'&passed_ent_id='.$passed_ent_id:'');
+ $url .= '&passed_id='.$passed_id.
+ '&mailbox='.urlencode($mailbox).
+ (isset($passed_ent_id)?'&passed_ent_id='.$passed_ent_id:'');
$url .= '&smaction=reply';
$output[] = makeComposeLink($url, $fieldsdescr['reply']);
}
}
-?>
+?>
\ No newline at end of file