1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 14:00:31 +02:00

User registration works.

git-svn-id: file:///svn/phpbb/trunk@106 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
James Atkinson
2001-03-19 01:35:04 +00:00
parent 40f1f172a8
commit 9eff772508
14 changed files with 822 additions and 202 deletions

View File

@@ -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;
}
?>