equal
deleted
inserted
replaced
75 _LIT8( KDisplayImagesLeftToRight, |
75 _LIT8( KDisplayImagesLeftToRight, |
76 "<script language=\"javascript\">var g_autoLoadImages = %d;</script><table style=\"display: none;\" id=\"displayImagesTable\" width=\"%dpx\"><tr><td align=\"left\">%S</td><td align=\"right\"><input type=\"submit\" class=\"button\" value=\"%S\" onClick=\"displayImagesButtonPressed()\"/></td></tr></table>" ); |
76 "<script language=\"javascript\">var g_autoLoadImages = %d;</script><table style=\"display: none;\" id=\"displayImagesTable\" width=\"%dpx\"><tr><td align=\"left\">%S</td><td align=\"right\"><input type=\"submit\" class=\"button\" value=\"%S\" onClick=\"displayImagesButtonPressed()\"/></td></tr></table>" ); |
77 |
77 |
78 _LIT8( KDisplayImagesRightToLeft, |
78 _LIT8( KDisplayImagesRightToLeft, |
79 "<script language=\"javascript\">var g_autoLoadImages = %d;</script><table style=\"display: none;\" id=\"displayImagesTable\" width=\"%dpx\"><tr><td align=\"left\"><input type=\"submit\" class=\"button\" value=\"%S\" onClick=\"displayImagesButtonPressed()\"/></td><td align=\"right\">%S</td></tr></table>" ); |
79 "<script language=\"javascript\">var g_autoLoadImages = %d;</script><table style=\"display: none;\" id=\"displayImagesTable\" width=\"%dpx\"><tr><td align=\"left\"><input type=\"submit\" class=\"button\" value=\"%S\" onClick=\"displayImagesButtonPressed()\"/></td><td align=\"right\">%S</td></tr></table>" ); |
80 |
80 _LIT8 ( KProtocolIdentifier, "://" ); |
81 const TInt KMaxEventLength( 256 ); |
81 const TInt KMaxEventLength( 256 ); |
82 const TInt KFreestyleMessageHeaderHTMLRightMarginInPx( 10 ); |
82 const TInt KFreestyleMessageHeaderHTMLRightMarginInPx( 10 ); |
83 const TInt KFreestyleMessageHeaderHTMLMaxBufferSizeForWidth( 5 ); |
83 const TInt KFreestyleMessageHeaderHTMLMaxBufferSizeForWidth( 5 ); |
84 |
84 |
85 // Define this to allow theme colorin for the header |
85 // Define this to allow theme colorin for the header |
1007 |
1007 |
1008 |
1008 |
1009 void CFreestyleMessageHeaderHTML::StartHyperlinkL( const TDesC8& aUrl ) const |
1009 void CFreestyleMessageHeaderHTML::StartHyperlinkL( const TDesC8& aUrl ) const |
1010 { |
1010 { |
1011 iWriteStream.WriteL( _L8("<a href=\"") ); |
1011 iWriteStream.WriteL( _L8("<a href=\"") ); |
|
1012 if ( aUrl.FindF( KProtocolIdentifier() ) == KErrNotFound ) |
|
1013 { |
|
1014 iWriteStream.WriteL( _L8("http://")); |
|
1015 } |
1012 iWriteStream.WriteL( aUrl ); |
1016 iWriteStream.WriteL( aUrl ); |
1013 iWriteStream.WriteL( _L8("\">")); |
1017 iWriteStream.WriteL( _L8("\">")); |
1014 iWriteStream.CommitL(); |
1018 iWriteStream.CommitL(); |
1015 } |
1019 } |
1016 |
1020 |