[cvs] [Wiki] changed: FAQ/Admin/Config

Chuck Hagenbuch chuck at horde.org
Fri Jul 20 02:24:30 UTC 2007


chuck  Thu, 19 Jul 2007 19:24:30 -0700

Modified page: http://wiki.horde.org/FAQ/Admin/Config
New Revision:  4.14
Change log:  this is for imp 4 also

@@ -387,24 +387,9 @@
 IMP is //capable// of showing certain attachments inline (i.e., in the
message body, rather than appearing in a new window on request), but in some
cases it risks exposing the user to a security problem in the browser: by
enabling inline HTML, any javascript (!ActiveX, Java, etc.) in the
attachment will be executed by the browser. //Enabling inline HTML
attachments is strongly discouraged//.

 Of course, this will only work for elements that could be part of a regular
HTML page. In particular, images //cannot// be part of in a regular HTML
page (they have to be a separate file with an <IMG> tag to include them in
an HTML page), and can thus not be inlined.

-**[IMP 2.2]:** Before any attachments will appear inline, inline display
must be turned on globally in {{/horde/imp/config/defaults.php3}} by setting
one or both of the following variables (depending on IMP version) as shown:
-
-<code type="php">
-$default->inline_in_parts_list = false;
-$default->text_parts_inline = true;
-</code>
-
-After this, for each MIME type you wish to have displayed inline, modify
the entry in {{/horde/imp/config/mime.php3}}:
-
-<code type="php">
-'inline' => true,
-</code>
-
-Note that some mime types (like text/html) may have multiple entries in the
{{mime.php3}} file. Pick the one(s) that meet your needs.
-
-**[IMP 3.x]:** Edit the file {{horde/imp/config/mime_drivers.php}} to
enable inline support for the mime types you wish to have displayed inline.
Simply set the 'inline' array element for that mime type to 'true' to enable
a type. As noted above, not all mime types can be shown inline; if there is
no 'inline' array element for a mime type than that type can not be viewed
inline.
+Edit the file {{horde/imp/config/mime_drivers.php}} to enable inline
support for the mime types you wish to have displayed inline. Simply set the
'inline' array element for that mime type to 'true' to enable a type. As
noted above, not all mime types can be shown inline; if there is no 'inline'
array element for a mime type than that type can not be viewed inline.

 For example, to enable inline html support you would set:

 <code type="php">


More information about the cvs mailing list