definiere U_MCP in main_menu.php

This commit is contained in:
Christian
2008-11-09 00:50:08 +00:00
parent 0018515442
commit 42f0bdf28d

View File

@@ -24,6 +24,7 @@ $template->assign_vars(array(
'U_M_BBCODE' => append_sid("{$phpbb_root_path}faq.$phpEx", 'mode=bbcode'),
'U_M_TERMS' => append_sid("{$phpbb_root_path}ucp.$phpEx", 'mode=terms'),
'U_M_PRV' => append_sid("{$phpbb_root_path}ucp.$phpEx", 'mode=privacy'),
'U_MCP' => ($auth->acl_get('m_') || $auth->acl_getf_global('m_')) ? append_sid("{$phpbb_root_path}mcp.$phpEx", 'i=main&mode=front', true, $user->session_id) : '',
));
if (!isset($template->filename['main_menu_block']))