set_filenames( array('register'=>'register.tpl') ); $template->assign(array( 'U_HOME' => make_index_url(), 'F_KEY' => $registration_post_key, 'F_ACTION' => 'register.php', 'F_LOGIN' => $login, 'F_EMAIL' => $email )); //-------------------------------------------------------------- errors display if (count($errors) != 0) { $template->assign('errors', $errors); } // include menubar $themeconf = $template->get_template_vars('themeconf'); if (!isset($themeconf['Exclude']) OR !in_array('theRegisterPage', $themeconf['Exclude'])) { include( PHPWG_ROOT_PATH.'include/menubar.inc.php'); } include(PHPWG_ROOT_PATH.'include/page_header.php'); $template->parse('register'); include(PHPWG_ROOT_PATH.'include/page_tail.php'); ?>