* @package squirrelmail
*/
+/** This is the about page */
+define('PAGE_NAME', 'about');
+
/**
* Include the SquirrelMail initialization file.
*/
* @subpackage addressbook
*/
+/** This is the addrbook_popup page */
+define('PAGE_NAME', 'addrbook_popup');
+
/**
* Include the SquirrelMail initialization file.
*/
* @subpackage addressbook
*/
+/** This is the addrbook_search page */
+define('PAGE_NAME', 'addrbook_search');
+
/**
* Include the SquirrelMail initialization file.
*/
* init.php.
*/
if (!isset($bInit)) {
+ /** This is the addrbook_search_html page */
+ define('PAGE_NAME', 'addrbook_search_html');
+
include('../include/init.php');
}
* @subpackage addressbook
*/
+/** This is the addressbook page */
+define('PAGE_NAME', 'addressbook');
+
/**
* Include the SquirrelMail initialization file.
*/
do_hook('addressbook_bottom', $null);
$oTemplate->display('footer.tpl');
-?>
* @package squirrelmail
*/
+/** This is the compose page */
+define('PAGE_NAME', 'compose');
+
/**
* Include the SquirrelMail initialization file.
*/
* If it throws errors you need to adjust your config. *
************************************************************/
+/** This is the configtest page */
+define('PAGE_NAME', 'configtest');
+
// This script could really use some restructuring as it has grown quite rapidly
// but is not very 'clean'. Feel free to get some structure into this thing.
EOF;
echo $footer;
}
-?>
* @package squirrelmail
*/
+define('PAGE_NAME', 'delete_message');
+
/**
* Include the SquirrelMail initialization file.
*/
include('../include/init.php');
error_box('delete_message.php script is obsolete since 1.5.1.');
$oTemplate->display('footer.tpl');
-?>
\ No newline at end of file
* @package squirrelmail
*/
+/** This is the download page */
+define('PAGE_NAME', 'download');
+
/**
* Include the SquirrelMail initialization file.
*/
* @package squirrelmail
*/
+/** This is the empty_trash page */
+define('PAGE_NAME', 'empty_trash');
+
/**
* Include the SquirrelMail initialization file.
*/
$location = get_location();
header ("Location: $location/left_main.php");
-?>
* @package squirrelmail
*/
+/** This is the folders page */
+define('PAGE_NAME', 'folders');
+
/**
* Include the SquirrelMail initialization file.
*/
$oTemplate->display('folder_manip.tpl');
$oTemplate->display('footer.tpl');
-?>
* @package squirrelmail
*/
+/** This is the help page */
+define('PAGE_NAME', 'help');
+
/**
* Include the SquirrelMail initialization file.
*/
do_hook('help_bottom', $null);
$oTemplate->display('footer.tpl');
-?>
* @package squirrelmail
*/
+/** This is the image page */
+define('PAGE_NAME', 'image');
+
/**
* Include the SquirrelMail initialization file.
*/
* @package squirrelmail
*/
+/** This is the left_main page */
+define('PAGE_NAME', 'left_main');
+
/**
* Include the SquirrelMail initialization file.
*/
* @package squirrelmail
*/
+/** This is the login page */
+define('PAGE_NAME', 'login');
+
// reduces the files included in init.php
$sInitLocation = 'login';
* @package squirrelmail
*/
+/** This is the mailto page */
+define('PAGE_NAME', 'mailto');
+
// reduce the included files in int.php
$bLogin = true;
session_write_close();
header('Location: ' . get_location() . '/' . $redirect);
-?>
* @subpackage prefs
*/
+/** This is the options page */
+define('PAGE_NAME', 'options');
+
/**
* Include the SquirrelMail initialization file.
*/
* @subpackage prefs
*/
+/** This is the options_highlight page */
+define('PAGE_NAME', 'options_highlight');
+
/**
* Include the SquirrelMail initialization file.
*/
do_hook('options_highlight_bottom', $null);
$oTemplate->display('footer.tpl');
-?>
* @since 1.1.3
*/
+/** This is the options_identities page */
+define('PAGE_NAME', 'options_identities');
+
/**
* Include the SquirrelMail initialization file.
*/
}
-?>
* @subpackage prefs
*/
+/** This is the options_order page */
+define('PAGE_NAME', 'options_order');
+
/**
* Include the SquirrelMail initialization file.
*/
$oTemplate->display('options_order.tpl');
$oTemplate->display('footer.tpl');
-?>
* @package squirrelmail
*/
+/** This is the printer_friendly_bottom page */
+define('PAGE_NAME', 'printer_friendly_bottom');
+
/**
* Include the SquirrelMail initialization file.
*/
* @package squirrelmail
*/
+/** This is the printer_friendly_main page */
+define('PAGE_NAME', 'printer_friendly_main');
+
/**
* Include the SquirrelMail initialization file.
*/
* @package squirrelmail
*/
+/** This is the printer_friendly_top page */
+define('PAGE_NAME', 'printer_friendly_top');
+
/**
* Include the SquirrelMail initialization file.
*/
$oTemplate->display('printer_friendly_top.tpl');
$oTemplate->display('footer.tpl');
-?>
\ No newline at end of file
* @package squirrelmail
*/
+/** This is the read_body page */
+define('PAGE_NAME', 'read_body');
+
/**
* Include the SquirrelMail initialization file.
*/
do_hook('read_body_bottom', $null);
sqimap_logout($imapConnection);
$oTemplate->display('footer.tpl');
-?>
*/
$sInitLocation = 'redirect';
+/** This is the redirect page */
+define('PAGE_NAME', 'redirect');
+
/**
* Include the SquirrelMail initialization file.
*/
* @package squirrelmail
*/
+/** This is the right_main page */
+define('PAGE_NAME', 'right_main');
+
//xdebug_start_profiling("/var/spool/xdebug/right_main.txt");
* @todo explain why references are used in function calls
*/
+/** This is the search page */
+define('PAGE_NAME', 'search');
+
/**
* Include the SquirrelMail initialization file.
*/
$oTemplate->display('footer.tpl');
sqsession_register($mailbox_cache,'mailbox_cache');
-?>
* @since 1.5.2
*
*/
+
+/** This is the squirrelmail_rpc page */
+define('PAGE_NAME', 'squirrelmail_rpc');
+
//FIXME: If we decide to route ALL requests, even normal page
// requests through this file, need to change page requests
// to something like this
* @package squirrelmail
*/
+/** This is the style page */
+define('PAGE_NAME', 'style');
+
/**
* Set the location in order to skip unneeded validation and other includes
* in the SquirrelMail initialisation file.
* @package squirrelmail
*/
+/** This is the vcard page */
+define('PAGE_NAME', 'vcard');
+
/**
* Include the SquirrelMail initialization file.
*/
$oTemplate->display('vcard.tpl');
$oTemplate->display('footer.tpl');
-?>
* @package squirrelmail
*/
+/** This is the view_header page */
+define('PAGE_NAME', 'view_header');
+
/**
* Include the SquirrelMail initialization file.
*/
$oTemplate->display('view_header.tpl');
$oTemplate->display('footer.tpl');
-?>
\ No newline at end of file
<?php
/**
- * $Source$
+ * view_html
* Displays html message parts
*
* File is used to display html message parts. Usually inside iframe.
* @package squirrelmail
*/
+/** This is the view_html page */
+define('PAGE_NAME', 'view_html');
+
/**
* Include the SquirrelMail initialization file.
*/
/** TODO: charset might be part of html code. */
header('Content-Type: text/html; charset=' . $charset);
echo $body;
-?>
* @package squirrelmail
*/
+/** This is the view_text page */
+define('PAGE_NAME', 'view_text');
+
/** SquirrelMail required files. */
include('../include/init.php');
include(SM_PATH . 'functions/imap_general.php');
$oTemplate->display('view_text.tpl');
$oTemplate->display('footer.tpl');
-?>
* @package squirrelmail
*/
+/** This is the webmail page */
+define('PAGE_NAME', 'webmail');
+
/**
* Include the SquirrelMail initialization file.
*/