projects
/
squirrelmail.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update changelog
[squirrelmail.git]
/
src
/
view_header.php
diff --git
a/src/view_header.php
b/src/view_header.php
index a9b3a8514c03f5631316dfa823b411d64ed0387f..fd43a16af92ebd5ad165e1af049ef2c674dba0e8 100644
(file)
--- a/
src/view_header.php
+++ b/
src/view_header.php
@@
-5,12
+5,15
@@
*
* This is the code to view the message header.
*
*
* This is the code to view the message header.
*
- * @copyright © 1999-200
6
The SquirrelMail Project Team
+ * @copyright © 1999-200
9
The SquirrelMail Project Team
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
* @version $Id$
* @package squirrelmail
*/
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
* @version $Id$
* @package squirrelmail
*/
+/** This is the view_header page */
+define('PAGE_NAME', 'view_header');
+
/**
* Include the SquirrelMail initialization file.
*/
/**
* Include the SquirrelMail initialization file.
*/
@@
-80,9
+83,7
@@
function parse_viewheader($imapConnection,$id, $passed_ent_id) {
}
/* get global vars */
}
/* get global vars */
-if ( sqgetGlobalVar('passed_id', $temp, SQ_GET) ) {
- $passed_id = (int) $temp;
-}
+sqgetGlobalVar('passed_id', $passed_id, SQ_GET, NULL, SQ_TYPE_BIGINT);
if ( sqgetGlobalVar('mailbox', $temp, SQ_GET) ) {
$mailbox = $temp;
}
if ( sqgetGlobalVar('mailbox', $temp, SQ_GET) ) {
$mailbox = $temp;
}
@@
-115,4
+116,3
@@
$oTemplate->assign('headers', $aTemplateHeaders);
$oTemplate->display('view_header.tpl');
$oTemplate->display('footer.tpl');
$oTemplate->display('view_header.tpl');
$oTemplate->display('footer.tpl');
-?>
\ No newline at end of file