Added an option to send a copy to self to the "Mail Story to a Friend" dialog and made the look of this and the "Send mail to user" dialogs more consistent
1 {start_block_mailstory2friend}
2 <form action="{site_url}/profiles.php" method="post" name="contact">
3 <table cellspacing="0" cellpadding="3" width="100%">
5 <td class="alignright"><b>{lang_title}:</b></td>
9 <td class="alignright"><b>{lang_fromname}:</b></td>
10 <td><input type="text" name="from" size="40" maxlength="96" value="{name}"{xhtml}></td>
13 <td class="alignright"><b>{lang_fromemailaddress}:</b></td>
14 <td><input type="text" name="fromemail" size="40" maxlength="96" value="{email}"{xhtml}></td>
17 <td class="alignright"><b>{lang_toname}:</b></td>
18 <td><input type="text" name="to" size="40" maxlength="96" value="{toname}"{xhtml}></td>
21 <td class="alignright"><b>{lang_toemailaddress}:</b></td>
22 <td><input type="text" name="toemail" size="40" maxlength="96" value="{toemail}"{xhtml}></td>
25 <td class="alignright" style="vertical-align:top;"><b>{lang_shortmessage}:</b></td>
26 <td><textarea name="shortmsg" rows="10" style="width:100%">{shortmsg}</textarea></td>
29 <td class="alignright"><b>{lang_cc}</b></td>
30 <td><input type="checkbox" name="cc" checked="checked"{xhtml}> {lang_cc_description}</td>
34 <td colspan="2" class="warning aligncenter" style="padding-top:10px;">
36 <div style="padding:5px;">
37 <input type="hidden" name="sid" value="{story_id}"{xhtml}>
38 <input type="hidden" name="what" value="sendstory"{xhtml}>
39 <input type="submit" value="{lang_sendmessage}"{xhtml}>