diff --git a/adm/tabs/AdminCustomerThreads.php b/adm/tabs/AdminCustomerThreads.php index 3af99f6d..edeeecfd 100755 --- a/adm/tabs/AdminCustomerThreads.php +++ b/adm/tabs/AdminCustomerThreads.php @@ -313,7 +313,6 @@ class AdminCustomerThreads extends AdminTab $contacts = Contact::getContacts($cookie->id_lang); $output = '
'; - if (!$email) { if (!empty($message['id_product']) AND empty($message['employee_name'])) @@ -326,7 +325,7 @@ class AdminCustomerThreads extends AdminTab ORDER BY o.date_add DESC'); $output .= ' -
+
+ '.(empty($message['employee_name'])?'

'.$this->l('Informations').'

-
+ ).' +
  • '.$this->l('Thread ID:').' '.(int)$message['id_customer_thread'].'
  • +
  • '.$this->l('Message ID:').' '.(int)$message['id_customer_message'].'
  • + +
    ' + :'').'
    '.$this->l('Subject:').' @@ -374,13 +380,13 @@ class AdminCustomerThreads extends AdminTab } else { - $output = '
    + $output .= ' '.($id_employee ? ''.$this->l('View this thread').'
    ' : '').' '.$this->l('Sent by:').' '.(!empty($message['customer_name']) ? $message['customer_name'].' ('.$message['email'].')' : $message['email']) .((!empty($message['id_customer']) AND empty($message['employee_name'])) ? '
    '.$this->l('Customer ID:').' '.(int)($message['id_customer']).'
    ' : '') .((!empty($message['id_order']) AND empty($message['employee_name'])) ? '
    '.$this->l('Order #').': '.(int)($message['id_order']).'
    ' : '') .((!empty($message['id_product']) AND empty($message['employee_name'])) ? '
    '.$this->l('Product #').': '.(int)($message['id_product']).'
    ' : '') - .'
    '.$this->l('Subject:').' '.$message['subject']; + .''.$this->l('Subject:').' '.$message['subject']; } // Adding Antadis - linking with ant_support_form module @@ -401,10 +407,7 @@ class AdminCustomerThreads extends AdminTab // end adding $message['message'] = preg_replace('/(https?:\/\/[a-z0-9#%&_=\(\)\.\? \+\-@\/]{6,1000})([\s\n<])/Uui', '\1\2', html_entity_decode($message['message'], ENT_NOQUOTES, 'UTF-8')); - $output .= ' -
    - '.$this->l('Thread ID:').' '.(int)$message['id_customer_thread'].'
    - '.$this->l('Message ID:').' '.(int)$message['id_customer_message'].'
    + $output .= '
    '.$this->l('Message:').'
    '.$message['message'].'
    '; @@ -413,22 +416,23 @@ class AdminCustomerThreads extends AdminTab { if (empty($message['employee_name'])) $output .= ' -

    -

    -