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:
@@ -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;
|
||||
}
|
||||
|
||||
?>
|
||||
|
Reference in New Issue
Block a user