[dev] Re: superfluous chunk_split in the Compose window

Wenzhuo Zhang wenzhuo@zhmail.com
Mon, 8 Jul 2002 00:31:31 +0800


forgot to delete the second parameter to chunk_split().

--- horde/imp/templates/compose/compose.inc.dist	Wed May 29 05:56:16 2002
+++ horde/imp/templates/compose/compose.inc	Mon Jul  8 00:28:31 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) ?></b> -
         <?= strftime($conf['compose']['date_format']) ?>
     </td>
 </tr>

On Sun, Jul 07, 2002 at 11:38:22PM +0800, Wenzhuo Zhang wrote:
> 
> Hi,
> 
> I find the chunk_split() in imp//templates/compose/compose.inc unnecessary. 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

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