1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-02-23 11:28:33 +01:00
php-phpbb/phpBB/templates/Euclid/profile_send_email.tpl
Paul S. Owen 7548acf60e More updates
git-svn-id: file:///svn/phpbb/trunk@1556 89ea8834-ac86-4346-8a33-228a782c2dd0
2001-12-11 14:02:33 +00:00

88 lines
3.5 KiB
Smarty

<!-- Spell checker option part 1: You must sign up for free at www.spellchecker.net to use this option -->
<!-- Change the path to point to the file you got once signed up at Spellchecker.net -->
<!-- Remember to uncomment the spellchecker button near the end of this template -->
<!-- script type="text/javascript" language="javascript" src=spellcheck/spch.js></script -->
<!-- End spellchecker option -->
<script language="JavaScript" type="text/javascript">
<!--
function checkForm(formObj) {
formErrors = false;
if (formObj.message.value.length < 2) {
formErrors = "You must enter a message!";
}
else if ( formObj.subject.value.length < 2)
{
formErrors = "You must enter a subject!";
}
if (formErrors) {
alert(formErrors);
return false;
}
}
//-->
</script>
<form action="{S_POST_ACTION}" method="post" name="post" onSubmit="return checkForm(this)">
{ERROR_BOX}
<table width="98%" cellspacing="0" cellpadding="4" border="0" align="center">
<tr>
<td><span class="gensmall"><a href="{U_INDEX}">{L_INDEX}</a></span></td>
</tr>
</table>
<table width="98%" cellspacing="0" cellpadding="0" border="0" align="center">
<tr>
<td class="tablebg"><table width="100%" cellspacing="1" cellpadding="3" border="0">
<tr>
<td class="cat" colspan="2" height="30" align="center"><span class="cattitle">{L_SEND_EMAIL_MSG}</span></td>
</tr>
<tr>
<td class="row1" width="22%"><span class="gen"><b>{L_RECIPIENT}</b></span></td>
<td class="row2" width="78%"><span class="gen"><b>{USERNAME}</b></span> </td>
</tr>
<tr>
<td class="row1" width="22%"><span class="gen"><b>{L_SUBJECT}</b></span></td>
<td class="row2" width="78%"><span class="courier"><input type="text" name="subject" size="45" maxlength="100" style="width:450px" tabindex="2" class="post" value="{SUBJECT}" /></span></td>
</tr>
<tr>
<td class="row1" valign="top"><span class="gen"><b>{L_MESSAGE_BODY}</b></span><br /><span class="gensmall">{L_MESSAGE_BODY_DESC}</span></td>
<td class="row2"><span class="courier"><textarea name="message" rows="25" cols="40" wrap="virtual" style="width:500px" tabindex="3" class="post">{MESSAGE}</textarea></span></td>
</tr>
<tr>
<td class="row1" valign="top"><span class="gen"><b>{L_OPTIONS}</b></span></td>
<td class="row2"><table cellspacing="0" cellpadding="1" border="0">
<tr>
<td><input type="checkbox" name="cc_email" value="1" checked="checked" /></td>
<td><span class="gen">{L_CC_EMAIL}</span></td>
</tr>
</table></td>
</tr>
<tr>
<td class="cat" colspan="2" align="center" height="28"> {S_HIDDEN_FORM_FIELDS}
<!-- Spell checker option part 2: You must sign up for free at www.spellchecker.net to use this option -->
<!-- Change the path in the onclick function to point to your files you got once signed up at Spellchecker.net -->
<!-- Remember to uncomment the link to the javascript file at the top of this template -->
<!-- input type="button" tabindex="4" class="liteoption" name="spellcheck" value="{L_SPELLCHECK}" onClick= "doSpell ('uk', document.post.message, document.location.protocol + '//' + document.location.host + '/phpBB/spellcheck/sproxy.php', true);" / -->&nbsp;
<!-- End spellchecker option -->
<input class="mainoptiontable" type="submit" tabindex="6" name="submit" value="{L_SEND_EMAIL}" /></td>
</tr>
</table></td>
</tr>
</table>
</form>
<table width="98%" cellspacing="2" cellpadding="0" border="0" align="center">
<tr>
<td valign="top"><span class="gensmall">{S_TIMEZONE}</span></td>
<td align="right">{JUMPBOX}</td>
</tr>
</table>