projects
/
squirrelmail.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Back out support for using SM without Frames
[squirrelmail.git]
/
plugins
/
message_details
/
message_details_main.php
diff --git
a/plugins/message_details/message_details_main.php
b/plugins/message_details/message_details_main.php
index 1300d23e60fd49fffddb6ad543885b03ecf0b4ba..89ed7f3133ccafd6d75f4bd6275b7d916be32c33 100644
(file)
--- a/
plugins/message_details/message_details_main.php
+++ b/
plugins/message_details/message_details_main.php
@@
-7,18
+7,25
@@
* 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
*/
*/
-/* Path for SquirrelMail required files. */
-chdir('..');
-define('SM_PATH','../');
+/**
+ * Path for SquirrelMail required files.
+ * @ignore
+ */
+define('SM_PATH','../../');
/* SquirrelMail required files. */
require_once(SM_PATH . 'include/validate.php');
require_once(SM_PATH . 'functions/page_header.php');
require_once(SM_PATH . 'functions/strings.php');
/* SquirrelMail required files. */
require_once(SM_PATH . 'include/validate.php');
require_once(SM_PATH . 'functions/page_header.php');
require_once(SM_PATH . 'functions/strings.php');
-displayHtmlHeader( _("Message details"), '', FALSE );
+displayHtmlHeader( _("Message Details"), '', FALSE );
+
+sqgetGlobalVar('mailbox', $mailbox, SQ_GET);
+sqgetGlobalVar('passed_id', $passed_id, SQ_GET);
echo "<frameset rows=\"60, *\" noresize border=\"0\">\n";
echo '<frame src="message_details_top.php?mailbox=' . urlencode($mailbox) .'&passed_id=' . "$passed_id". '" name="top_frame" scrolling="off">';
echo "<frameset rows=\"60, *\" noresize border=\"0\">\n";
echo '<frame src="message_details_top.php?mailbox=' . urlencode($mailbox) .'&passed_id=' . "$passed_id". '" name="top_frame" scrolling="off">';