mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-06 14:35:56 +02:00
PM popup and icon are finally in place
git-svn-id: file:///svn/phpbb/trunk@1406 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
cad29155b8
commit
d630bbde99
@ -347,14 +347,16 @@ if( !$userdata['session_logged_in'] )
|
||||
{
|
||||
$template->assign_block_vars("switch_user_logged_out", array());
|
||||
|
||||
if( $userdata['user_popup_pm'] )
|
||||
{
|
||||
$template->assign_block_vars("switch_enable_pm_popup", array());
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
$template->assign_block_vars("switch_user_logged_in", array());
|
||||
|
||||
if( $userdata['user_popup_pm'] )
|
||||
{
|
||||
$template->assign_block_vars("switch_enable_pm_popup", array());
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
header ("Cache-Control: no-store, no-cache, must-revalidate");
|
||||
|
@ -208,7 +208,7 @@ a.copyright:hover { color: #000000; text-decoration: underline;}
|
||||
|
||||
if( new_pm_flag )
|
||||
{
|
||||
window.open('{U_PRIVATEMSGS_POPUP}', '_phpbbprivmsg', 'HEIGHT=200,resizable=yes,WIDTH=400');;
|
||||
window.open('{U_PRIVATEMSGS_POPUP}', '_phpbbprivmsg', 'HEIGHT=225,resizable=yes,WIDTH=400');;
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
|
Loading…
x
Reference in New Issue
Block a user