aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--phpBB/includes/page_header.php10
-rw-r--r--phpBB/templates/subSilver/overall_header.tpl2
2 files changed, 7 insertions, 5 deletions
diff --git a/phpBB/includes/page_header.php b/phpBB/includes/page_header.php
index 3635e71f1f..a73d3fd648 100644
--- a/phpBB/includes/page_header.php
+++ b/phpBB/includes/page_header.php
@@ -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");
diff --git a/phpBB/templates/subSilver/overall_header.tpl b/phpBB/templates/subSilver/overall_header.tpl
index 754e80d656..724c9551c0 100644
--- a/phpBB/templates/subSilver/overall_header.tpl
+++ b/phpBB/templates/subSilver/overall_header.tpl
@@ -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>