Changeset 994
- Timestamp:
- 04/16/02 15:33:45 (11 years ago)
- Location:
- trunk
- Files:
-
- 3 modified
-
cgi-bin/lj-bml-init.pl (modified) (1 diff)
-
doc/INSTALL.txt (modified) (2 diffs)
-
htdocs/talkpost_do.bml (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/cgi-bin/lj-bml-init.pl
r941 r994 30 30 use LJ::TagGenerator ':html4'; 31 31 use Digest::MD5 qw(md5_hex); 32 use MIME::Words qw(encode_mimewords); 33 32 34 require 'imageconf.pl'; 33 35 require 'propparse.pl'; -
trunk/doc/INSTALL.txt
r857 r994 91 91 Image::Size 92 92 FCGI 93 MIME::Tools 93 94 MIME::Lite 94 95 Compress::Zlib … … 111 112 If you're using Debian this should get everything: 112 113 113 # apt-get install libwww-perl libfcgi-perl libmime- lite-perl \114 # apt-get install libwww-perl libfcgi-perl libmime-perl libmime-lite-perl \ 114 115 libsoap-lite-perl libgd-perl liburi-perl \ 115 116 libimage-size-perl libdbd-mysql-perl libdbi-perl \ -
trunk/htdocs/talkpost_do.bml
r981 r994 514 514 } 515 515 516 if ($headersubject) { 517 $headersubject = encode_mimewords($headersubject, 518 ('Charset'=>$encoding)); 519 } 520 516 521 my $fromname = $up->{'user'} ? "$up->{'user'} - LJ Comment" : "LiveJournal Comment"; 517 522 my $msg = new MIME::Lite ('From' => "$LJ::BOGUS_EMAIL ($fromname)", … … 540 545 541 546 my $html = ""; 542 $html .= "< BODY BGCOLOR=#EFEFFF TEXT=#000000 LINK=#0000FF VLINK=#A000C0>";547 $html .= "<head><meta http-equiv=\"Content-Type\" content=\"text/html; charset=$encoding\"></head><BODY BGCOLOR=#EFEFFF TEXT=#000000 LINK=#0000FF VLINK=#A000C0>"; 543 548 $html .= "<TABLE><TR VALIGN=TOP><TD>$whopic</TD><TD WIDTH=100%><B>$who</B>$whouserhtml replied to <A HREF=\"$LJ::SITEROOT/talkread.bml?${jargent}itemid=$ditemid\">your LiveJournal comment</A> in which you said:</TD></TR></TABLE>\n\n"; 544 549 my $htmlbody = $parentcomment; … … 617 622 } 618 623 624 if ($headersubject) { 625 $headersubject = encode_mimewords($headersubject, 626 ('Charset'=>$encoding)); 627 } 628 629 619 630 my $fromname = $up->{'user'} ? "$up->{'user'} - LJ Comment" : "LiveJournal Comment"; 620 631 my $msg = new MIME::Lite ('From' => "$LJ::BOGUS_EMAIL ($fromname)", … … 649 660 650 661 my $html = ""; 651 $html .= "< BODY BGCOLOR=#EFEFFF TEXT=#000000 LINK=#0000FF VLINK=#A000C0>";662 $html .= "<head><meta http-equiv=\"Content-Type\" content=\"text/html; charset=$encoding\"></head><BODY BGCOLOR=#EFEFFF TEXT=#000000 LINK=#0000FF VLINK=#A000C0>"; 652 663 if ($parentcomment) { 653 664 $html .= "<TABLE><TR VALIGN=TOP><TD>$whopic</TD><TD WIDTH=100%><B>$who</B>$whouserhtml replied to another comment somebody left in <A HREF=\"$LJ::SITEROOT/talkread.bml?${jargent}itemid=$ditemid\">your LiveJournal post</A>. The comment they replied to was:</TD></TR></TABLE>\n";
