1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 14:00:31 +02:00

this is very much work in progress; please feel free to improve markup, usability and to introduce possible further settings (per forum, per user)

git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9688 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Henry Sudhof
2009-06-26 14:36:40 +00:00
parent 366a15d605
commit a130dd31ed
4 changed files with 126 additions and 2 deletions

View File

@@ -0,0 +1,58 @@
<script type="text/javascript">
// <![CDATA[
function hide_qr(hide)
{
var qr = document.getElementById('qr_editor_div');
var qr_show = document.getElementById('qr_showeditor_div');
qr_show.style.display = (hide) ? '' : 'none';
qr.style.display = (hide) ? 'none' : '';
return true;
}
onload_functions.push('hide_qr(true);');
// ]]>
</script>
<form method="post" action="{U_QR_ACTION}">
<div class="panel" id="qr_editor_div">
<div class="inner"><span class="corners-top"><span></span></span>
<div class="content">
<h2>{L_QUICKREPLY}</h2>
<fieldset class="fields1">
<dl style="clear: left;">
<dt><label for="subject">{L_SUBJECT}:</label></dt>
<dd><input type="text" name="subject" id="subject" size="45" maxlength="64" tabindex="2" value="{SUBJECT}" class="inputbox autowidth" /></dd>
</dl>
</fieldset>
<div id="message-box">
<textarea style="height: 9em;" name="message" rows="7" cols="76" tabindex="3" class="inputbox"></textarea>
</div>
<fieldset class="submit-buttons">
{S_FORM_TOKEN}
{S_HIDDEN_FIELDS}
<input type="submit" accesskey="s" tabindex="6" name="post" value="{L_SUBMIT}" class="button1" />&nbsp;
</fieldset>
</div>
<span class="corners-bottom"><span></span></span></div>
</div>
<div class="panel" style="display: none" id="qr_showeditor_div" >
<div class="inner"><span class="corners-top"><span></span></span>
<div class="content">
<h2>{L_QUICKREPLY}</h2>
<fieldset class="submit-buttons">
<input type="submit" name="show_qr" tabindex="1" class="button2" value="{L_SHOW_QR}" onclick="hide_qr(false);return false;"/>
</fieldset>
</div>
<span class="corners-bottom"><span></span></span></div>
</div>
</form>
<hr />

View File

@@ -0,0 +1,23 @@
<form method="post" action="{U_QR_ACTION}">
<table class="tablebg" width="100%" cellspacing="1">
<tr>
<th align="center" colspan="2">{L_QUICKREPLY}</th>
</tr>
<tr>
<td class="row1" width="22%"><b class="genmed">{L_SUBJECT}:</b></td>
<td class="row2" width="78%"><input class="post" style="width:450px" type="text" name="subject" size="45" maxlength="64" tabindex="2" value="{SUBJECT}" /></td>
</tr>
<tr>
<td colspan="2" valign="top" align="center" style="width: 75%;"><textarea name="message" rows="7" cols="76" tabindex="3" style="width: 98%;"></textarea> </td></tr>
<tr>
<td class="cat" colspan="2" align="center">
<input class="btnmain" type="submit" accesskey="s" tabindex="6" name="post" value="{L_SUBMIT}" />
{S_FORM_TOKEN}
{S_HIDDEN_FIELDS}
</td>
</tr>
</table>
</form>
<br clear="all" />