* Load the locales * * @return array */ ossn_default_load_locales(); /** * Includes all components and active theme * * @return bool */ //loads active theme $theme = new OssnThemes(); $theme->loadActive(); //load active components $coms = new OssnComponents(); $coms->loadComs(); /** * Initialize components * * @return false|null * @access private; */ function ossn_components_init() { $panels = ossn_registered_com_panel(); if (!$panels) { return false; } foreach ($panels as $configure) { ossn_register_menu_item('topbar_admin', array('name' => OssnTranslit::urlize($configure), 'text' => $configure, 'parent' => 'configure', 'href' => ossn_site_url("administrator/component/{$configure}"))); }