1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 22:10:45 +02:00

[ticket/11795] Move PM popup JS to forum_fn.js

Move PM popup JavaScript from overall_header to forum_fn.js
Use TWIG to escape PM popup URL

PHPBB3-11795
This commit is contained in:
Vjacheslav Trushkin
2013-08-16 19:45:38 +03:00
parent 4c2aad4ca9
commit 22c8df5403
4 changed files with 12 additions and 14 deletions

View File

@@ -23,7 +23,7 @@
<script type="text/javascript">
// <![CDATA[
<!-- IF S_USER_PM_POPUP and S_NEW_PM -->
popup('{UA_POPUP_PM}', 400, 225, '_phpbbprivmsg');
popup('{{ U_POPUP_PM|e('js') }}', 400, 225, '_phpbbprivmsg');
<!-- ENDIF -->
function popup(url, width, height, name)