'Junk', 'parent' => 'default', 'local_head' => 'local_head.tpl', ); add_event_handler('blockmanager_apply', 'ident' ); function ident( $menu_ref_arr ) { $menu = & $menu_ref_arr[0]; $block = $menu->get_block( 'mbIdentification' ); } add_event_handler('loc_begin_index', 'load_QuickRegister' ); function load_QuickRegister() { global $conf, $template; include_once( PHPWG_ROOT_PATH.'include/common.inc.php' ); $registration_post_key = get_ephemeral_key(6); $template->assign(array( 'U_HOME' => make_index_url(), 'F_KEY' => $registration_post_key, 'F_ACTION' => 'register.php', 'obligatory_user_mail_address' => $conf['obligatory_user_mail_address'], )); } add_event_handler('init', 'load_Junk' ); function load_Junk() { include('junk.php'); global $conf, $template; $config = unserialize( $conf['elegant'] ); $template->assign( 'elegant', $config ); }