/functions/page_header.php

Description

page_header.php

Prints the page header (duh)

Includes
require_once (SM_PATH.'functions/strings.php') (line 15)

Include required files from SM

require_once (SM_PATH.'functions/global.php') (line 18)
require_once (SM_PATH.'functions/html.php') (line 16)
Functions
compose_Header (line 374)
void compose_Header ( $color,  $mailbox)
  • $color
  • $mailbox
displayHtmlHeader (line 43)
void displayHtmlHeader ([ $title = 'SquirrelMail'], [ $xtra_param = ''], [ $do_hook = TRUE], [array $script_libs_param = array()])
  • array $script_libs_param: A list of strings, which each point to a script to be added to the <head> of the page being built. Each string can be:
    • One of the pre-defined SM_SCRIPT_LIB_XXX constants (see functions/constants.php) that correspond to libraries that come with SquirrelMail
    • A path to a custom script (say, in a plugin directory) (detected by the existence of at least one path separator in the string) - the script is assumed to be and is included as JavaScript
    • A full tag ("<script>", "<style>" or other) that will be placed verbatim in the page header (detected by the presence of a "<" character at the beginning of the string). NOTE that $xtra provides the same function, without needing the string to start with "<"
  • $title
  • $xtra_param
  • $do_hook
displayInternalLink (line 149)
void displayInternalLink ( $path,  $text, [ $target = ''])
  • $path
  • $text
  • $target
displayPageHeader (line 153)
void displayPageHeader ( $color,  $mailbox, [ $xtra = ''], [ $session = false])
  • $color
  • $mailbox
  • $xtra
  • $session
makeInternalLink (line 141)
void makeInternalLink ( $path,  $text, [ $target = ''])
  • $path
  • $text
  • $target

Documentation generated on Tue, 29 Jul 2014 04:21:40 +0200 by phpDocumentor 1.4.3