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

[ticket/9989] Skip PM popup in overall_header.html, if there are no new PMs.

PHPBB3-9989
This commit is contained in:
Joas Schilling
2011-01-29 16:13:36 +01:00
parent afc856417f
commit 90f5e4e2b1
2 changed files with 5 additions and 11 deletions

View File

@@ -28,11 +28,8 @@
<script type="text/javascript">
// <![CDATA[
<!-- IF S_USER_PM_POPUP -->
if ({S_NEW_PM})
{
popup('{UA_POPUP_PM}', 400, 225, '_phpbbprivmsg');
}
<!-- IF S_USER_PM_POPUP and S_NEW_PM -->
popup('{UA_POPUP_PM}', 400, 225, '_phpbbprivmsg');
<!-- ENDIF -->
function popup(url, width, height, name)