root/ip/tags/release_1_3_0_53/templates/default/privmsgs_read_body.tpl
| 111 | 163 | ||
|---|---|---|---|
82 | </table> | 82 | </table> |
83 | </div> | 83 | </div> |
84 | <script type="text/javascript"> | 84 | <script type="text/javascript"> |
85 | <!-- | 85 | // <![CDATA[ |
86 | |||
86 | message = new Array(); | 87 | message = new Array(); |
87 | message[{privmsgs_id}] = " user=\"{RECIPIENT_QQ}\"]{PLAIN_MESSAGE}[/"; | 88 | message[{privmsgs_id}] = " user=\"{RECIPIENT_QQ}\"]{PLAIN_MESSAGE}[/"; |
88 | 89 | ||
89 | function addquote(privmsgs_id, tag) | 90 | // ]]> |
90 | { | ||
91 | document.getElementById('quick_reply').style.display=""; | ||
92 | str_find = new Array("<_mg;", ">_mg;") | ||
93 | str_replace = new Array("<", ">") | ||
94 | for(var i = 0; i < message[privmsgs_id].length; i++) | ||
95 | { | ||
96 | for (var j = 0; j < str_find.length; j++) | ||
97 | { | ||
98 | if (message[privmsgs_id].search(str_find[j]) != -1) | ||
99 | { | ||
100 | message[privmsgs_id] = message[privmsgs_id].replace(str_find[j],str_replace[j]); | ||
101 | } | ||
102 | } | ||
103 | } | ||
104 | document.post.message.value += "[" + tag + message[privmsgs_id] + tag + "]"; | ||
105 | document.post.message.focus(); | ||
106 | return; | ||
107 | } | ||
108 | //--> | ||
109 | </script> | 91 | </script> |
110 | <br /> | 92 | <br /> |
111 | <form method="post" action="{S_PRIVMSGS_ACTION}"> | 93 | <form method="post" action="{S_PRIVMSGS_ACTION}"> |
... | ... | ||
154 | {EMAIL_IMG} | 136 | {EMAIL_IMG} |
155 | {WWW_IMG} | 137 | {WWW_IMG} |
156 | </div> | 138 | </div> |
157 | <a href="javascript:addquote(%27{privmsgs_id}%27,%27quote%27);"><img src="{IMG_QUICK_QUOTE}" alt="{L_QUICK_QUOTE}"
title="{L_QUICK_QUOTE}" /></a> | 139 | <a href="javascript:addquote(%27{privmsgs_id}%27,%27quote%27,true,false);"><img src="{IMG_QUICK_QUOTE}" alt="{L_QUICK_QUOTE}" title="{L_QUICK_QUOTE}" /></a> |
158 | <a href="javascript:addquote(%27{privmsgs_id}%27,%27ot%27);"><img src="{IMG_OFFTOPIC}" alt="{L_OFFTOPIC}"
title="{L_OFFTOPIC}" /></a> | 140 | <a href="javascript:addquote(%27{privmsgs_id}%27,%27ot%27,true,false);"><img src="{IMG_OFFTOPIC}" alt="{L_OFFTOPIC}" title="{L_OFFTOPIC}" /></a> |
159 | </div> | 141 | </div> |
160 | </td> | 142 | </td> |
161 | </tr> | 143 | </tr> |
Download diff