Initial upload to Gitea

This commit is contained in:
antonn committed 2026-11-30 16:32:37 +00:00
1 parent 78193254ad
commit 8478998cae
1485 files changed
+461025 -42348

No files matched your search

@@ -0,0 +1,10 @@
<?php
/*
* SPDX-FileCopyrightText: Copyright 2020 - 2026 grommunio GmbH
* SPDX-FileCopyrightText: Copyright 2016 Kopano and its licensors
* SPDX-FileCopyrightText: Copyright 2005 - 2016 Zarafa B.V. and its licensors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
echo "<h1>HTTP Error 400 - Bad Request</h1>";
@@ -0,0 +1,9 @@
<!doctype html>
<html>
<head>
<title>grommunio Web</title>
</head>
<body>
<!-- This file helps DeskApp to inject local storage into grommunio Webs origin -->
</body>
</html>
@@ -0,0 +1,118 @@
<!DOCTYPE html>
<html lang="en" data-host="<?php echo htmlspecialchars(Theming::getRequestHost(), ENT_QUOTES | ENT_SUBSTITUTE, 'UTF-8'); ?>">
<head>
<meta charset="utf-8">
<!-- Always force latest IE rendering engine (even in intranet) & Chrome Frame
Remove this if you use the .htaccess -->
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title><?php echo $webappTitle; ?></title>
<meta name="description" content="grommunio-web is the ultimate frontend client for grommunio. A rich collaboration platform utilizing e-mail, calendars, webmeetings, file sharing and more.">
<meta name="author" content="grommunio.com">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" href="<?php echo $favicon; ?>" type="image/x-icon">
<link rel="shortcut icon" href="<?php echo $favicon; ?>" type="image/x-icon">
<link rel="manifest" href="<?php echo versionedUrl('manifest.webmanifest'); ?>">
<link rel="stylesheet" type="text/css" href="client/resources/css/external/login.css?version=<?php echo getWebappVersion(); ?>">
<link rel="stylesheet" type="text/css" href="client/resources/css/darkmode.css?version=<?php echo getWebappVersion(); ?>">
<?php
/* Add the styling of the theme */
echo Theming::getStyles($theme);
?>
<link rel="stylesheet" href="/brand/brand.css">
<script><?php require BASE_PATH . 'client/fingerprint.js'; ?></script>
</head>
<body class="login theme-<?php echo strtolower((string) $theme ?: 'basic'); ?>">
<?php
$keycloak = WebAppKeyCloak::getInstance();
if (!is_null($keycloak) && (!defined('DISABLE_KEYCLOAK') || !DISABLE_KEYCLOAK)) {
$keycloakLoginUrl = $keycloak->login_url($keycloak->redirect_url);
?>
<meta http-equiv="refresh" content="1; url=<?php echo htmlspecialchars($keycloakLoginUrl, ENT_QUOTES | ENT_SUBSTITUTE, 'UTF-8'); ?>">
<?php
echo "<div id='form-container' class='loading' >";
}
else {
echo "<div id='form-container'>";
}
?>
<div id="bg"></div>
<span class="product-badge" aria-hidden="true"></span>
<div id="content" role="main">
<div class="left">
<div id="logo" role="img" aria-label="grommunio"></div>
</div>
<div class="product-chip"><span class="icon"></span>Web</div>
<div class="right">
<form action="<?php echo $url; ?>" method="post" aria-label="<?php echo _("Sign in"); ?>">
<label for="username" class="sr-only"><?php echo _("Username"); ?></label>
<input type="text" name="username" id="username" value="<?php echo $user; ?>" placeholder="<?php echo _("Username"); ?>" autocomplete="username" required<?php if (isset($error)) {
echo ' aria-describedby="error"';
} ?>>
<label for="password" class="sr-only"><?php echo _("Password"); ?></label>
<input type="password" name="password" id="password" placeholder="<?php echo _("Password"); ?>" autocomplete="current-password" required<?php if (isset($error)) {
echo ' aria-describedby="error"';
} ?>>
<?php if (isset($error)) { ?>
<div id="error" role="alert"><?php echo $error; ?></div>
<?php } ?>
<input id="submitbutton" class="button" type="submit" value="<?php echo _("Sign in"); ?>">
</form>
</div>
</div>
</div>
<script><?php require BASE_PATH . 'client/resize.js'; ?></script>
<script>
// Set focus on the correct form element
function onLoad() {
if (document.getElementById("username").value == "") {
document.getElementById("username").focus();
} else if (document.getElementById("password").value == "") {
document.getElementById("password").focus();
} else {
document.getElementById("submitbutton").focus();
}
}
window.onload = onLoad;
// Show a spinner when submitting
var form = document.getElementsByTagName('form')[0];
// Some browsers need some time to draw the spinner (MS Edge!),
// so we use this variable to delay the submit a little;
var firstSubmit = true;
form.onsubmit = function(){
if ( !firstSubmit ){
return true;
}
// Adding this class will show the loader
const cntEl = document.getElementById('form-container');
cntEl.className += ' loading';
// Call resizeLoginBox, because an error message might have enlarged the login box,
// so it is out of position.
resizeLoginBox();
firstSubmit = false;
window.setTimeout(function(){ form.submit(); }, 10);
return false;
};
</script>
<?php if (file_exists('/etc/grommunio-web/disclaimer.html')) { ?>
<div class="disclaimer">
<?php include '/etc/grommunio-web/disclaimer.html'; ?>
</div>
<?php }
elseif (file_exists('disclaimer.html')) { ?>
<div class="disclaimer">
<?php include 'disclaimer.html'; ?>
</div>
<?php } ?>
</body>
</html>
@@ -0,0 +1,26 @@
<?php
/*
* SPDX-FileCopyrightText: Copyright 2020 - 2026 grommunio GmbH
* SPDX-FileCopyrightText: Copyright 2016 Kopano and its licensors
* SPDX-FileCopyrightText: Copyright 2005 - 2016 Zarafa B.V. and its licensors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
$serverVersion = $GLOBALS['mapisession']->getServerVersion();
if (empty($serverVersion)) {
$serverVersion = phpversion('mapi');
}
$versionInfo = [
'zcp' => $serverVersion,
];
$serverConfig = [
'enable_plugins' => ENABLE_PLUGINS ? true : false,
'max_attachment_size' => getMaxUploadSize(),
'freebusy_load_start_offset' => FREEBUSY_LOAD_START_OFFSET,
'freebusy_load_end_offset' => FREEBUSY_LOAD_END_OFFSET,
'json_themes' => Theming::getJsonThemes(),
'active_theme' => Theming::getActiveTheme(),
];
@@ -0,0 +1,191 @@
<?php
/*
* SPDX-FileCopyrightText: Copyright 2020 - 2026 grommunio GmbH
* SPDX-FileCopyrightText: Copyright 2016 Kopano and its licensors
* SPDX-FileCopyrightText: Copyright 2005 - 2016 Zarafa B.V. and its licensors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
include BASE_PATH . 'server/includes/loader.php';
include BASE_PATH . 'server/includes/templates/serverinfo.php';
require_once BASE_PATH . 'server/includes/core/class.categorylist.php';
$loader = new FileLoader();
$versionInfo['webapp'] = $loader->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';
?>
<!DOCTYPE html>
<html lang="<?php echo $Language->getSelectedIetf(); ?>" data-host="<?php echo htmlspecialchars(Theming::getRequestHost(), ENT_QUOTES | ENT_SUBSTITUTE, 'UTF-8'); ?>"<?php
// The system setting leaves the choice to the browser
if ($darkMode !== 'system') {
echo ' data-theme="' . ($darkMode === 'dark' ? 'dark' : 'light') . '"';
}
?>>
<head>
<meta name="Generator" content="grommunio-web v<?php echo $loader->getVersion(); ?>">
<?php
// The canvas is dark before any stylesheet arrives, so a reload does not flash white
if ($darkMode === 'dark') {
echo "\t\t<style>html { background: #121212; }</style>\n";
}
elseif ($darkMode === 'system') {
echo "\t\t<style>@media (prefers-color-scheme: dark) { html { background: #121212; } }</style>\n";
}
?>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title><?php echo $webappTitle; ?></title>
<link rel="icon" href="<?php echo $favicon; ?>" type="image/x-icon">
<link rel="shortcut icon" href="<?php echo $favicon; ?>" type="image/x-icon">
<link rel="manifest" href="<?php echo versionedUrl('manifest.webmanifest'); ?>">
<script><?php require BASE_PATH . 'client/fingerprint.js'; ?></script>
<script>
// Resolve system dark mode preference before CSS loads to prevent flash
(function() {
document.addEventListener('DOMContentLoaded', function() {
if (document.body.classList.contains('dark-mode-system') && window.matchMedia('(prefers-color-scheme: dark)').matches) {
document.body.classList.add('dark-mode');
}
});
})();
</script>
<!-- load the login css first as we need it immediately! -->
<link rel="stylesheet" href="client/resources/css/external/login.css?version=<?php echo getWebappVersion(); ?>" >
<link rel="stylesheet" href="client/resources/css/darkmode.css?version=<?php echo getWebappVersion(); ?>" >
<?php
$loader->cssOrder();
echo Theming::getStyles($theme);
$iconsetStylesheet = Iconsets::getActiveStylesheet();
?>
<link id="grommunio-iconset-stylesheet" rel="stylesheet" href="<?php echo $iconsetStylesheet; ?>" >
<link rel="stylesheet" href="/brand/brand.css">
</head>
<body class="grommunio-webclient theme-<?php echo strtolower((string) $theme ?: 'basic');
echo ' ' . $hideFavorites;
echo ' ' . $scrollFavorites;
echo ' ' . $unreadBorders;
if ($darkMode === 'dark') {
echo ' dark-mode';
}
elseif ($darkMode === 'system') {
echo ' dark-mode-system';
}
?>">
<script>
// Resolve the system dark mode before anything renders; waiting for
// DOMContentLoaded showed the light loading screen until the scripts ran
if (document.body.classList.contains('dark-mode-system') && window.matchMedia('(prefers-color-scheme: dark)').matches) {
document.body.classList.add('dark-mode');
}
</script>
<a class="skip-link" href="#grommunio-mainpanel"><?php echo _("Skip to main content"); ?></a>
<div id="loading-mask" class="theme-<?php echo strtolower(THEME !== "" ? THEME : 'basic'); ?>" role="status" aria-label="<?php echo _("Loading"); ?>">
<div id="form-container" class="loading">
<div id="bg"></div>
<span class="product-badge" aria-hidden="true"></span>
<div id="content">
<div class="left">
<div id="logo" role="img" aria-label="grommunio"></div>
</div>
<div class="product-chip"><span class="icon"></span>Web</div>
<div class="right">
</div>
</div>
</div>
</div>
<!-- Translations -->
<script src="index.php?version=<?php echo $loader->getVersion(); ?>&load=translations.js&lang=<?php echo $Language->getSelected(); ?>&v=<?php echo $Language->getTranslationsEtag(); ?>"></script>
<!-- JS Files -->
<?php
$loader->jsOrder();
?>
<script><?php require BASE_PATH . 'client/resize.js'; ?></script>
<script>
settings = <?php echo $GLOBALS["settings"]->getJSON(); ?>;
persistentsettings = <?php echo $GLOBALS["settings"]->getPersistentSettingsJSON(); ?>;
languages = <?php echo $Language->getJSON(); ?>;
user = <?php echo json_encode($GLOBALS['mapisession']->getUserInfo()); ?>;
version = <?php echo json_encode($versionInfo); ?>;
serverconfig = <?php echo json_encode($serverConfig); ?>;
urlActionData = <?php echo json_encode($urlActionData); ?>;
<?php if (!empty($prefetchedHierarchy)) { ?>
prefetchedHierarchy = <?php echo json_encode($prefetchedHierarchy); ?>;
<?php } ?>
Ext.onReady(Grommunio.loadWebclient, Grommunio);
</script>
</body>
</html>
@@ -0,0 +1,94 @@
<?php
/*
* SPDX-FileCopyrightText: Copyright 2020 - 2026 grommunio GmbH
* SPDX-FileCopyrightText: Copyright 2016 Kopano and its licensors
* SPDX-FileCopyrightText: Copyright 2005 - 2016 Zarafa B.V. and its licensors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
include BASE_PATH . 'server/includes/loader.php';
$loader = new FileLoader();
?><!DOCTYPE html>
<html>
<head>
<meta name="Generator" content="grommunio-web v<?php echo $loader->getVersion(); ?>">
<?php
// The canvas is dark before any stylesheet arrives, so a reload does not flash white
$darkMode = WebAppAuthentication::isAuthenticated() ? $GLOBALS['settings']->get('grommunio/v1/main/dark_mode') : 'light';
if ($darkMode === 'dark') {
echo "\t\t<style>html { background: #121212; }</style>\n";
}
elseif ($darkMode === 'system') {
echo "\t\t<style>@media (prefers-color-scheme: dark) { html { background: #121212; } }</style>\n";
}
?>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title><?php echo $webappTitle; ?></title>
<link rel="icon" href="<?php echo $favicon; ?>" type="image/x-icon">
<link rel="shortcut icon" href="<?php echo $favicon; ?>" type="image/x-icon">
<link rel="manifest" href="<?php echo versionedUrl('manifest.webmanifest'); ?>">
<link rel="stylesheet" href="client/resources/css/darkmode.css?version=<?php echo getWebappVersion(); ?>" >
<?php
$loader->cssOrder();
echo Theming::getStyles($theme);
$iconsetStylesheet = Iconsets::getActiveStylesheet();
?>
<link id="grommunio-iconset-stylesheet" rel="stylesheet" href="<?php echo $iconsetStylesheet; ?>" >
</head>
<body class="grommunio-webclient theme-<?php echo strtolower((string) $theme ?: 'basic');
$darkMode = WebAppAuthentication::isAuthenticated() ? $GLOBALS['settings']->get('grommunio/v1/main/dark_mode') : 'light';
if ($darkMode === 'dark') {
echo ' dark-mode';
}
elseif ($darkMode === 'system') {
echo ' dark-mode-system';
}
?>">
<script>
// Resolve the system dark mode before anything renders; waiting for
// DOMContentLoaded showed the light loading screen until the scripts ran
if (document.body.classList.contains('dark-mode-system') && window.matchMedia('(prefers-color-scheme: dark)').matches) {
document.body.classList.add('dark-mode');
}
</script>
<?php
$jsTemplate = "\t\t<script src=\"{file}\"></script>";
if (DEBUG_LOADER === LOAD_RELEASE) {
$extjsFiles[] = "client/tinymce/tinymce.min.js";
}
else {
$extjsFiles[] = "client/tinymce/tinymce.js";
}
$loader->printFiles($extjsFiles, $jsTemplate);
?>
<script>
/**
* Function which is use to set focus on main browser window
*/
setFocusOnMainWindow = function ()
{
var browserWindowMgr = window.opener.Grommunio.core.BrowserWindowMgr;
var mainWindowObject = browserWindowMgr.browserWindows.get('mainBrowserWindow');
var mainWindow = mainWindowObject.open('', 'mainBrowserWindow');
mainWindow.focus();
browserWindowMgr.setActive('mainBrowserWindow');
}
window.onload = function ()
{
// On separate window load creates main container into the separate window and load the required component within it.
var browserWindowManager = window.opener.Grommunio.core.BrowserWindowMgr;
browserWindowManager.createUI(window);
};
</script>
</body>
</html>
@@ -0,0 +1,89 @@
<?php
/*
* SPDX-FileCopyrightText: Copyright 2020 - 2026 grommunio GmbH
* SPDX-FileCopyrightText: Copyright 2016 Kopano and its licensors
* SPDX-FileCopyrightText: Copyright 2005 - 2016 Zarafa B.V. and its licensors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
include BASE_PATH . 'server/includes/loader.php';
include BASE_PATH . 'server/includes/templates/serverinfo.php';
$loader = new FileLoader();
$versionInfo['webapp'] = $loader->getVersion();
$serverConfig = [
'enable_plugins' => ENABLE_PLUGINS ? true : false,
'enable_advanced_settings' => ENABLE_ADVANCED_SETTINGS ? true : false,
'max_attachment_size' => getMaxUploadSize(),
'freebusy_load_start_offset' => FREEBUSY_LOAD_START_OFFSET,
'freebusy_load_end_offset' => FREEBUSY_LOAD_END_OFFSET,
'client_timeout' => defined('CLIENT_TIMEOUT') && is_numeric(CLIENT_TIMEOUT) && CLIENT_TIMEOUT > 0 ? CLIENT_TIMEOUT : false,
'json_themes' => Theming::getJsonThemes(),
'active_theme' => Theming::getActiveTheme(),
'iconsets' => Iconsets::getIconsets(),
'active_iconset' => Iconsets::getActiveIconset(),
'enable_themes' => ENABLE_THEMES,
'enable_iconsets' => ENABLE_ICONSETS,
'enable_widgets' => ENABLE_WIDGETS,
];
?>
<!DOCTYPE html>
<html lang="<?php echo $Language->getSelectedIetf(); ?>" data-host="<?php echo htmlspecialchars(Theming::getRequestHost(), ENT_QUOTES | ENT_SUBSTITUTE, 'UTF-8'); ?>">
<head>
<meta name="Generator" content="grommunio-web v<?php echo $loader->getVersion(); ?>">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title><?php echo $webappTitle; ?></title>
<link rel="icon" href="<?php echo $favicon; ?>" type="image/x-icon">
<link rel="shortcut icon" href="<?php echo $favicon; ?>" type="image/x-icon">
<link rel="manifest" href="<?php echo versionedUrl('manifest.webmanifest'); ?>">
<!-- load the login css first as we need it immediately! -->
<link rel="stylesheet" href="client/resources/css/external/login.css?version=<?php echo getWebappVersion(); ?>" >
<link rel="stylesheet" href="client/resources/css/darkmode.css?version=<?php echo getWebappVersion(); ?>" >
<script><?php require BASE_PATH . 'client/fingerprint.js'; ?></script>
<?php
$loader->cssOrder();
echo Theming::getStyles($theme);
?>
<link rel="stylesheet" href="/brand/brand.css">
</head>
<body class="grommunio-welcome theme-<?php echo strtolower((string) $theme ?: 'basic'); ?>">
<div id="loading-mask" role="status" aria-label="<?php echo _("Loading"); ?>">
<div id="form-container" class="loading" style="visibility: hidden;">
<div id="bg"></div>
<span class="product-badge" aria-hidden="true"></span>
<div id="content">
<div class="left">
<div id="logo" role="img" aria-label="grommunio"></div>
</div>
<div class="product-chip"><span class="icon"></span>Web</div>
<div class="right">
</div>
</div>
</div>
</div>
<script><?php require BASE_PATH . 'client/resize.js'; ?></script>
<!-- Translations -->
<script src="index.php?version=<?php echo getWebappVersion(); ?>&load=translations.js&lang=<?php echo $Language->getSelected(); ?>&v=<?php echo $Language->getTranslationsEtag(); ?>"></script>
<!-- JS Files -->
<?php $loader->jsOrder(); ?>
<script>
settings = <?php echo $GLOBALS["settings"]->getJSON(); ?>;
languages = <?php echo $Language->getJSON(); ?>;
user = <?php echo json_encode($GLOBALS['mapisession']->getUserInfo()); ?>;
version = <?php echo json_encode($versionInfo); ?>;
serverconfig = <?php echo json_encode($serverConfig); ?>;
Ext.onReady(Grommunio.loadWelcome, Grommunio);
</script>
</body>
</html>