function xanth_init_component_content_format() { xanth_register_mono_hook(MONO_HOOK_CONTENT_FORMAT_APPLY, 'BBCode', 'xanth_content_format_apply_bbcode'); xanth_register_mono_hook(MONO_HOOK_CONTENT_FORMAT_APPLY, 'Php source', 'xanth_content_format_apply_php'); xanth_register_mono_hook(MONO_HOOK_CONTENT_FORMAT_APPLY, 'Full Html', 'xanth_content_format_apply_html'); xanth_register_mono_hook(MONO_HOOK_CONTENT_FORMAT_APPLY, 'Filtered text', 'xanth_content_format_apply_filtext'); }
function xanth_init_component_user() { xanth_register_mono_hook(MONO_HOOK_PAGE_CONTENT_CREATE, 'user/login', 'xanth_user_user_login'); xanth_register_mono_hook(MONO_HOOK_PAGE_CONTENT_CREATE, 'user/logout', 'xanth_user_user_logout'); xanth_register_mono_hook(MONO_HOOK_CREATE_BOX_CONTENT, 'login_box', 'xanth_user_login_box'); xanth_register_multi_hook(MULTI_HOOK_PAGE_CREATE_EVT, '', 'xanth_user_on_page_creation'); }
function xanth_theme_init_default() { xanth_register_mono_hook(MONO_HOOK_PAGE_TEMPLATE, NULL, 'default_page_template'); xanth_register_mono_hook(MONO_HOOK_ENTRY_TEMPLATE, NULL, 'default_content_entry_template'); xanth_register_mono_hook(MONO_HOOK_BOX_TEMPLATE, NULL, 'default_box_template'); xanth_register_mono_hook(MONO_HOOK_TEMPLATE_AREAS_LIST, NULL, 'xanth_custom_theme_areas'); xanth_register_mono_hook(MONO_HOOK_AREA_TEMPLATE, 'left sidebar', 'default_left_sidebar_area_template'); xanth_register_mono_hook(MONO_HOOK_AREA_TEMPLATE, 'content', 'default_content_area_template'); }
function xanth_init_component_admin() { xanth_register_mono_hook(MONO_HOOK_CREATE_BOX_CONTENT, 'admin_menu', 'xanth_admin_create_admin_box'); }
function xanth_init_component_box() { xanth_register_mono_hook(MONO_HOOK_PAGE_CONTENT_CREATE, 'admin/box', 'xanth_box_admin_box'); xanth_register_multi_hook(MULTI_HOOK_ADMIN_MENU_ADD_PATH, NULL, 'xanth_box_admin_menu_add_link'); }
function xanth_init_component_page() { xanth_register_mono_hook(MONO_HOOK_PAGE_CREATE, NULL, 'xanth_page_page_creation'); }
function xanth_init_component_view_mode() { xanth_register_mono_hook(MONO_HOOK_PAGE_CONTENT_CREATE, 'admin/view_mode', 'xanth_view_mode_admin_view_mode'); xanth_register_mono_hook(MONO_HOOK_PAGE_CONTENT_CREATE, 'admin/view_mode/add', 'xanth_view_mode_admin_view_mode_add'); xanth_register_mono_hook(MONO_HOOK_PAGE_CONTENT_CREATE, 'admin/view_mode/edit', 'xanth_view_mode_admin_view_mode_edit'); xanth_register_multi_hook(MULTI_HOOK_ADMIN_MENU_ADD_PATH, NULL, 'xanth_view_mode_admin_menu_add_link'); xanth_register_multi_hook(MULTI_HOOK_ADMIN_MENU_ADD_PATH, NULL, 'xanth_view_mode_admin_menu_add_link2'); }
function xanth_init_component_theme() { xanth_register_mono_hook(MONO_HOOK_PAGE_CONTENT_CREATE, 'admin/theme', 'xanth_theme_admin_theme'); xanth_register_mono_hook(MONO_HOOK_PAGE_CONTENT_CREATE, 'admin/theme/add', 'xanth_theme_admin_theme_add'); xanth_register_mono_hook(MONO_HOOK_PAGE_CONTENT_CREATE, 'admin/theme/edit', 'xanth_theme_admin_theme_edit'); xanth_register_mono_hook(MONO_HOOK_PAGE_CONTENT_CREATE, 'admin/theme/area', 'xanth_theme_admin_theme_area'); xanth_register_mono_hook(MONO_HOOK_PAGE_CONTENT_CREATE, 'admin/theme/set_default', 'xanth_theme_admin_theme_set_default'); xanth_register_multi_hook(MULTI_HOOK_ADMIN_MENU_ADD_PATH, NULL, 'xanth_theme_admin_menu_add_link'); xanth_register_multi_hook(MULTI_HOOK_ADMIN_MENU_ADD_PATH, NULL, 'xanth_theme_admin_menu_add_link2'); xanth_register_multi_hook(MULTI_HOOK_ADMIN_MENU_ADD_PATH, NULL, 'xanth_theme_admin_menu_add_link3'); }
function xanth_init_component_settings() { xanth_register_mono_hook(MONO_HOOK_PAGE_CONTENT_CREATE, 'admin/settings', 'xanth_settings_manage_settings'); xanth_register_multi_hook(MULTI_HOOK_ADMIN_MENU_ADD_PATH, NULL, 'xanth_settings_admin_menu_add_link'); xanth_register_multi_hook(MULTI_HOOK_PAGE_CREATE_EVT, '', 'xanth_settings_on_page_creation'); }
function xanth_init_component_category() { xanth_register_mono_hook(MONO_HOOK_PAGE_CONTENT_CREATE, 'admin/category/create', 'xanth_category_admin_category_create'); xanth_register_multi_hook(MULTI_HOOK_ADMIN_MENU_ADD_PATH, NULL, 'xanth_category_admin_menu_add_link'); }
function xanth_init_component_test() { xanth_register_mono_hook(MONO_HOOK_PAGE_CONTENT_CREATE, 'test', 'xanth_test_create'); }
function xanth_init_component_entry_type() { xanth_register_mono_hook(MONO_HOOK_PAGE_CONTENT_CREATE, 'admin/entry_type/add', 'xanth_entry_type_admin_entry_type_add'); xanth_register_multi_hook(MULTI_HOOK_ADMIN_MENU_ADD_PATH, NULL, 'xanth_entry_type_admin_menu_add_link'); }