**/
include('../src/validate.php');
- include('../functions/page_header.php');
include('../functions/addressbook.php');
- include('../src/load_prefs.php');
-
- set_up_language(getPref($data_dir, $username, 'language'));
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN">
include('../functions/array.php');
include('../functions/strings.php');
- include('../functions/page_header.php');
include('../functions/addressbook.php');
- include('../src/load_prefs.php');
displayHtmlHeader();
**/
include('../src/validate.php');
- include('../functions/page_header.php');
include('../functions/date.php');
include('../functions/smtp.php');
include('../functions/display_messages.php');
include('../functions/addressbook.php');
include('../functions/plugin.php');
- include('../src/load_prefs.php');
// Insert hidden data
function addr_insert_hidden() {
include('../src/validate.php');
include('../functions/array.php');
- include('../functions/page_header.php');
include('../functions/display_messages.php');
include('../functions/addressbook.php');
}
- include('../src/load_prefs.php');
-
// Open addressbook, with error messages on but without LDAP (the
// second "true"). Don't need LDAP here anyway
$abook = addressbook_init(true, true);
**/
include('../src/validate.php');
- include("../functions/page_header.php");
include("../functions/imap.php");
include("../functions/date.php");
include("../functions/mime.php");
include("../functions/smtp.php");
include("../functions/display_messages.php");
include ("../functions/plugin.php");
- include("../src/load_prefs.php");
if (!isset($attachments))
{
**/
include("../src/validate.php");
- include("../functions/page_header.php");
include("../functions/display_messages.php");
include("../functions/imap.php");
- include("../src/load_prefs.php");
$imapConnection = sqimap_login($username, $key, $imapServerAddress, $imapPort, 0);
sqimap_mailbox_select($imapConnection, $mailbox);
include("../functions/imap.php");
include("../functions/mime.php");
include("../functions/date.php");
- include("../src/load_prefs.php");
header("Pragma: ");
header("Cache-Control: cache");
if ($type1 == "plain" || $type1 == "html") {
$body = mime_fetch_body($imapConnection, $passed_id, $passed_ent_id);
$body = decodeBody($body, $header->encoding);
- include("../functions/page_header.php");
viewText($color, $body, $passed_id, $passed_ent_id, $mailbox, $type1, $wrap_at);
} else {
DumpHeaders($type0, $type1, $filename, 0);
case "message":
$body = mime_fetch_body($imapConnection, $passed_id, $passed_ent_id);
$body = decodeBody($body, $header->encoding);
- include("../functions/page_header.php");
viewText($color, $body, $passed_id, $passed_ent_id, $mailbox, $type1, $wrap_at);
break;
default:
**/
include('../src/validate.php');
- include("../functions/page_header.php");
include("../functions/display_messages.php");
include("../functions/imap.php");
include("../functions/array.php");
include("../functions/tree.php");
- include("../src/load_prefs.php");
$imap_stream = sqimap_login($username, $key, $imapServerAddress, $imapPort, 0);
**/
include('../src/validate.php');
- include("../functions/page_header.php");
include("../functions/imap.php");
include("../functions/array.php");
include("../functions/plugin.php");
- include("../src/load_prefs.php");
displayPageHeader($color, _("None"));
**/
include('../src/validate.php');
- include("../functions/page_header.php");
include("../functions/imap.php");
include("../functions/display_messages.php");
- include("../src/load_prefs.php");
$imapConnection = sqimap_login($username, $key, $imapServerAddress, $imapPort, 0);
$dm = sqimap_get_delimiter($imapConnection);
**/
include('../src/validate.php');
- include("../functions/page_header.php");
include("../functions/imap.php");
include("../functions/array.php");
include("../functions/tree.php");
- include("../src/load_prefs.php");
/*
* Incoming values:
**/
include("../src/validate.php");
- include("../functions/page_header.php");
include("../functions/imap.php");
- include("../src/load_prefs.php");
if($old_name == $new_name) {
**/
include('../src/validate.php');
- include("../functions/page_header.php");
include("../functions/imap.php");
- include("../src/load_prefs.php");
$imapConnection = sqimap_login($username, $key, $imapServerAddress, $imapPort, 0);
**/
include ('../src/validate.php');
- include("../functions/page_header.php");
include("../functions/imap.php");
include("../functions/display_messages.php");
- include("../src/load_prefs.php");
$imapConnection = sqimap_login($username, $key, $imapServerAddress, $imapPort, 0);
$dm = sqimap_get_delimiter($imapConnection);
**/
include('../src/validate.php');
- include("../functions/page_header.php");
include("../functions/display_messages.php");
include("../functions/imap.php");
include("../functions/array.php");
- include("../src/load_prefs.php");
displayPageHeader($color, "None");
include('../src/validate.php');
include("../functions/array.php");
include("../functions/imap.php");
- include("../functions/page_header.php");
include("../functions/plugin.php");
- include("../src/load_prefs.php");
// open a connection on the imap port (143)
$imapConnection = sqimap_login($username, $key, $imapServerAddress, $imapPort, 10); // the 10 is to hide the output
** $Id$
**/
+ $rcptaddress = '';
+ if (isset($emailaddress)) {
+ if (stristr($emailaddress, 'mailto:'))
+ $rcptaddress = substr($emailaddress, 7);
+ else
+ $rcptaddress = $emailaddress;
+ }
+
include("../functions/strings.php");
include("../config/config.php");
include('../functions/i18n.php');
echo " </TD><TD WIDTH=* ALIGN=left>\n";
echo " <INPUT TYPE=PASSWORD NAME=\"$password_form_name\">\n";
echo " </TD>\n";
- if (isset($emailaddress)) {
- if (stristr($emailaddress,"mailto:"))
- $rcptaddress = substr ($emailaddress, 7,strlen($emailaddress)-7);
- else
- $rcptaddress = $emailaddress;
+ if ($rcptaddress != '') {
echo " <INPUT TYPE=HIDDEN NAME=\"rcptemail\" VALUE=\"".htmlspecialchars($rcptaddress)."\">\n";
}
echo " </TABLE>\n";
**/
include('../src/validate.php');
- include("../functions/page_header.php");
include("../functions/display_messages.php");
include("../functions/imap.php");
- include("../src/load_prefs.php");
function putSelectedMessagesIntoString($msg) {
$j = 0;
**/
include('../src/validate.php');
- include('../functions/page_header.php');
include('../functions/display_messages.php');
include('../functions/imap.php');
include('../functions/array.php');
$squirrelmail_language = $language;
}
- include('../src/load_prefs.php');
displayPageHeader($color, _("None"));
?>
**/
include('../src/validate.php');
- include('../functions/page_header.php');
include('../functions/display_messages.php');
include('../functions/imap.php');
include('../functions/array.php');
include('../functions/plugin.php');
- include('../src/load_prefs.php');
displayPageHeader($color, 'None');
$chosen_language = getPref($data_dir, $username, 'language');
**/
include('../src/validate.php');
- include('../functions/page_header.php');
include('../functions/display_messages.php');
include('../functions/imap.php');
include('../functions/array.php');
include('../functions/plugin.php');
- include('../src/load_prefs.php');
displayPageHeader($color, 'None');
**/
include('../src/validate.php');
- include('../functions/page_header.php');
include('../functions/display_messages.php');
include('../functions/imap.php');
include('../functions/array.php');
$message_highlight_list[$theid]['value'] = $value;
$message_highlight_list[$theid]['match_type'] = $match_type;
}
- include('../src/load_prefs.php');
displayPageHeader($color, 'None');
?>
<br>
**/
include('../src/validate.php');
- include('../functions/page_header.php');
include('../functions/display_messages.php');
- include('../src/load_prefs.php');
if (isset($return)) {
SaveUpdateFunction();
**/
include('../src/validate.php');
- include('../functions/page_header.php');
include('../functions/display_messages.php');
include('../functions/imap.php');
include('../functions/array.php');
removePref($data_dir, $username, "highlight$theid");
} else if ($action == 'save') {
}
- include('../src/load_prefs.php');
displayPageHeader($color, 'None');
?>
<br>
**/
include('../src/validate.php');
- include('../functions/page_header.php');
include('../functions/display_messages.php');
include('../functions/imap.php');
include('../functions/array.php');
include('../functions/plugin.php');
- include('../src/load_prefs.php');
displayPageHeader($color, 'None');
**/
include("../src/validate.php");
- include('../functions/page_header.php');
include('../functions/imap.php');
include('../functions/mime.php');
include('../functions/date.php');
include('../functions/url_parser.php');
- include('../src/load_prefs.php');
$imapConnection = sqimap_login($username, $key, $imapServerAddress, $imapPort, 0);
sqimap_mailbox_select($imapConnection, $mailbox);
session_register ('base_uri');
if(!isset($login_username)) {
+ if (! isset($squirrelmail_language))
+ $squirrelmail_language = '';
+ set_up_language($squirrelmail_language, true);
echo "<html><body bgcolor=\"ffffff\">\n";
echo "<br><br>";
echo "<center>";
include('../src/validate.php');
include('../functions/imap.php');
include('../functions/date.php');
- include('../functions/page_header.php');
include('../functions/array.php');
include('../functions/mime.php');
include('../functions/mailbox_display.php');
include('../functions/display_messages.php');
-?>
-<?php
/////////////////////////////////////////////////////////////////////////////////
//
// incoming variables from URL:
// open a connection on the imap port (143)
$imapConnection = sqimap_login($username, $key, $imapServerAddress, $imapPort, 0);
- /** If it was a successful login, lets load their preferences **/
- include('../src/load_prefs.php');
-
if (isset($newsort) && $newsort != $sort) {
setPref($data_dir, $username, 'sort', $newsort);
}
/* $Id$ */
include('../src/validate.php');
- include('../functions/page_header.php');
include('../functions/imap.php');
include('../functions/imap_search.php');
include('../functions/array.php');
- include('../src/load_prefs.php');
displayPageHeader($color, $mailbox);
$imapConnection = sqimap_login($username, $key, $imapServerAddress, $imapPort, 0);
**/
include('../src/validate.php');
- include ('../src/load_prefs.php');
include ('../functions/prefs.php');
include ('../functions/plugin.php');
unlink($attachment_dir . $info['localfilename']);
}
}
- set_up_language(getPref($data_dir, $username, 'language'));
// If a user hits reload on the last page, $base_uri isn't set
// because it was deleted with the session.
// variables overwrite any passed in variables (for security)
include ('../functions/strings.php');
include ('../config/config.php');
-
+ include ('../src/load_prefs.php');
+ include ('../functions/page_header.php');
+
+ // Set up the language
+ // i18n.php was included by auth.php
+ global $username, $data_dir;
+ set_up_language(getPref($data_dir, $username, 'language'));
?>