squirrelmail-webmail  1.4.22
About: SquirrelMail is a standards-based webmail package with strong MIME support, address books, and folder manipulation (written in PHP4).
  Fossies Dox: squirrelmail-webmail-1.4.22.tar.gz  ("inofficial" and yet experimental doxygen-generated source code documentation)  

webmail.php File Reference

Go to the source code of this file.




const PAGE_NAME 'webmail'
const SM_PATH '../'
if(sqgetGlobalVar('sort', $sort)) if(sqgetGlobalVar('startMessage', $startMessage)) if(!sqgetGlobalVar('mailbox', $mailbox)) if(sqgetGlobalVar('mailtodata', $mailtodata)) else
 $right_frame_url = ''
 $my_language = getPref($data_dir, $username, 'language')
 $left_size = getPref($data_dir, $username, 'left_size')
 $location_of_bar = getPref($data_dir, $username, 'location_of_bar')
if($location_of_bar=='') $temp_location_of_bar = ''
 $ret = concat_hook_function('webmail_bottom', $output)
 if ( $ret !='')

Variable Documentation

◆ $left_size

$left_size = getPref($data_dir, $username, 'left_size')

Definition at line 77 of file webmail.php.

◆ $location_of_bar

$location_of_bar = getPref($data_dir, $username, 'location_of_bar')

Definition at line 78 of file webmail.php.

◆ $my_language

$my_language = getPref($data_dir, $username, 'language')

We'll need this to later have a noframes version

Check if the user has a language preference, but no cookie. Send him a cookie with his language preference, if there is such discrepancy.

Definition at line 64 of file webmail.php.

Referenced by set_my_charset().

◆ $output

Initial value:
= "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Frameset//EN\">\n".
"<html><head>\n" .
"<meta name=\"robots\" content=\"noindex,nofollow\">\n" .

Definition at line 71 of file webmail.php.

Referenced by plugin_listcommands_menu().

◆ $ret

◆ $right_frame_url

$right_frame_url = ''

Definition at line 54 of file webmail.php.

◆ $temp_location_of_bar

if ( $location_of_bar=='') $temp_location_of_bar = ''

Definition at line 90 of file webmail.php.

◆ else

if (empty( $right_frame_url)) if ( $location_of_bar=='right') else
Initial value:
$mailtourl = ''

Definition at line 47 of file webmail.php.

◆ if

if($ret !='')

Definition at line 173 of file webmail.php.


const PAGE_NAME 'webmail'

This is the webmail page

Definition at line 17 of file webmail.php.


const SM_PATH '../'

Path for SquirrelMail required files. @ignore

Definition at line 23 of file webmail.php.