mirror of
https://github.com/ZDoom/zdoom-styles.git
synced 2024-11-21 19:31:00 +00:00
62 lines
No EOL
1.5 KiB
HTML
62 lines
No EOL
1.5 KiB
HTML
<script type="text/javascript">
|
|
<!--
|
|
/**
|
|
* Toggle the visibility of the qr box
|
|
*/
|
|
function toggle_quick_reply()
|
|
{
|
|
if (document.getElementById('quick_reply'))
|
|
{
|
|
if (document.getElementById('quick_reply').style.display == 'none')
|
|
{
|
|
document.getElementById('quick_reply').style.display = 'block';
|
|
}
|
|
else
|
|
{
|
|
document.getElementById('quick_reply').style.display = 'none';
|
|
}
|
|
}
|
|
}
|
|
|
|
if (1)
|
|
{
|
|
if (document.addEventListener)
|
|
{
|
|
document.addEventListener('DOMContentLoaded', toggle_quick_reply, false);
|
|
}
|
|
else
|
|
{
|
|
window.onload = function()
|
|
{
|
|
toggle_quick_reply();
|
|
}
|
|
}
|
|
}
|
|
//-->
|
|
</script>
|
|
|
|
<div id="quick_reply">
|
|
<form method="post" action="{U_QR_ACTION}">
|
|
|
|
<table width="80%" cellspacing="1">
|
|
<tr>
|
|
<td align="left" width="22%" class="gensmall"><b>{L_SUBJECT}:</b></td>
|
|
<td align="left" width="78%"><input class="post" style="width:450px" type="text" name="subject" size="45" maxlength="64" tabindex="2" value="{SUBJECT}" /></td>
|
|
</tr>
|
|
<tr>
|
|
<td align="left" width="22%" class="gensmall"><b>{L_MESSAGE}:</b></td>
|
|
<td valign="top" align="left" width="78%"><textarea name="message" rows="7" cols="76" tabindex="3" style="width: 98%;"></textarea> </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="table_bot" colspan="2" align="center">
|
|
<input class="btnmain" type="submit" accesskey="s" tabindex="6" name="post" value="{L_SUBMIT}" />
|
|
<input class="btnlite" type="submit" accesskey="f" tabindex="7" name="full_editor" value="{L_FULL_EDITOR}" />
|
|
{S_FORM_TOKEN}
|
|
{QR_HIDDEN_FIELDS}
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</form>
|
|
</div>
|
|
<br clear="all" /> |