'; echo sprintf( '

%s

%s

', __('This is the correlation management interface. Its goal is to provide you with information about the currently used correlation engine as well as the data stores of currently dormant engines.'), __('You will also find management tools for the various engines below, make sure that you keep an eye on the disk requirements as well as the exhaustion of IDs and recorrelate the instance when needed.') ); echo sprintf( '
%s
', $this->element( '/healthElements/correlations_generic_data', [ 'correlation_metrics' => $correlation_metrics ] ) ); $currentEngineData = $correlation_metrics['db'][$correlation_metrics['engine']]; unset($correlation_metrics['db'][$correlation_metrics['engine']]); echo sprintf( '

%s

%s
%s
', __('Active engine: %s', $currentEngineData['name']), $this->element('/healthElements/correlations_table', ['currentEngineData' => $currentEngineData]), sprintf( '
%s
', $baseurl . '/attributes/generateCorrelation', __('Recorrelate') ) ); foreach ($correlation_metrics['db'] as $engine => $engineData) { echo sprintf( '

%s

%s
%s %s
', __('Dormant engine: %s', $engineData['name']), $this->element('/healthElements/correlations_table', ['currentEngineData' => $engineData]), $engine === 'Legacy' ? '' : sprintf( '
%s
', $baseurl . '/correlations/switchEngine/' . h($engine), __('Activate engine') ), sprintf( '
%s
', $baseurl . '/correlations/truncate/' . h($engine), __('Truncate') ) ); } echo ''; ?>