1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-11 00:54:49 +02:00

Bulk mailing fixes.

This commit is contained in:
Cameron
2016-05-11 12:14:58 -07:00
parent 0635f3ff93
commit dfa289ba13
3 changed files with 42 additions and 15 deletions

View File

@@ -1645,7 +1645,7 @@ class mailout_recipients_ui extends e_admin_ui
'mail_recipient_email' => array('title' => LAN_MAILOUT_140, 'type'=>'email', 'data'=>'str', 'thclass' => 'left', 'forced' => TRUE),
'mail_status' => array('title' => LAN_MAILOUT_138, 'type'=>'method', 'filter'=>true, 'data'=>'int', 'thclass' => 'left', 'class'=>'left', 'writeParms'=>''),
'mail_detail_id' => array('title' => LAN_MAILOUT_137, 'type'=>'dropdown', 'filter'=>true),
'mail_send_date' => array('title' => LAN_MAILOUT_139, 'proc' => 'sdatetime'),
'mail_send_date' => array('title' => LAN_MAILOUT_139, 'type'=>'datestamp', 'proc' => 'sdatetime'),
'mail_target_info' => array('title' => LAN_MAILOUT_148, 'proc' => 'array'),
'options' => array('title' => LAN_OPTIONS, 'type'=>'method', 'width'=>'10%', 'forced' => TRUE)
);
@@ -1726,6 +1726,7 @@ class mailout_recipients_form_ui extends e_admin_form_ui
MAIL_STATUS_PENDING => LAN_MAILOUT_214,
// MAIL_STATUS_SAVED => LAN_MAILOUT_215,
// MAIL_STATUS_HELD => LAN_MAILOUT_217
// MAIL_STATUS_TEMP => ",
);
@@ -1742,7 +1743,7 @@ class mailout_recipients_form_ui extends e_admin_form_ui
$stat[13] = 'label-warning';
$stat[5] = 'label-error'; // MAIL_STATUS_FAILED
return "<span class='label ".varset($stat[$curVal])."'>".$this->getController()->mailManager->statusToText($curVal)."</span>";
return "<span class='label ".varset($stat[$curVal])."'>#".$curVal." ".$this->getController()->mailManager->statusToText($curVal)."</span>";
}
if($mode == 'write')