projects
/
squirrelmail.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added support for using Squirrelmail without frames
[squirrelmail.git]
/
plugins
/
message_details
/
message_details_bottom.php
diff --git
a/plugins/message_details/message_details_bottom.php
b/plugins/message_details/message_details_bottom.php
index 1593abb3a4ace3e31294d43700a28fe20458a7b9..08a8b0e43116474c91a29d0b805c5b892bfc6800 100644
(file)
--- a/
plugins/message_details/message_details_bottom.php
+++ b/
plugins/message_details/message_details_bottom.php
@@
-8,8
+8,11
@@
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* $Id$
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* $Id$
+ * @package plugins
+ * @subpackage message_details
*/
*/
+/** @ignore */
define('SM_PATH','../../');
/* SquirrelMail required files. */
define('SM_PATH','../../');
/* SquirrelMail required files. */
@@
-21,6
+24,13
@@
require_once(SM_PATH . 'functions/prefs.php');
global $color, $uid_support;
global $color, $uid_support;
+sqgetGlobalVar('passed_id', $passed_id, SQ_GET);
+sqgetGlobalVar('mailbox', $mailbox, SQ_GET);
+
+sqgetGlobalVar('username', $username, SQ_SESSION);
+sqgetGlobalVar('key', $key, SQ_COOKIE);
+sqgetGlobalVar('onetimepad', $onetimepad, SQ_SESSION);
+
function CalcEntity($entString, $direction) {
$result = $entString;
if ($direction == -1) {
function CalcEntity($entString, $direction) {
$result = $entString;
if ($direction == -1) {
@@
-251,10
+261,6
@@
$xtra = <<<ECHO
.entheader {
display:inline;
.entheader {
display:inline;
- margin-bottom:1em;
- padding-bottom:1em;
- border-style: solid none solid none;
- border-width:0.1em;
width:99%;
}
//-->
width:99%;
}
//-->
@@
-265,9
+271,12
@@
ECHO;
displayHtmlHeader( _("Message Details"), $xtra, FALSE );
/* body */
displayHtmlHeader( _("Message Details"), $xtra, FALSE );
/* body */
-echo '<body><code>'."\n";
+echo "<body text=\"$color[8]\" bgcolor=\"$color[4]\" link=\"$color[7]\" vlink=\"$color[7]\" alink=\"$color[7]\">\n";
+echo '<code>'."\n";
echo '<font face = "monospace">'."\n";
echo '<BR>'."\n";
echo '<font face = "monospace">'."\n";
echo '<BR>'."\n";
+
+
//session_register("entities");
//$keys = array_keys($entities);
//$start = gettimeofday();
//session_register("entities");
//$keys = array_keys($entities);
//$start = gettimeofday();
@@
-300,11
+309,11
@@
if (count($content) > 0) {
echo '</td><td>';
if (isset($content[$i]['name'])) {
echo $content[$i]['name'];
echo '</td><td>';
if (isset($content[$i]['name'])) {
echo $content[$i]['name'];
- } else echo ' ';
+ } else echo ' 
;
';
echo '</td><td>';
if (isset($content[$i]['encoding'])) {
echo $content[$i]['encoding'];
echo '</td><td>';
if (isset($content[$i]['encoding'])) {
echo $content[$i]['encoding'];
- } else echo ' ';
+ } else echo ' 
;
';
echo '</td></tr>'."\n";
}
echo '</tbody></table><br>'."\n";
echo '</td></tr>'."\n";
}
echo '</tbody></table><br>'."\n";