]> git.vanrenterghem.biz Git - www.vanrenterghem.biz.git/blob - phpBB2/templates/christmas/posting_smilies.tpl
72ac84ce0b39b6b597af626dd2796273f9105e36
[www.vanrenterghem.biz.git] / phpBB2 / templates / christmas / posting_smilies.tpl
1 \r
2 <script language="javascript" type="text/javascript">\r
3 <!--\r
4 function emoticon(text) {\r
5         text = ' ' + text + ' ';\r
6         if (opener.document.forms['post'].message.createTextRange && opener.document.forms['post'].message.caretPos) {\r
7                 var caretPos = opener.document.forms['post'].message.caretPos;\r
8                 caretPos.text = caretPos.text.charAt(caretPos.text.length - 1) == ' ' ? text + ' ' : text;\r
9                 opener.document.forms['post'].message.focus();\r
10         } else {\r
11         opener.document.forms['post'].message.value  += text;\r
12         opener.document.forms['post'].message.focus();\r
13         }\r
14 }\r
15 //-->\r
16 </script>\r
17 \r
18 <table width="100%" border="0" cellspacing="0" cellpadding="10">\r
19         <tr>\r
20                 <td><table width="100%" border="0" cellspacing="1" cellpadding="4" class="forumline">\r
21                         <tr>\r
22                                 <th class="thHead" height="25">{L_EMOTICONS}</th>\r
23                         </tr>\r
24                         <tr>\r
25                                 <td><table width="100" border="0" cellspacing="0" cellpadding="5">\r
26                                         <!-- BEGIN smilies_row -->\r
27                                         <tr align="center" valign="middle"> \r
28                                                 <!-- BEGIN smilies_col -->\r
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>\r
30                                                 <!-- END smilies_col -->\r
31                                         </tr>\r
32                                         <!-- END smilies_row -->\r
33                                         <!-- BEGIN switch_smilies_extra -->\r
34                                         <tr align="center"> \r
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>\r
36                                         </tr>\r
37                                         <!-- END switch_smilies_extra -->\r
38                                 </table></td>\r
39                         </tr>\r
40                         <tr>\r
41                                 <td align="center"><br /><span class="genmed"><a href="javascript:window.close();" class="genmed">{L_CLOSE_WINDOW}</a></span></td>\r
42                         </tr>\r
43                 </table></td>\r
44         </tr>\r
45 </table>\r