From b76b7431d968756ef7b92f97d767413f07a05f39 Mon Sep 17 00:00:00 2001 From: alec Date: Fri, 12 Sep 2008 12:13:13 +0000 Subject: - Added vertical splitter for folders list resizing - Added possibility to view all headers in message view - Fixed splitter drag/resize on Opera (#1485170) - debug console css fixes for IE git-svn-id: https://svn.roundcube.net/trunk@1766 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/steps/mail/headers.inc | 39 ++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 roundcubemail/program/steps/mail/headers.inc (limited to 'roundcubemail/program/steps/mail/headers.inc') diff --git a/roundcubemail/program/steps/mail/headers.inc b/roundcubemail/program/steps/mail/headers.inc new file mode 100644 index 000000000..653fb9647 --- /dev/null +++ b/roundcubemail/program/steps/mail/headers.inc @@ -0,0 +1,39 @@ + | + +-----------------------------------------------------------------------+ + + $Id: mark.inc 1580 2008-06-30 09:36:18Z alec $ + +*/ + +if ($uid = get_input_value('_uid', RCUBE_INPUT_POST)) +{ + $source = $IMAP->get_raw_headers($uid); + + if ($source) + { + $source = htmlspecialchars(trim($source)); + $source = preg_replace('/\t/', '    ', $source); + $source = preg_replace('/^([a-z0-9_:-]+)/im', ''.'\1'.'', $source); + $source = preg_replace('/\r?\n/', '
', $source); + + $OUTPUT->command('set_headers', $source); + $OUTPUT->send(); + } +} + +exit; + +?> -- cgit v1.2.3