]> git.vanrenterghem.biz Git - www.vanrenterghem.biz.git/blob - phpBB2/templates/christmas/profile_send_email.tpl
7b85aab6806caa39b001e99cb038dc1cd7ea3978
[www.vanrenterghem.biz.git] / phpBB2 / templates / christmas / profile_send_email.tpl
1 \r
2 <script language="JavaScript" type="text/javascript">\r
3 <!--\r
4 function checkForm(formObj) {\r
5 \r
6         formErrors = false;    \r
7 \r
8         if (formObj.message.value.length < 2) {\r
9                 formErrors = "{L_EMPTY_MESSAGE_EMAIL}";\r
10         }\r
11         else if ( formObj.subject.value.length < 2)\r
12         {\r
13                 formErrors = "{L_EMPTY_SUBJECT_EMAIL}";\r
14         }\r
15 \r
16         if (formErrors) {\r
17                 alert(formErrors);\r
18                 return false;\r
19         }\r
20 }\r
21 //-->\r
22 </script>\r
23 \r
24 <form action="{S_POST_ACTION}" method="post" name="post" onSubmit="return checkForm(this)">\r
25 \r
26 {ERROR_BOX}\r
27 \r
28 <table width="100%" cellspacing="2" cellpadding="2" border="0" align="center">\r
29         <tr>\r
30                 <td align="left"><span  class="nav"><a href="{U_INDEX}" class="nav">{L_INDEX}</a></span></td>\r
31         </tr>\r
32 </table>\r
33 \r
34 <table border="0" cellpadding="3" cellspacing="1" width="100%" class="forumline">\r
35         <tr> \r
36                 <th class="thHead" colspan="2" height="25"><b>{L_SEND_EMAIL_MSG}</b></th>\r
37         </tr>\r
38         <tr> \r
39                 <td class="row1" width="22%"><span class="gen"><b>{L_RECIPIENT}</b></span></td>\r
40                 <td class="row2" width="78%"><span class="gen"><b>{USERNAME}</b></span> </td>\r
41         </tr>\r
42         <tr> \r
43                 <td class="row1" width="22%"><span class="gen"><b>{L_SUBJECT}</b></span></td>\r
44                 <td class="row2" width="78%"><span class="gen"><input type="text" name="subject" size="45" maxlength="100" style="width:450px" tabindex="2" class="post" value="{SUBJECT}" /></span> </td>\r
45         </tr>\r
46         <tr> \r
47                 <td class="row1" valign="top"><span class="gen"><b>{L_MESSAGE_BODY}</b></span><br /><span class="gensmall">{L_MESSAGE_BODY_DESC}</span></td>\r
48                 <td class="row2"><span class="gen"><textarea name="message" rows="25" cols="40" wrap="virtual" style="width:500px" tabindex="3" class="post">{MESSAGE}</textarea></span></td>\r
49         </tr>\r
50         <tr> \r
51                 <td class="row1" valign="top"><span class="gen"><b>{L_OPTIONS}</b></span></td>\r
52                 <td class="row2"><table cellspacing="0" cellpadding="1" border="0">\r
53                         <tr> \r
54                                 <td><input type="checkbox" name="cc_email"  value="1" checked="checked" /></td>\r
55                                 <td><span class="gen">{L_CC_EMAIL}</span></td>\r
56                         </tr>\r
57                 </table></td>\r
58         </tr>\r
59         <tr>\r
60                 <td class="catBottom" colspan="2" align="center" height="28"><input type="submit" tabindex="6" name="submit" class="mainoption" value="{L_SEND_EMAIL}" /></td>\r
61         </tr>\r
62 </table>\r
63 \r
64 <table width="100%" cellspacing="2" border="0" align="center" cellpadding="2">\r
65         <tr> \r
66                 <td align="right" valign="top"><span class="gensmall">{S_TIMEZONE}</span></td>\r
67         </tr>\r
68 </table></form>\r
69 \r
70 <table width="100%" cellspacing="2" border="0" align="center">\r
71         <tr>\r
72                 <td valign="top" align="right">{JUMPBOX}</td>\r
73         </tr>\r
74 </table>\r