getVersion(); $serverConfig = array_merge($serverConfig, [ 'base_url' => BASE_URL, 'webapp_title' => $webappTitle, 'using_sso' => false, 'auth_method' => !empty($_SESSION['_keycloak_auth']) ? 'oidc' : 'basic', 'disable_full_gab' => !ENABLE_FULL_GAB, 'plugin_webappmanual_url' => PLUGIN_WEBAPPMANUAL_URL, 'enable_shared_rules' => ENABLE_SHARED_RULES, 'enable_directory_suggestions' => ENABLE_DIRECTORY_SUGGESTIONS, 'enable_attachment_removal' => ENABLE_ATTACHMENT_REMOVAL, 'enable_conversation_view' => !defined('ENABLE_CONVERSATION_VIEW') || ENABLE_CONVERSATION_VIEW, 'enable_attachment_drag_out' => !defined('ENABLE_ATTACHMENT_DRAG_OUT') || ENABLE_ATTACHMENT_DRAG_OUT, 'attachment_drag_out_max_size' => defined('ATTACHMENT_DRAG_OUT_MAX_SIZE') ? (int) ATTACHMENT_DRAG_OUT_MAX_SIZE : 26214400, 'always_enabled_plugins' => $GLOBALS['PluginManager']->expandPluginList(ALWAYS_ENABLED_PLUGINS_LIST), 'enable_advanced_settings' => ENABLE_ADVANCED_SETTINGS ? true : false, 'post_max_size' => getMaxPostRequestSize(), 'max_file_uploads' => getMaxFileUploads(), 'client_timeout' => defined('CLIENT_TIMEOUT') && is_numeric(CLIENT_TIMEOUT) && CLIENT_TIMEOUT > 0 ? CLIENT_TIMEOUT : false, 'active_theme' => Theming::getActiveTheme(), 'icons_primary_color' => Theming::getPrimaryIconColor(), 'icons_secondary_color' => Theming::getSecondaryIconColor(), 'json_themes' => Theming::getJsonThemes(), 'iconsets' => Iconsets::getIconsets(), 'active_iconset' => Iconsets::getActiveIconset(), 'iconsets_about' => Iconsets::getAboutTexts(), 'version_info' => $GLOBALS['PluginManager']->getPluginsVersion(), 'unloaded_plugins' => $GLOBALS['PluginManager']->getUnloadedPluginsInfo(), 'is_vcfimport_supported' => function_exists('mapi_vcftomapi'), 'is_icsimport_supported' => function_exists('mapi_mapitoical'), 'color_schemes' => json_decode(COLOR_SCHEMES), 'default_categories' => json_decode(DEFAULT_CATEGORIES), 'category_color_palette' => CategoryList::getPalette(), 'maximum_eml_files_in_zip' => MAX_EML_FILES_IN_ZIP, 'profile_picture_max_edge' => PROFILE_PICTURE_MAX_EDGE, 'profile_picture_max_bytes' => PROFILE_PICTURE_MAX_BYTES, 'powerpaste' => [ 'powerpaste_word_import' => POWERPASTE_WORD_IMPORT, 'powerpaste_html_import' => POWERPASTE_HTML_IMPORT, 'powerpaste_allow_local_images' => POWERPASTE_ALLOW_LOCAL_IMAGES, ], 'paste_strip_styles' => PASTE_STRIP_STYLES, 'shared_store_polling_interval' => SHARED_STORE_POLLING_INTERVAL, 'enable_dompurify' => ENABLE_DOMPURIFY_FILTER, 'enable_file_previewer' => ENABLE_FILE_PREVIEWER, 'enable_bimi' => ENABLE_BIMI, 'enable_themes' => ENABLE_THEMES, 'enable_iconsets' => ENABLE_ICONSETS, 'enable_widgets' => ENABLE_WIDGETS, 'show_logout_button' => SHOW_LOGOUT_BUTTON, ]); if (CONTACT_PREFIX) { $serverConfig['contact_prefix'] = json_decode((string) CONTACT_PREFIX); } if (CONTACT_SUFFIX) { $serverConfig['contact_suffix'] = json_decode((string) CONTACT_SUFFIX); } if (defined('ADDITIONAL_COLOR_SCHEMES')) { $serverConfig['additional_color_schemes'] = json_decode((string) ADDITIONAL_COLOR_SCHEMES); } if (defined('ADDITIONAL_CATEGORIES')) { $serverConfig['additional_default_categories'] = json_decode((string) ADDITIONAL_CATEGORIES); } if ($GLOBALS['settings']->get('grommunio/v1/contexts/mail/attachment_reminder_enable') === true) { $serverConfig['attachment_reminder_keywords'] = ATTACHMENT_REMINDER_KEYWORDS; } $darkMode = WebAppAuthentication::isAuthenticated() ? $GLOBALS['settings']->get('grommunio/v1/main/dark_mode') : 'light'; ?> > html { background: #121212; }\n"; } elseif ($darkMode === 'system') { echo "\t\t\n"; } ?> <?php echo $webappTitle; ?> cssOrder(); echo Theming::getStyles($theme); $iconsetStylesheet = Iconsets::getActiveStylesheet(); ?>
" role="status" aria-label="">
Web
jsOrder(); ?>