thomascube
2008-09-12 203ee44470707bfe3af16f4ff4146896fa94e140
program/steps/mail/show.inc
@@ -80,6 +80,7 @@
  $OUTPUT->set_env('uid', $MESSAGE->uid);
  $OUTPUT->set_env('safemode', $MESSAGE->is_safe);
  $OUTPUT->set_env('sender', $MESSAGE->sender['string']);
  $OUTPUT->set_env('permaurl', rcmail_url('show', array('_uid' => $MESSAGE->uid, '_mbox' => $mbox_name)));
  
  // check for unset disposition notification
  if ($MESSAGE->headers->mdn_to &&
@@ -153,9 +154,10 @@
      }
      else {
   if (rc_strlen($attach_prop->filename) > 50) {
          $filename = rc_substr($attach_prop->filename, 0, 25) . '...' . rc_substr($attach_prop->filename, strlen($attach_prop->filename)-20, 20);
          $filename = abbreviate_string($attach_prop->filename, 50);
     $title = $attach_prop->filename;
   } else {
      }
      else {
     $filename = $attach_prop->filename;
     $title = '';
   }