mirror of
https://github.com/e107inc/e107.git
synced 2025-04-16 10:32:08 +02:00
Issue #3569 Signup template upgrade placeholder added. TODO
This commit is contained in:
parent
742d5cd9be
commit
1648a6abac
@ -268,4 +268,14 @@ if(!defined($SIGNUP_END))
|
||||
{
|
||||
$SIGNUP_END = '';
|
||||
}
|
||||
?>
|
||||
|
||||
|
||||
|
||||
|
||||
// v2.x to-do
|
||||
$SIGNUP_TEMPLATE = array();
|
||||
$SIGNUP_TEMPLATE['start'] = $SIGNUP_BEGIN;
|
||||
$SIGNUP_TEMPLATE['end'] = $SIGNUP_END;
|
||||
$SIGNUP_TEMPLATE['body'] = $SIGNUP_BODY;
|
||||
$SIGNUP_TEMPLATE['extended-user-fields'] = $SIGNUP_EXTENDED_USER_FIELDS;
|
||||
$SIGNUP_TEMPLATE['coppa']= '';
|
30
signup.php
30
signup.php
@ -178,6 +178,17 @@ class signup
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
private function renderForm()
|
||||
{
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
@ -584,13 +595,16 @@ class signup
|
||||
|
||||
}
|
||||
|
||||
if(e_QUERY && e_QUERY != 'stage1')
|
||||
{
|
||||
require_once(HEADERF);
|
||||
new signup;
|
||||
require_once(FOOTERF);
|
||||
exit;
|
||||
}
|
||||
|
||||
|
||||
|
||||
if(e_QUERY && e_QUERY != 'stage1')
|
||||
{
|
||||
require_once(HEADERF);
|
||||
new signup;
|
||||
require_once(FOOTERF);
|
||||
exit;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -1056,6 +1070,8 @@ if ($qs == 'stage1' && $pref['use_coppa'] == 1)
|
||||
require_once(e_HANDLER."form_handler.php");
|
||||
$rs = new form;
|
||||
|
||||
// e107::getCoreTemplate('signup', 'signup');
|
||||
|
||||
$text = $tp->parseTemplate($SIGNUP_BEGIN.$SIGNUP_BODY.$SIGNUP_END, TRUE, $signup_shortcodes);
|
||||
$ns->tablerender(LAN_SIGNUP_79, e107::getMessage()->render('default', true).$text, 'signup' );
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user