mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
fix QR flicker
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9972 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
ebf3651e3e
commit
27d717a80d
2 changed files with 36 additions and 2 deletions
|
@ -48,6 +48,7 @@ $lang = array_merge($lang, array(
|
||||||
'BUMP_TOPIC' => 'Bump topic',
|
'BUMP_TOPIC' => 'Bump topic',
|
||||||
|
|
||||||
'CODE' => 'Code',
|
'CODE' => 'Code',
|
||||||
|
'COLLAPSE_QR' => 'Hide Quick Reply',
|
||||||
|
|
||||||
'DELETE_TOPIC' => 'Delete topic',
|
'DELETE_TOPIC' => 'Delete topic',
|
||||||
'DOWNLOAD_NOTICE' => 'You do not have the required permissions to view the files attached to this post.',
|
'DOWNLOAD_NOTICE' => 'You do not have the required permissions to view the files attached to this post.',
|
||||||
|
|
|
@ -7,11 +7,43 @@
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
onload_functions.push('hide_qr();');
|
|
||||||
|
function init_qr()
|
||||||
|
{
|
||||||
|
dE('qr_showeditor_div');
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
onload_functions.push('init_qr();');
|
||||||
// ]]>
|
// ]]>
|
||||||
</script>
|
</script>
|
||||||
|
<noscript>
|
||||||
<form method="post" action="{U_QR_ACTION}">
|
<form method="post" action="{U_QR_ACTION}">
|
||||||
<div class="panel" id="qr_editor_div">
|
<div class="panel" id="qr_ns_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-ns" size="45" maxlength="64" tabindex="2" value="{SUBJECT}" class="inputbox autowidth" /></dd>
|
||||||
|
</dl>
|
||||||
|
<div id="message-box-ns">
|
||||||
|
<textarea style="height: 9em;" name="message" rows="7" cols="76" tabindex="3" class="inputbox"></textarea>
|
||||||
|
</div>
|
||||||
|
</fieldset>
|
||||||
|
<fieldset class="submit-buttons">
|
||||||
|
{S_FORM_TOKEN}
|
||||||
|
{QR_HIDDEN_FIELDS}
|
||||||
|
<input type="submit" accesskey="s" tabindex="6" name="post" value="{L_SUBMIT}" class="button1" />
|
||||||
|
<input type="submit" accesskey="f" tabindex="7" name="full_editor" value="{L_FULL_EDITOR}" class="button2" />
|
||||||
|
</fieldset>
|
||||||
|
</div>
|
||||||
|
<span class="corners-bottom"><span></span></span></div>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
</noscript>
|
||||||
|
<form method="post" action="{U_QR_ACTION}">
|
||||||
|
<div class="panel" style="display: none" id="qr_editor_div">
|
||||||
<div class="inner"><span class="corners-top"><span></span></span>
|
<div class="inner"><span class="corners-top"><span></span></span>
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<h2>{L_QUICKREPLY}</h2>
|
<h2>{L_QUICKREPLY}</h2>
|
||||||
|
@ -30,6 +62,7 @@
|
||||||
<input type="submit" accesskey="s" tabindex="6" name="post" value="{L_SUBMIT}" class="button1" />
|
<input type="submit" accesskey="s" tabindex="6" name="post" value="{L_SUBMIT}" class="button1" />
|
||||||
<input type="submit" accesskey="f" tabindex="6" name="full_editor" value="{L_FULL_EDITOR}" class="button2" />
|
<input type="submit" accesskey="f" tabindex="6" name="full_editor" value="{L_FULL_EDITOR}" class="button2" />
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
<a href="" class="top" onclick="hide_qr(); return false;" title="{L_COLLAPSE_QR}">{L_COLLAPSE_QR}</a>
|
||||||
</div>
|
</div>
|
||||||
<span class="corners-bottom"><span></span></span></div>
|
<span class="corners-bottom"><span></span></span></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Add table
Reference in a new issue