/nasmail/functions/page_header.phpCopyright (c) 1999-2006 The SquirrelMail Project Team Copyright (c) 2006-2009 The NaSMail Project
Prints the page header (duh)
This script contains modifications ported from SquirrelMail 1.4.9+. See commits tagged with SM-PATCH keyword. Modifications are copyrighted by the SquirrelMail Project Team. Copyright (c) 2007 The SquirrelMail Project Team
compose_Header (line 490)
Short form of displayPageHeader() function for message composition window
blatently copied/truncated/modified from the above function
displayHtmlHeader (line 33)
Creates HTML page header
Function creates NaSMail HTML page header from <!DOCTYPE> to </head>. Always set up the language before calling these functions
displayInternalLink (line 162)
Outputs internal link
Same as makeInternalLink, but does echo instead of returning string.
displayMessageHeader (line 642)
Prints page header in pages related to message content display
Function arguments are 100% compatible with displayMessageHeader() arguments. It only turns off use of displayPageHeader() in NSM_LAYOUT_PREVIEW mode. Function MUST be used instead of stardard displayPageHeader, if script displays content related to displayed message. For example: properties of attached files or some actions related to data taken from message viewed in read_body.php. If script uses displayPageHeader() when it must use displayMessageHeader(), display will be broken in NSM_LAYOUT_PREVIEW mode.
displayPageHeader (line 225)
Prints page header and top menu lines
makeComposeLink (line 179)
Create compose link
Returns a link to the compose-page, taking in consideration the compose_in_new and javascript settings. Function handles compose in a new windows and session id issues internally.
makeExternalLink (line 131)
Same as makeInternalLink, but without base_uri prefix
makeInternalLink (line 94)
nsm_page_title (line 579)
Returns standard formated NaSMail page title.
This function should be used after page header is printed with displayPageHeader(). It allows to use same formating style in all NaSMail pages.
Warning. This function returns html tags with open table cell. Scripts must close cell with '</td></tr></table>' after displaying own output.
Documentation generated on Sun, 22 Nov 2009 17:36:44 +0200 by phpDocumentor 1.4.3