mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/9989] Skip PM popup in overall_header.html, if there are no new PMs.
PHPBB3-9989
This commit is contained in:
@@ -46,12 +46,9 @@
|
||||
var onload_functions = new Array();
|
||||
var onunload_functions = new Array();
|
||||
|
||||
<!-- IF S_USER_PM_POPUP -->
|
||||
if ({S_NEW_PM})
|
||||
{
|
||||
var url = '{UA_POPUP_PM}';
|
||||
window.open(url.replace(/&/g, '&'), '_phpbbprivmsg', 'height=225,resizable=yes,scrollbars=yes, width=400');
|
||||
}
|
||||
<!-- IF S_USER_PM_POPUP and S_NEW_PM -->
|
||||
var url = '{UA_POPUP_PM}';
|
||||
window.open(url.replace(/&/g, '&'), '_phpbbprivmsg', 'height=225,resizable=yes,scrollbars=yes, width=400');
|
||||
<!-- ENDIF -->
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user