diff options
| author | Joseph Warner <hardolaf@hardolaf.com> | 2013-08-09 05:12:41 -0400 |
|---|---|---|
| committer | Joseph Warner <hardolaf@hardolaf.com> | 2013-08-09 05:12:57 -0400 |
| commit | deb62d51fe4e06e52fbc4042b692071bcd8f9d39 (patch) | |
| tree | ea07fb0fa86efee195910bf5e584b4b7dadf98d9 /phpBB/includes | |
| parent | b5255d42b56b1d0d14bcd9a70218689932065ce6 (diff) | |
| download | forums-deb62d51fe4e06e52fbc4042b692071bcd8f9d39.tar forums-deb62d51fe4e06e52fbc4042b692071bcd8f9d39.tar.gz forums-deb62d51fe4e06e52fbc4042b692071bcd8f9d39.tar.bz2 forums-deb62d51fe4e06e52fbc4042b692071bcd8f9d39.tar.xz forums-deb62d51fe4e06e52fbc4042b692071bcd8f9d39.zip | |
[feature/oauth] Start building the template
PHPBB3-11673
Diffstat (limited to 'phpBB/includes')
| -rw-r--r-- | phpBB/includes/ucp/ucp_auth_link.php | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/phpBB/includes/ucp/ucp_auth_link.php b/phpBB/includes/ucp/ucp_auth_link.php index 266273cff8..6bf74d4fbf 100644 --- a/phpBB/includes/ucp/ucp_auth_link.php +++ b/phpBB/includes/ucp/ucp_auth_link.php @@ -21,6 +21,34 @@ class ucp_auth_link public function main($id, $mode) { + global $template, $phpbb_container; + + $error = array(); + $s_hidden_fields = array(); + add_form_key('ucp_auth_link'); + + $submit = $request->variable('submit', false, false, phpbb_request_interface::POST); + + if ($submit) + { + if (!check_form_key('ucp_reg_details')) + { + $error[] = 'FORM_INVALID'; + } + + if (!sizeof($error)) + { + + } + } + + $s_hidden_fields = build_hidden_fields($s_hidden_fields); + + $template->assign_vars(array( + 'S_HIDDEN_FIELDS' => $s_hidden_fields, + 'S_UCP_ACTION' => $this->u_action, + )); + $this->tpl_name = 'ucp_auth_link'; $this->page_title = 'UCP_AUTH_LINK'; } |
