aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/page_header.php
diff options
context:
space:
mode:
authorJames Atkinson <thefinn@users.sourceforge.net>2001-03-19 01:35:04 +0000
committerJames Atkinson <thefinn@users.sourceforge.net>2001-03-19 01:35:04 +0000
commit9eff7725089a105db853f2aed81370a3abee8d69 (patch)
treea69713414736ed22eeb8651f46781d9a7dd52d36 /phpBB/includes/page_header.php
parent40f1f172a81232e910e09981116e58f45bb6b344 (diff)
downloadforums-9eff7725089a105db853f2aed81370a3abee8d69.tar
forums-9eff7725089a105db853f2aed81370a3abee8d69.tar.gz
forums-9eff7725089a105db853f2aed81370a3abee8d69.tar.bz2
forums-9eff7725089a105db853f2aed81370a3abee8d69.tar.xz
forums-9eff7725089a105db853f2aed81370a3abee8d69.zip
User registration works.
git-svn-id: file:///svn/phpbb/trunk@106 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/page_header.php')
-rw-r--r--phpBB/includes/page_header.php17
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;
}
?>