1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-07 01:06:48 +02:00

make sure custom profile fields are created correctly on registration (#2225)

git-svn-id: file:///svn/phpbb/trunk@6058 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Meik Sievertsen
2006-06-13 21:06:29 +00:00
parent b0b7963817
commit 1aac08acc0
52 changed files with 382 additions and 254 deletions

View File

@@ -16,8 +16,6 @@ if (!defined('IN_PHPBB'))
}
/**
* @package phpBB3
*
* Extension of template class - Functions needed for compiling templates only.
*
* psoTFX, phpBB Development Team - Completion of file caching, decompilation
@@ -33,6 +31,8 @@ if (!defined('IN_PHPBB'))
* to this source
*
* DEFINE directive inspired by a request by Cyberalien
*
* @package phpBB3
*/
class template_compile
{
@@ -52,7 +52,7 @@ class template_compile
/**
* Load template source from file
* @private
* @access: private
*/
function _tpl_load_file($handle)
{
@@ -70,7 +70,7 @@ class template_compile
/**
* The all seeing all doing compile method. Parts are inspired by or directly from Smarty
* @private
* @access: private
*/
function compile($code, $no_echo = false, $echo_var = '')
{
@@ -198,7 +198,7 @@ class template_compile
/**
* Compile variables
* @private
* @access: private
*/
function compile_var_tags(&$text_blocks)
{
@@ -240,7 +240,7 @@ class template_compile
/**
* Compile blocks
* @private
* @access: private
*/
function compile_tag_block($tag_args)
{
@@ -331,7 +331,7 @@ class template_compile
/**
* Compile IF tags - much of this is from Smarty with
* some adaptions for our block level methods
* @private
* @access: private
*/
function compile_tag_if($tag_args, $elseif)
{
@@ -458,7 +458,7 @@ class template_compile
/**
* Compile DEFINE tags
* @private
* @access: private
*/
function compile_tag_define($tag_args, $op)
{
@@ -511,7 +511,7 @@ class template_compile
/**
* Compile INCLUDE tag
* @private
* @access: private
*/
function compile_tag_include($tag_args)
{
@@ -520,7 +520,7 @@ class template_compile
/**
* Compile INCLUDE_PHP tag
* @private
* @access: private
*/
function compile_tag_include_php($tag_args)
{
@@ -530,7 +530,7 @@ class template_compile
/**
* parse expression
* This is from Smarty
* @private
* @access: private
*/
function _parse_is_expr($is_arg, $tokens)
{
@@ -601,7 +601,7 @@ class template_compile
* ' . $this->_tpldata['parent'][$_parent_i]['$child1'][$_child1_i]['$child2'][$_child2_i]...['varname'] . '
* It's ready to be inserted into an "echo" line in one of the templates.
* NOTE: expects a trailing "." on the namespace.
* @private
* @access: private
*/
function generate_block_varref($namespace, $varname, $echo = true, $defop = false)
{
@@ -626,7 +626,7 @@ class template_compile
*
* If $include_last_iterator is true, then [$_childN_i] will be appended to the form shown above.
* NOTE: does not expect a trailing "." on the blockname.
* @private
* @access: private
*/
function generate_block_data_ref($blockname, $include_last_iterator, $defop = false)
{
@@ -655,7 +655,7 @@ class template_compile
/**
* Write compiled file to cache directory
* @private
* @access: private
*/
function compile_write(&$handle, $data)
{