function initializeUserSettings() { global $jQueryLib, $gorumroll; $_S =& new AppSettings(); $_S->initLanguageProperties(); Init::initializeUserSettings(); if (class_exists("gateway")) { Gateway::includeLanguageFiles(); } $gorumroll->checkForPostMaxSizeError(); $_S->initThemeProperties(); // In case of the organize page, the 1.1.4 version of the jquery library must be loaded: //$jQueryLib = $gorumroll->method=="organize_form" ? "/jquery/interface/jquery.js" : "/jquery/jquery.js"; $jQueryLib = "/jquery/jquery.js"; if (file_exists(THEME_DIR . "/theme_config.php")) { include_once THEME_DIR . "/theme_config.php"; } }