[Tickets #4164] NEW: Describe syntax for textarea type prefs

bugs@bugs.horde.org bugs at bugs.horde.org
Mon Jul 17 03:04:04 PDT 2006


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=4164
-----------------------------------------------------------------------
 Ticket             | 4164
 Created By         | Otto.Stolz at uni-konstanz.de
 Summary            | Describe syntax for textarea type prefs
 Queue              | Horde Base
 Version            | 3.1.2
 State              | Unconfirmed
 Priority           | 2. Medium
 Type               | Bug
 Owners             | 
-----------------------------------------------------------------------


Otto.Stolz at uni-konstanz.de (2006-07-17 03:04) wrote:

For documentation on the structure of  horde/imp/prefs.dist, that file
refers to horde/config/prefs.php. Horde/imp/prefs.dist contains 'type' =>
'textarea' entries, but horde/config/prefs.php  gives no syntax for their
possible values.

An attempt with $_prefs['mail_hdr']['value'] = "Message-ID\nX-Spam-Level"
has led to a PHP run-time error in horde/imp/message.php on line 340,
which clearly demonstrates that documentation on the configuration syntax
is required.

The correct syntax seems to be: "Message-ID\nX-Spam-Level\n", with "\n"
terminating (not separating) the partial values.




More information about the bugs mailing list