diff options
Diffstat (limited to 'phpBB/includes/page_header.php')
-rw-r--r-- | phpBB/includes/page_header.php | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/phpBB/includes/page_header.php b/phpBB/includes/page_header.php index d108ce0916..35841cb682 100644 --- a/phpBB/includes/page_header.php +++ b/phpBB/includes/page_header.php @@ -22,6 +22,8 @@ * ***************************************************************************/ +DEFINE(HEADER_INC, TRUE); + // Parse and show the overall header. $template->set_filenames(array("overall_header" => "overall_header.tpl", "overall_footer" => "overall_footer.tpl")); @@ -131,6 +133,21 @@ switch($pagetype) "L_POSTNEWIN" => $l_postnewin)); $template->pparse("header"); break; + case 'register': + if(!isset($agreed)) + { + if(!isset($coppa)) + { + $coppa = FALSE; + } + $template->set_filenames(array("body" => "agreement.tpl")); + $template->assign_vars(array("COPPA" => $coppa)); + } + else + { + $template->set_filenames(array("body" => "profile_add_body.tpl")); + } + break; } ?> |