diff options
Diffstat (limited to 'phpBB/styles/templates/subSilver/posting_smilies.html')
| -rw-r--r-- | phpBB/styles/templates/subSilver/posting_smilies.html | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/phpBB/styles/templates/subSilver/posting_smilies.html b/phpBB/styles/templates/subSilver/posting_smilies.html new file mode 100644 index 0000000000..2abb607031 --- /dev/null +++ b/phpBB/styles/templates/subSilver/posting_smilies.html @@ -0,0 +1,35 @@ +<!-- $Id$ --> + +<!-- INCLUDE simple_header.html --> + +<script language="javascript" type="text/javascript"> +<!-- +function emoticon(text) { + text = ' ' + text + ' '; + + if (opener.document.forms['post'].message.createTextRange && opener.document.forms['post'].message.caretPos) { + var caretPos = opener.document.forms['post'].message.caretPos; + caretPos.text = caretPos.text.charAt(caretPos.text.length - 1) == ' ' ? text + ' ' : text; + opener.document.forms['post'].message.focus(); + } else { + opener.document.forms['post'].message.value += text; + opener.document.forms['post'].message.focus(); + } +} +//--> +</script> + +<table width="100%" cellspacing="1" cellpadding="4" border="0"> + <tr> + <td><table class="tablebg" width="95%" cellspacing="1" cellpadding="4" border="0"> + <tr> + <th height="28">{L_EMOTICONS}</th> + </tr> + <tr> + <td class="row1" align="center" valign="middle"><!-- BEGIN emoticon --> <a href="javascript:emoticon('{emoticon.SMILEY_CODE}')"><img src="{emoticon.SMILEY_IMG}" width="{emoticon.SMILEY_WIDTH}" height="{emoticon.SMILEY_HEIGHT}" border="0" alt="{emoticon.SMILEY_DESC}" title="{emoticon.SMILEY_DESC}" hspace="2" vspace="2" onclick="emoticon('{emoticon.SMILEY_CODE}');return false" /></a> <!-- END emoticon --><br /><a class="nav" href="javascript:window.close();">{L_CLOSE_WINDOW}</a></td> + </tr> + </table></td> + </tr> +</table> + +<!-- INCLUDE simple_footer.html -->
\ No newline at end of file |
