]> git.vanrenterghem.biz Git - www.vanrenterghem.biz.git/blob - phpBB2/templates/christmasWithoutSnow/posting_smilies.tpl
7028535c49f4c2a4f69c2a65774eed222789477b
[www.vanrenterghem.biz.git] / phpBB2 / templates / christmasWithoutSnow / posting_smilies.tpl
2 <script language="javascript" type="text/javascript">
3 <!--
4 function emoticon(text) {
5         text = ' ' + text + ' ';
6         if (opener.document.forms['post'].message.createTextRange && opener.document.forms['post'].message.caretPos) {
7                 var caretPos = opener.document.forms['post'].message.caretPos;
8                 caretPos.text = caretPos.text.charAt(caretPos.text.length - 1) == ' ' ? text + ' ' : text;
9                 opener.document.forms['post'].message.focus();
10         } else {
11         opener.document.forms['post'].message.value  += text;
12         opener.document.forms['post'].message.focus();
13         }
14 }
15 //-->
16 </script>
18 <table width="100%" border="0" cellspacing="0" cellpadding="10">
19         <tr>
20                 <td><table width="100%" border="0" cellspacing="1" cellpadding="4" class="forumline">
21                         <tr>
22                                 <th class="thHead" height="25">{L_EMOTICONS}</th>
23                         </tr>
24                         <tr>
25                                 <td><table width="100" border="0" cellspacing="0" cellpadding="5">
26                                         <!-- BEGIN smilies_row -->
27                                         <tr align="center" valign="middle"> 
28                                                 <!-- BEGIN smilies_col -->
29                                                 <td><a href="javascript:emoticon('{smilies_row.smilies_col.SMILEY_CODE}')"><img src="{smilies_row.smilies_col.SMILEY_IMG}" border="0" alt="{smilies_row.smilies_col.SMILEY_DESC}" title="{smilies_row.smilies_col.SMILEY_DESC}" /></a></td>
30                                                 <!-- END smilies_col -->
31                                         </tr>
32                                         <!-- END smilies_row -->
33                                         <!-- BEGIN switch_smilies_extra -->
34                                         <tr align="center"> 
35                                                 <td colspan="{S_SMILIES_COLSPAN}"><span  class="nav"><a href="{U_MORE_SMILIES}" onclick="open_window('{U_MORE_SMILIES}', 250, 300);return false" target="_smilies" class="nav">{L_MORE_SMILIES}</a></td>
36                                         </tr>
37                                         <!-- END switch_smilies_extra -->
38                                 </table></td>
39                         </tr>
40                         <tr>
41                                 <td align="center"><br /><span class="genmed"><a href="javascript:window.close();" class="genmed">{L_CLOSE_WINDOW}</a></span></td>
42                         </tr>
43                 </table></td>
44         </tr>
45 </table>