- added "Significant Contributions" section to AUTHORS file
- Fixed misspelling of Portuguese (was Portugese)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@680
7612ce4b-ef26-0410-bec9-
ea0150e637f0
- Luke Ehresman (luke@squirrelmail.org)
- Nathan Ehresman (nathan@squirrelmail.org)
- Gustav Foseid (gustavf@squirrelmail.org)
- Pål Løberg (pallo@squirrelmail.org)
+ Luke Ehresman <luke@squirrelmail.org>
+ Nathan Ehresman <nathan@squirrelmail.org>
+ Gustav Foseid <gustavf@squirrelmail.org>
+ Pål Løberg <pallo@squirrelmail.org>
Shane Wilson
Sergiusz Pawlowicz
Steve Gare
Gerrit Padgham
Matt Phillips
Shane Wilson
Sergiusz Pawlowicz
Steve Gare
Gerrit Padgham
Matt Phillips
Lewis Bergman
Translations:
-------------
Lewis Bergman
Translations:
-------------
- Norwegian: Gustav Foseid (gustavf@squirrelmail.org)
- German: Chris Thil (cj@limburgerhof.de)
- Russian: Konstantin Riabitsev (graf@relhum.org)
- Polish: Lukasz Klimek (casa@lo.pila.pl)
- Swedish: Tobias Ekbom (tobias@vallcom.net)
- Dutch: Arjan Halma (arjan@halma.nl)
- Portugese (Brazil): Henrique Moura (henriquemoura@hotmail.com)
+ Norwegian: Gustav Foseid <gustavf@squirrelmail.org>
+ German: Chris Thil <cj@limburgerhof.de>
+ Russian: Konstantin Riabitsev <graf@relhum.org>
+ Polish: Lukasz Klimek <casa@lo.pila.pl>
+ Swedish: Tobias Ekbom <tobias@vallcom.net>
+ Dutch: Arjan Halma <arjan@halma.nl>
+ Portuguese (Brazil): Henrique Moura <henriquemoura@hotmail.com>
+
+ Significant Contributions:
+ --------------------------
+ Konstantin Riabitsev <graf@relhum.org>
+ Alex Bleeker <beheer@hackers.nl>
+ Many others...
$languages["sv"]["CHARSET"] = "iso-8859-1";
$languages["nl"]["NAME"] = "Dutch";
$languages["nl"]["CHARSET"] = "iso-8859-1";
$languages["sv"]["CHARSET"] = "iso-8859-1";
$languages["nl"]["NAME"] = "Dutch";
$languages["nl"]["CHARSET"] = "iso-8859-1";
- $languages["pt_BR"]["NAME"] = "Portugese (Brazil)";
+ $languages["pt_BR"]["NAME"] = "Portuguese (Brazil)";
$languages["pt_BR"]["CHARSET"] = "iso-8859-1";
// Decodes a string to the internal encoding from the given charset
$languages["pt_BR"]["CHARSET"] = "iso-8859-1";
// Decodes a string to the internal encoding from the given charset
$read = fgets ($imap_stream, 10000);
$response = substr($read, 0, 4);
}
$read = fgets ($imap_stream, 10000);
$response = substr($read, 0, 4);
}
- $read = strtolower($bodystructure);
+ // $read = strtolower($bodystructure);
+ $read = $bodystructure;
if ($debug_mime) echo "<tt>$read</tt><br><br>";
// isolate the body structure and remove beginning and end parenthesis
if ($debug_mime) echo "<tt>$read</tt><br><br>";
// isolate the body structure and remove beginning and end parenthesis
- $read = trim(substr ($read, strpos($read, "bodystructure") + 13));
+ $read = trim(substr ($read, strpos(strtolower($read), "bodystructure") + 13));
$read = trim(substr ($read, 0, -1));
$end = mime_match_parenthesis(0, $read);
while ($end == strlen($read)-1) {
$read = trim(substr ($read, 0, -1));
$end = mime_match_parenthesis(0, $read);
while ($end == strlen($read)-1) {
// This is where all the text parts get put into the header
switch ($elem_num) {
case 1:
// This is where all the text parts get put into the header
switch ($elem_num) {
case 1:
- $msg->header->type0 = $text;
- if ($debug_mime) echo "<tt>type0 = $text</tt><br>";
+ $msg->header->type0 = strtolower($text);
+ if ($debug_mime) echo "<tt>type0 = ".strtolower($text)."</tt><br>";
- $msg->header->type1 = $text;
- if ($debug_mime) echo "<tt>type1 = $text</tt><br>";
+ $msg->header->type1 = strtolower($text);
+ if ($debug_mime) echo "<tt>type1 = ".strtolower($text)."</tt><br>";
break;
case 5:
$msg->header->description = $text;
if ($debug_mime) echo "<tt>description = $text</tt><br>";
break;
case 6:
break;
case 5:
$msg->header->description = $text;
if ($debug_mime) echo "<tt>description = $text</tt><br>";
break;
case 6:
- $msg->header->encoding = $text;
- if ($debug_mime) echo "<tt>encoding = $text</tt><br>";
+ $msg->header->encoding = strtolower($text);
+ if ($debug_mime) echo "<tt>encoding = ".strtolower($text)."</tt><br>";
break;
case 7:
$msg->header->size = $text;
break;
case 7:
$msg->header->size = $text;
$structure = trim(substr($structure, strlen($tmp) + 2));
$k = count($props);
$structure = trim(substr($structure, strlen($tmp) + 2));
$k = count($props);
- $props[$k]["name"] = $tmp;
+ $props[$k]["name"] = strtolower($tmp);
$props[$k]["value"] = $value;
} else if ($char == "(") {
$end = mime_match_parenthesis (0, $structure);
$props[$k]["value"] = $value;
} else if ($char == "(") {
$end = mime_match_parenthesis (0, $structure);
error_reporting(0); // Rename will produce error output if it fails
if (!rename($attachfile, $attachment_dir.$localfilename)) {
if (!copy($attachfile, $attachment_dir.$localfilename)) {
error_reporting(0); // Rename will produce error output if it fails
if (!rename($attachfile, $attachment_dir.$localfilename)) {
if (!copy($attachfile, $attachment_dir.$localfilename)) {
- plain_error_message(_("Could not move/copy file. File not attached"));
+ plain_error_message(_("Could not move/copy file. File not attached"), $color);