projects
/
squirrelmail.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Removed variables that were initialized, but never actually used
[squirrelmail.git]
/
functions
/
mime.php
diff --git
a/functions/mime.php
b/functions/mime.php
index c43b9c7788f156a43b57ed924784dc59f5075e72..bdbff6bd121bb8f615f99a381d8c43f56d998b37 100644
(file)
--- a/
functions/mime.php
+++ b/
functions/mime.php
@@
-439,7
+439,6
@@
function formatAttachments($message, $exclude_id, $mailbox, $id) {
$links['download link']['text'] = _("Download");
$links['download link']['href'] = SM_PATH .
"src/download.php?absolute_dl=true&passed_id=$id&mailbox=$urlMailbox&ent_id=$ent";
$links['download link']['text'] = _("Download");
$links['download link']['href'] = SM_PATH .
"src/download.php?absolute_dl=true&passed_id=$id&mailbox=$urlMailbox&ent_id=$ent";
- $ImageURL = '';
if ($type0 =='message' && $type1 == 'rfc822') {
$default_page = SM_PATH . 'src/read_body.php';
$rfc822_header = $att->rfc822_header;
if ($type0 =='message' && $type1 == 'rfc822') {
$default_page = SM_PATH . 'src/read_body.php';
$rfc822_header = $att->rfc822_header;
@@
-1125,7
+1124,6
@@
function sq_getnxtag($body, $offset){
break;
}
break;
}
- $tag_start = $pos;
$tagname = '';
/**
* Look for next [\W-_], which will indicate the end of the tag name.
$tagname = '';
/**
* Look for next [\W-_], which will indicate the end of the tag name.
@@
-1185,7
+1183,6
@@
function sq_getnxtag($body, $offset){
* At this point we loop in order to find all attributes.
*/
$attname = '';
* At this point we loop in order to find all attributes.
*/
$attname = '';
- $atttype = false;
$attary = Array();
while ($pos <= strlen($body)){
$attary = Array();
while ($pos <= strlen($body)){
@@
-1594,7
+1591,6
@@
function sq_cid2http($message, $id, $cidurl, $mailbox){
function sq_body2div($attary, $mailbox, $message, $id){
$me = 'sq_body2div';
$divattary = Array('class' => "'bodyclass'");
function sq_body2div($attary, $mailbox, $message, $id){
$me = 'sq_body2div';
$divattary = Array('class' => "'bodyclass'");
- $bgcolor = '#ffffff';
$text = '#000000';
$has_bgc_stl = $has_txt_stl = false;
$styledef = '';
$text = '#000000';
$has_bgc_stl = $has_txt_stl = false;
$styledef = '';