mirror of
https://github.com/phpbb/phpbb.git
synced 2025-02-24 03:54:10 +01:00
- all changes to styles/subsilver/template are purely cosmetic (no functional changes) - cosmetics - bugfixes - add index to modules table - use modules ordering code for forums too git-svn-id: file:///svn/phpbb/trunk@6073 89ea8834-ac86-4346-8a33-228a782c2dd0
41 lines
1.4 KiB
HTML
41 lines
1.4 KiB
HTML
<!-- INCLUDE simple_header.html -->
|
|
|
|
<script language="javascript" type="text/javascript">
|
|
<!--
|
|
/**
|
|
* Apply clicked smiley to message body
|
|
*/
|
|
function smiley(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_SMILIES}</th>
|
|
</tr>
|
|
<tr>
|
|
<td class="row1" align="center" valign="middle"><!-- BEGIN smiley --> <a href="javascript:smiley('{smiley.A_SMILEY_CODE}')"><img src="{smiley.SMILEY_IMG}" width="{smiley.SMILEY_WIDTH}" height="{smiley.SMILEY_HEIGHT}" border="0" alt="{smiley.SMILEY_DESC}" title="{smiley.SMILEY_DESC}" hspace="2" vspace="2" onclick="smiley('{smiley.A_SMILEY_CODE}');return false" /></a> <!-- END smiley --><br /><a class="nav" href="javascript:window.close();">{L_CLOSE_WINDOW}</a></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<!-- INCLUDE simple_footer.html --> |