diff --git a/app/email_queue/email_queue.php b/app/email_queue/email_queue.php index 6338f9eb80..cdde8d44b0 100644 --- a/app/email_queue/email_queue.php +++ b/app/email_queue/email_queue.php @@ -142,7 +142,7 @@ $sql .= "email_from, "; $sql .= "email_to, "; $sql .= "email_subject, "; - $sql .= "email_body, "; + $sql .= "substring(email_body, 0, 80) as email_body, "; //$sql .= "email_action_before, "; $sql .= "email_action_after, "; $sql .= "email_status, "; @@ -262,16 +262,16 @@ //echo th_order_by('email_date', $text['label-email_date'], $order_by, $order); echo "".$text['label-date']."\n"; echo "".$text['label-time']."\n"; - echo th_order_by('hostname', $text['label-hostname'], $order_by, $order); - echo th_order_by('email_from', $text['label-email_from'], $order_by, $order); + echo "".$text['label-hostname']."\n"; + echo "".$text['label-email_from']."\n"; echo th_order_by('email_to', $text['label-email_to'], $order_by, $order); echo th_order_by('email_subject', $text['label-email_subject'], $order_by, $order); - echo th_order_by('email_body', $text['label-email_body'], $order_by, $order); + echo "".$text['label-email_body']."\n"; echo th_order_by('email_status', $text['label-email_status'], $order_by, $order); echo th_order_by('email_retry_count', $text['label-email_retry_count'], $order_by, $order); //echo th_order_by('email_action_before', $text['label-email_action_before'], $order_by, $order); - echo th_order_by('email_action_after', $text['label-email_action_after'], $order_by, $order); + echo "".$text['label-email_action_after']."\n"; if (permission_exists('email_queue_edit') && $_SESSION['theme']['list_row_edit_button']['boolean'] == 'true') { echo "  \n"; } @@ -296,22 +296,22 @@ if (permission_exists('email_queue_edit')) { //echo " ".escape($row['email_date'])."\n"; echo " ".escape($row['email_date_formatted'])."\n"; - echo " ".escape($row['email_time_formatted'])."\n"; + echo " ".escape($row['email_time_formatted'])."\n"; } else { //echo " ".escape($row['email_date'])." \n"; echo " ".escape($row['email_date_formatted'])." \n"; echo " ".escape($row['email_time_formatted'])." \n"; } - echo " ".escape($row['hostname'])."\n"; - echo " ".escape($row['email_from'])."\n"; + echo " ".escape($row['hostname'])."\n"; + echo " ".escape($row['email_from'])."\n"; echo " ".escape($row['email_to'])."\n"; echo " ".iconv_mime_decode($row['email_subject'])."\n"; - echo " ".escape($row['email_body'])."\n"; + echo " ".escape($row['email_body'])."\n"; echo " ".escape($row['email_status'])."\n"; echo " ".escape($row['email_retry_count'])."\n"; //echo " ".escape($row['email_action_before'])."\n"; - echo " ".escape($row['email_action_after'])."\n"; + echo " ".escape($row['email_action_after'])."\n"; if (permission_exists('email_queue_edit') && $_SESSION['theme']['list_row_edit_button']['boolean'] == 'true') { echo " \n"; echo button::create(['type'=>'button','title'=>$text['button-edit'],'icon'=>$_SESSION['theme']['button_icon_edit'],'link'=>$list_row_url]);