getWidgetNames($preload = true); // load current widgets map for this page $current_map = $widgets_helper->getMultitaskingMap($vbo_page); // page active widgets list $active_widgets = []; // check if the notification audio file exists within VCM $notif_audio_path = implode(DIRECTORY_SEPARATOR, [VCM_ADMIN_PATH, 'assets', 'css', 'audio', 'new_notification.mp3']); $notif_audio_url = is_file($notif_audio_path) ? (VCM_ADMIN_URI . implode('/', ['assets', 'css', 'audio', 'new_notification.mp3'])) : null; // theme color preferences $color_scheme = VikBooking::getAppearancePref(); $scheme_name = JText::translate('VBO_APPEARANCE_PREF_AUTO'); $current_mode = 'magic'; if ($color_scheme == 'light') { $scheme_name = JText::translate('VBO_APPEARANCE_PREF_LIGHT'); $current_mode = 'sun'; } elseif ($color_scheme == 'dark') { $scheme_name = JText::translate('VBO_APPEARANCE_PREF_DARK'); $current_mode = 'moon'; } // JS lang vars JText::script('VBO_BROWSER_NOTIFS_ON'); JText::script('VBO_BROWSER_NOTIFS_OFF'); JText::script('VBO_BROWSER_NOTIFS_OFF_HELP'); JText::script('VBO_ADMIN_WIDGET'); JText::script('VBO_CONGRATS'); JText::script('VBO_APPEARANCE_PREF_AUTO'); JText::script('VBO_APPEARANCE_PREF_LIGHT'); JText::script('VBO_APPEARANCE_PREF_DARK'); ?>