mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-06 06:25:04 +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
phpBB
@ -347,14 +347,16 @@ if( !$userdata['session_logged_in'] )
|
|||||||
{
|
{
|
||||||
$template->assign_block_vars("switch_user_logged_out", array());
|
$template->assign_block_vars("switch_user_logged_out", array());
|
||||||
|
|
||||||
if( $userdata['user_popup_pm'] )
|
|
||||||
{
|
|
||||||
$template->assign_block_vars("switch_enable_pm_popup", array());
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$template->assign_block_vars("switch_user_logged_in", array());
|
$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");
|
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 )
|
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>
|
</script>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user