static public $spool_tmax = 10;
static public $spool_boxlist = true;
+### Tree options ###
+ static public $tree_read = 'dg';
+ static public $tree_unread = 'b';
+
### Message processing ###
static public $msgparse_headers = array('content-disposition', 'content-transfer-encoding',
'content-type', 'content-id', 'date', 'followup-to',
$groups = Banana::$protocole->getBoxList(Banana::BOXES_SUB, Banana::$profile['lastnews'], true);
Banana::$page->assign('groups', $groups);
}
+ if (function_exists('hook_markAsRead')) {
+ hook_markAsRead($group, $artid, $msg);
+ }
Banana::$page->assign_by_ref('message', $msg);
Banana::$page->assign('extimages', Banana::$msgshow_hasextimages);
Banana::$page->assign('headers', Banana::$msgshow_headers);
$hdr_values[$header] = utf8_encode($hdr_values[$header]);
}
}
- $values = split('[,; ]', $hdr_values[$hdrs['dest']]);
+ $values = preg_split('/[,; ]/', $hdr_values[$hdrs['dest']]);
$hdr_values[$hdrs['dest']] = preg_replace('/,+/', ',', implode(',', $values));
if (!is_null($artid)) {
$old =& $this->loadMessage($group, $artid);