Hi, PhoenixBB
Might be a good idea to read the man page for "diff" - it might make things a little clearer.
125a126,132: This means that on the hacked file lines 126-132 were
added (that's what the 'a' means) - they don't exist in the original file. I copied a few lines above and below so you'd know what the thing was supposed to look like here -
PHP Code:
// Decode the subject and from headers
if (function_exists('imap_mime_header_decode')){
if ($message[subject]){
$elements=imap_mime_header_decode($message[subject]);
$message[subject] = '';
for($i=0;$i<count($elements);$i++) {
$message[subject] .= $elements[$i]->text;
}
}
if ($message[references]){
$elements=imap_mime_header_decode($message[references]);
$message[references] = '';
for($i=0;$i<count($elements);$i++) {
$message[references] .= $elements[$i]->text;
}
}
if ($message[from]){
$elements=imap_mime_header_decode($message[from]);
$message[from] = '';
for($i=0;$i<count($elements);$i++) {
$message[from] .= $elements[$i]->text;
}
}
}
The 258c265 is a straight replacement (that's what the 'c' means). Remember you added lines just now? The line number was 258 in the original file - it's now line 265.
You're getting there
allan
edit: If your "add reply" button doesn't work there's something bollixed up in newreply.php - best to start over with a fresh copy of that file and make sure the hack is applied correctly. The button does work, honest
I gotta go to work now - good luck!