summaryrefslogtreecommitdiff
path: root/roundcubemail/program/steps
diff options
context:
space:
mode:
authorthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-06-04 09:13:06 +0000
committerthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-06-04 09:13:06 +0000
commit8585914c72a508746068c9d962a09ae6cf29615f (patch)
tree038a960ff0d702d72bd59dc4f65920c11f64669c /roundcubemail/program/steps
parentcae3ecab64d029e306c0505e00f01752ea6595e1 (diff)
Chech for mb_convert_encoding first because mbstring is optional for RoundCube + add some phpdoc
git-svn-id: https://svn.roundcube.net/trunk@1469 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps')
-rw-r--r--roundcubemail/program/steps/mail/func.inc8
1 files changed, 7 insertions, 1 deletions
diff --git a/roundcubemail/program/steps/mail/func.inc b/roundcubemail/program/steps/mail/func.inc
index 0a1e4d4c7..85b04319f 100644
--- a/roundcubemail/program/steps/mail/func.inc
+++ b/roundcubemail/program/steps/mail/func.inc
@@ -514,9 +514,15 @@ function rcmail_get_messagecount_text($count=NULL, $page=NULL)
/**
+ * Convert the given message part to proper HTML
+ * which can be displayed the message view
*
+ * @param object rcube_message_part Message part
+ * @param bool True if external objects (ie. images ) are allowed
+ * @param bool True if part should be converted to plaintext
+ * @return string Formatted HTML string
*/
-function rcmail_print_body($part, $safe=FALSE, $plain=FALSE)
+function rcmail_print_body($part, $safe=false, $plain=false)
{
global $REMOTE_OBJECTS;