diff --git a/phpBB/groupcp.php b/phpBB/groupcp.php
index 75f3421f79..8ea9f90b1f 100644
--- a/phpBB/groupcp.php
+++ b/phpBB/groupcp.php
@@ -195,7 +195,7 @@ else if( isset($HTTP_POST_VARS['joingroup']) && $group_id )
"GROUP_MODERATOR" => $moderator['username'],
"EMAIL_SIG" => str_replace("
", "\n", "-- \n" . $board_config['board_email_sig']),
- "U_GROUPCP" => $protocol . $server_name . $path . "/groupcp.$phpEx?" . POST_GROUPS_URL . "=$group_id")
+ "U_GROUPCP" => $protocol . $server_name . $path . "/groupcp.$phpEx?" . POST_GROUPS_URL . "=$group_id&validate=true")
);
$emailer->send();
$emailer->reset();
@@ -551,6 +551,18 @@ else if( $group_id )
// END approve or deny
//
+ //
+ // Did the group moderator get here through an email?
+ // If so, check to see if they are logged in.
+ //
+ if( isset($HTTP_GET_VARS['validate']) );
+ {
+ if( !$userdata['session_logged_in'] )
+ {
+ header("Location: " . append_sid("login.$phpEx?redirect=groupcp.$phpEx&" . POST_GROUPS_URL . "=$group_id", true));
+ }
+ }
+
//
// Get group details
//
@@ -1241,4 +1253,4 @@ else
//
include($phpbb_root_path . 'includes/page_tail.'.$phpEx);
-?>
\ No newline at end of file
+?>
diff --git a/phpBB/templates/subSilver/admin/index_navigate.tpl b/phpBB/templates/subSilver/admin/index_navigate.tpl
index cab9b9475d..5977bdfcd7 100644
--- a/phpBB/templates/subSilver/admin/index_navigate.tpl
+++ b/phpBB/templates/subSilver/admin/index_navigate.tpl
@@ -1,7 +1,7 @@
![]() |
+ ![]() |
|
@@ -13,7 +13,7 @@ | {L_ADMIN_INDEX} | |
{L_FORUM_INDEX} | +{L_FORUM_INDEX} | |
{L_PREVIEW_FORUM} | diff --git a/phpBB/templates/subSilver/profile_add_body.tpl b/phpBB/templates/subSilver/profile_add_body.tpl index 83a1a812ea..b82f69c4d0 100644 --- a/phpBB/templates/subSilver/profile_add_body.tpl +++ b/phpBB/templates/subSilver/profile_add_body.tpl @@ -208,7 +208,7 @@{L_DATE_FORMAT}: {L_DATE_FORMAT_EXPLAIN} |
- + |