* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* $Id$
+ * @package plugins
+ * @subpackage message_details
*/
-chdir ('..');
-define('SM_PATH','../');
+/** @ignore */
+define('SM_PATH','../../');
/* SquirrelMail required files. */
require_once(SM_PATH . 'include/validate.php');
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) {
.entheader {
display:inline;
- margin-bottom:1em;
- padding-bottom:1em;
- border-style: solid none solid none;
- border-width:0.1em;
width:99%;
}
//-->
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";
+
+
//session_register("entities");
//$keys = array_keys($entities);
//$start = gettimeofday();
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'];
- } else echo ' ';
+ } else echo ' ';
echo '</td></tr>'."\n";
}
echo '</tbody></table><br>'."\n";