- define('__PAGE_TITLE', html_entity_decode($TITLE));
- } elseif ((!mxchange_installed) || (!admin_registered)) {
- // Load language file because it was missing in installation finalizer step... *sigh*
- require_once(sprintf("%sinc/language/install_%s.php",
- PATH,
- GET_LANGUAGE()
- ));
-
+ $content['header_title'] = $TITLE;
+ } elseif ((isInstalled()) && (isAdminRegistered())) {
+ // Installed, admin registered but no ext-sql_patches
+ $content['header_title'] = '[-- ' . getConfig('MAIN_TITLE').' - '.getModuleTitle(getModule()) . ' --]';
+ } elseif ((isInstalled()) && (!isAdminRegistered())) {
+ // Installed but no admin registered
+ $content['header_title'] = sprintf(getMessage('SETUP_OF_MXCHANGE'), getConfig('MAIN_TITLE'));
+ } elseif ((!isInstalled()) || (!isAdminRegistered())) {