I hacked this in to sorta fix the problem but I've found no clean way
to trim a string on the browser (outside of javascript). I'm not sure CSS will solve the problem either.


patch.txt is attached (to avoid line wrapping)

--
James Davis
Lead Systems Administrator
Douglas County Government
Information Technology Department
100 Third Street, Castle Rock CO 80104 USA
cell 303.994.8881
fax 303.688.6908
direct 303.663.7654
http://www.douglas.co.us/
mailto:[EMAIL PROTECTED]
[EMAIL PROTECTED] functions]# diff -c mailbox_display.php mailbox_display.php.save 
*** mailbox_display.php 2003-03-07 16:22:24.000000000 -0700
--- mailbox_display.php.save    2003-03-07 15:16:40.000000000 -0700
***************
*** 144,151 ****
      }
      $checked = ($checkall == 1) ? ' CHECKED' : '';
      $col = 0;
-     $NsenderName = str_replace("@", " @ ", $senderName);
-     $NsenderName = str_replace(".", ". ", $NsenderName);
      if (sizeof($index_order)) {
          foreach ($index_order as $index_order_part) {
              switch ($index_order_part) {
--- 144,149 ----
***************
*** 157,166 ****
                  break;
              case 2: /* from */
                  echo html_tag( 'td',
!                                $italic . $bold . $flag . $fontstr . $NsenderName .
                                 $fontstr_end . $flag_end . $bold_end . $italic_end,
                                 'left',
!                                $hlt_color);
                  break;
              case 3: /* date */
                  $date_string = $msg['DATE_STRING'] . '';
--- 155,164 ----
                  break;
              case 2: /* from */
                  echo html_tag( 'td',
!                                $italic . $bold . $flag . $fontstr . $senderName .
                                 $fontstr_end . $flag_end . $bold_end . $italic_end,
                                 'left',
!                                $hlt_color );
                  break;
              case 3: /* date */
                  $date_string = $msg['DATE_STRING'] . '';

Reply via email to