phpBB

Code Changes

File: includes/functions_module.php

  Unmodified   Added   Modified   Removed
Line 243Line 243
				}
}


				}
}


			$depth = sizeof($this->module_cache['parents'][$row['module_id']]);

			$depth = count($this->module_cache['parents'][$row['module_id']]);


// We need to prefix the functions to not create a naming conflict



// We need to prefix the functions to not create a naming conflict


Line 279Line 279
				'parent'	=> (int) $row['parent_id'],
'cat' => ($row['right_id'] > $row['left_id'] + 1) ? true : false,


				'parent'	=> (int) $row['parent_id'],
'cat' => ($row['right_id'] > $row['left_id'] + 1) ? true : false,


				'is_duplicate'	=> ($row['module_basename'] && sizeof($names[$row['module_basename'] . '_' . $row['module_mode']]) > 1) ? true : false,

				'is_duplicate'	=> ($row['module_basename'] && count($names[$row['module_basename'] . '_' . $row['module_mode']]) > 1) ? true : false,


'name' => (string) $row['module_basename'],
'mode' => (string) $row['module_mode'],


'name' => (string) $row['module_basename'],
'mode' => (string) $row['module_mode'],

Line 431Line 431
		extract($phpbb_dispatcher->trigger_event('core.module_auth', compact($vars)));

$tokens = $match[0];

		extract($phpbb_dispatcher->trigger_event('core.module_auth', compact($vars)));

$tokens = $match[0];

		for ($i = 0, $size = sizeof($tokens); $i < $size; $i++)

		for ($i = 0, $size = count($tokens); $i < $size; $i++)

		{
$token = &$tokens[$i];


		{
$token = &$tokens[$i];