Source for file message_details_main.php

Documentation is available at message_details_main.php

  1. <?php
  2.  
  3. /**
  4.  * Message Details plugin - main frame
  5.  *
  6.  * Plugin to view the RFC822 raw message output and the bodystructure of a message
  7.  *
  8.  * @author Marc Groot Koerkamp
  9.  * @copyright 2002 Marc Groot Koerkamp, The Netherlands
  10.  * @copyright 2002-2020 The SquirrelMail Project Team
  11.  * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  12.  * @version $Id: message_details_main.php 14845 2020-01-07 08:09:34Z pdontthink $
  13.  * @package plugins
  14.  * @subpackage message_details
  15.  */
  16.  
  17. /**
  18.  * Include the SquirrelMail initialization file.
  19.  */
  20. require('../../include/init.php');
  21.  
  22. displayHtmlHeader_("Message Details")''FALSE );
  23.  
  24. sqgetGlobalVar('mailbox'$mailboxSQ_GET);
  25. sqgetGlobalVar('passed_id'$passed_idSQ_GETNULLSQ_TYPE_BIGINT);
  26. if (!sqgetGlobalVar('passed_ent_id'$passed_ent_idSQ_GET))
  27.     $passed_ent_id 0;
  28.  
  29. //FIXME: Don't echo HTML directly - need to "templatize" this
  30. echo "<frameset rows=\"60, *\" >\n";
  31. echo '<frame src="message_details_top.php?mailbox=' urlencode($mailbox.'&amp;passed_id=' $passed_id 
  32.     . '&amp;passed_ent_id=' $passed_ent_id
  33.     . '" name="top_frame" scrolling="no" noresize="noresize" frameborder="0" />';
  34. echo '<frame src="message_details_bottom.php?mailbox=' urlencode($mailbox
  35.     . '&amp;get_message_details=yes&amp;passed_id=' $passed_id 
  36.     . '&amp;passed_ent_id=' $passed_ent_id
  37.     . '" name="bottom_frame" frameborder="0" />';
  38. echo  '</frameset>'."\n"."</html>\n";

Documentation generated on Mon, 13 Jan 2020 04:23:06 +0100 by phpDocumentor 1.4.3