From: p d. t. <pdo...@an...> - 2005-04-08 02:40:31
|
td...@cb... wrote: > Hi Paul: > Installed the html_mail v2.2. Works like a charm! Even with default > configuration. > Thanks for all that you do. my pleasure. thanks for testing it out. cheers, paul >>I believe I have fixed this. I am sending you the new v2.2 offlist. >>Anyone else who wants it should email me offlist, although I plan to >>release this soon pending confirmation of the fix. >> >> -paul >> >>td...@cb... wrote: >> >>>>Use the attached replacement for setup.php to avoid the error on the >>>>options page, but what is troubling is that nothing showed up at all on >>>>the compose page. NOTHING? Please try the attached functions.php file, >>>>which I changed a little bit. You should ideally see something like: >>>> >>>>IS PLUGIN TURNED ON...? >>>>YES! >>>>-------------------------- >>>>EDITOR IS: 1 >>>>-------------------------- >>>>FINAL EDITOR IS: 1 >>>>-------------------------- >>>> >>>>Thanks again, >>>> >>>> Paul >>>> >>> >>> >>>Thanks, Paul. >>>With the new setup file, the error in the Options page is gone. >>>However, with the new functions.php file, no messages about plugins, >>>editors, etc at all in the compose page! The source is shown below just >>>in >>>case I'm missing something. >>> >>>Toni >>>======== >>><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> >>> >>><html> >>> >>><head> >>> >>><title>SquirrelMail</title><script language="JavaScript" >>>type="text/javascript"> >>><!-- >>>function checkForm() { >>>var f = document.forms.length; >>>var i = 0; >>>var pos = -1; >>>while( pos == -1 && i < f ) { >>>var e = document.forms[i].elements.length; >>>var j = 0; >>>while( pos == -1 && j < e ) { >>>if ( document.forms[i].elements[j].type == 'text' ) { >>>pos = j; >>>} >>>j++; >>>} >>>i++; >>>} >>>if( pos >= 0 ) { >>>document.forms[i-1].elements[pos].focus(); >>>} >>>} >>>// --> >>></script> >>> >>><style type="text/css"> >>><!-- >>> /* avoid stupid IE6 bug with frames and scrollbars */ >>> body { >>> voice-family: "\"}\""; >>> voice-family: inherit; >>> width: expression(document.documentElement.clientWidth - 30); >>> } >>>--> >>></style> >>> >>></head> >>> >>><body text="#000000" bgcolor="#FFFFFF" link="#0000CC" vlink="#0000CC" >>>alink="#0000CC" onload="checkForm();"> >>> >>><a name="pagetop"></a> >>><table bgcolor="#FFFFFF" border="0" width="100%" cellspacing="0" >>>cellpadding="2"> >>> >>><tr bgcolor="#ABABAB"> >>> >>><td align="left"> >>> >>> Current Folder: <b>INBOX </b> >>> </td> >>><td align="right"> >>><b> >>><a href="/mail/src/signout.php" target="_top">Sign Out</a></b></td> >>> >>> </tr> >>><tr bgcolor="#FFFFFF"> >>> >>><td align="left"> >>> >>><a >>>href="/mail/src/compose.php?mailbox=INBOX&startMessage=1">Compose</a> >>><a href="/mail/src/addressbook.php">Addresses</a> >>><a href="/mail/src/folders.php">Folders</a> >>><a href="/mail/src/options.php">Options</a> >>><a href="/mail/src/search.php?mailbox=INBOX">Search</a> >>><a href="/mail/src/help.php">Help</a> >>> >>> </td> >>><td align="right"> >>> >>><a href="http://www.squirrelmail.org/" >>>target="_blank">SquirrelMail</a></td> >>> </tr> >>></table><br> >>> >>> >>><form name="compose" action="compose.php" method="post" >>>enctype="multipart/form-data"> >>><input type="hidden" name="startMessage" value="1" /> >>><input type="hidden" name="session" value="1" /> >>><input type="hidden" name="passed_id" value="" /> >>><table align="center" cellspacing="0" border="0"> >>> <tr> >>> >>><td bgcolor="#FFFFFF" align="right" width="10%"> >>>To:</td> >>><td bgcolor="#FFFFFF" align="left" width="90%"> >>><input type="text" name="send_to" value="" size="60" /> >>><br /> >>> </td> >>> </tr> >>> <tr> >>><td bgcolor="#FFFFFF" align="right"> >>>Cc:</td> >>><td bgcolor="#FFFFFF" align="left"> >>><input type="text" name="send_to_cc" value="" size="60" /> >>> >>><br /> >>> </td> >>> </tr> >>> <tr> >>><td bgcolor="#FFFFFF" align="right"> >>>Bcc:</td> >>><td bgcolor="#FFFFFF" align="left"> >>><input type="text" name="send_to_bcc" value="" size="60" /> >>><br /> >>> </td> >>> </tr> >>> >>> <tr> >>><td bgcolor="#FFFFFF" align="right"> >>>Subject:</td> >>><td bgcolor="#FFFFFF" align="left"> >>> >>> <input type="text" name="subject" value="" size="60" /> >>> </td> >>> </tr> >>> >>> <tr> >>> <td></td> >>> >>> <td> >>> Priority<select name="mailprio"> >>><option value="1">High</option> >>><option value="3" selected="selected">Normal</option> >>><option value="5">Low</option> >>></select> >>> Receipt: <input type="checkbox" name="request_mdn" value="1" >>>/> >>>On Read<input type="checkbox" name="request_dr" value="1" /> >>> >>>On Delivery </td> >>> </tr> >>> <tr> >>> <td></td> >>> <td> >>> <input type="submit" name="sigappend" value="Signature" /> >>> <input type="submit" name="html_addr_search" value="Addresses" >>>/> >>> <input type="submit" name ="draft" value="Save Draft" /> >>> <input type="submit" name="send" value="Send" /> >>> >>><input type="radio" name="strip_html_send_plain" >>>id="strip_html_send_plain_html" CHECKED value="0" /><label >>>for="strip_html_send_plain_html">HTML</label><input type="radio" >>>onClick="if (!confirm('Warning: all special formatting will be lost. >>>Are >>>you sure you want to send your message in plain text format?')) >>>document.compose.strip_html_send_plain[0].checked = true;" >>>name="strip_html_send_plain" id="strip_html_send_plain_plain" value="1" >>>/><label for="strip_html_send_plain_plain">Plain Text</label> </td> >>> </tr> >>> >>> <tr> >>> <td bgcolor="#FFFFFF" colspan="2"> >>> <textarea name="body" id="body" rows="20" cols="76" >>>wrap="virtual"></textarea><br /> >>> </td> >>> </tr> >>> >>> <tr> >>><td align="right" colspan="2"> >>> >>> <input type="submit" name="send" value="Send" /> >>> <br /><br /> >>> </td> >>> </tr> >>><input type="hidden" name="MAX_FILE_SIZE" value="4194304" /> >>> <tr> >>> <td colspan="2"> >>> >>> <table width="100%" cellpadding="1" cellspacing="0" >>>align="center" border="0" bgcolor="#ABABAB"> >>> <tr> >>> <td> >>> <table width="100%" cellpadding="3" cellspacing="0" >>>align="center" border="0"> >>> <tr> >>><td align="right" valign="middle"> >>>Attach:</td> >>><td align="left" valign="middle"> >>> <input name="attachfile" size="48" type="file" >>>/> >>> <input type="submit" name="attach" >>>value="Add" /> >>> >>>(max. 4<small> M</small>) </td> >>> </tr> >>> </table> >>> </td> >>> </tr> >>> </table> >>> </td> >>> >>> </tr> >>></table> >>><input type="hidden" name="username" value="" /> >>><input type="hidden" name="smaction" value="" /> >>><input type="hidden" name="mailbox" value="INBOX" /> >>><input type="hidden" name="restoremessages" >>>value="a:1:{i:1;O:7:"message":21:{s:13:"rfc822_header";O:12:"rfc822header":20:{s:4:"date";i:-1;s:7:"subject";s:0:"";s:4:"from";a:0:{}s:6:"sender";s:0:"";s:8:"reply_to";a:0:{}s:2:"to";a:0:{}s:2:"cc";a:0:{}s:3:"bcc";a:0:{}s:11:"in_reply_to";s:0:"";s:10:"message_id";s:0:"";s:10:"references";s:0:"";s:4:"mime";b:0;s:12:"content_type";s:0:"";s:11:"disposition";s:0:"";s:7:"xmailer";s:0:"";s:8:"priority";i:3;s:3:"dnt";s:0:"";s:8:"encoding";s:0:"";s:5:"mlist";a:0:{}s:12:"more_headers";a:0:{}}s:11:"mime_header";s:0:"";s:5:"flags";s:0:"";s:5:"type0";s:0:"";s:5:"type1";s:0:"";s:8:& q >> >>uot;entities";a:0:{}s:9:"entity_id";s:0:"";s:10:"parent_ent";N;s:6:"entity";N;s:6:"parent";s:0:"";s:12:"decoded_body";s:0:"";s:7:"is_seen";i:0;s:11:"is_answered";i:0;s:10:"is_deleted";i:0;s:10:"is_flagged";i:0;s:10:"is_mdnsent";i:0;s:9:"body_part";s:0:"";s:6:"offset";i:0;s:6:"length";i:0;s:14:"att_local_name";s:0:"";s:19:"reply_rfc822_header";s:0:"";}}" >> >>>/> >>><input type="hidden" name="composesession" value="1" /> >>><input type="hidden" name="querystring" >>>value="mailbox=INBOX&startMessage=1" /> >>></form> >>><script language="javascript" type="text/javascript"> >>><!-- >>>document.compose.body.value = document.compose.body.value.replace(/\n/g, >>>"<br />"); >>>// --> >>></script><script DEFER language="javascript" type="text/javascript"> >>><!-- >>>var oFCKeditor = new FCKeditor("body", 532, 320);oFCKeditor.BasePath = >>>"../plugins/html_mail/fckeditor/";oFCKeditor.Config["AutoDetectLanguage"] >>>= false;oFCKeditor.Config["DefaultLanguage"] = >>>"en";oFCKeditor.Config["SpellChecker"] = >>>"SpellerPages";oFCKeditor.ReplaceTextarea(); >>>// --> >>></script></body></html> >>> >>-- >> >>Open Guild, LLC >>http://openguild.net/ >>Software.Systems.Solutions >> |