[dev] superfluous chunk_split in the Compose window

Wenzhuo Zhang wenzhuo@zhmail.com
Sun, 7 Jul 2002 23:38:22 +0800


Hi,

I find the chunk_split() in imp//templates/compose/compose.inc. It does
two things undesired(I guess):

1. Inserts a space at position 60 of the header line on the Compose
window.

2. Breaks double-byte characters of a long subject line, like
this<http://zhmail.com/horde/compose-chunk_split.jpg>.


--- horde/imp/templates/compose/compose.inc.dist	Wed May 29 05:56:16 2002
+++ horde/imp/templates/compose/compose.inc	Sat Jul  6 19:10:59 2002
@@ -23,7 +23,7 @@
 <table border="0" align="center" cellpadding="0" cellspacing="1">
 <tr class="header">
     <td colspan="2" height="25" class="header" width="700">
-        <b>&nbsp;<?= htmlspecialchars(chunk_split($ACTION_TEXT, 60)) ?></b> -
+        <b>&nbsp;<?= htmlspecialchars($ACTION_TEXT, 60) ?></b> -
         <?= strftime($conf['compose']['date_format']) ?>
     </td>
 </tr>


-- 
Wenzhuo
  GnuPG Key ID 0xBA586A68
  Key fingerprint = 89C7 C6DE D956 F978 3F12  A8AF 5847 F840 BA58 6A68