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