Commit 61f8fc1c authored by Pierre.Vriens's avatar Pierre.Vriens
Browse files

#2318449 Refine status msgs for SVGGraph, dataTables, etc

parent 52c591f0
......@@ -1616,7 +1616,9 @@ function forena_requirements($phase) {
foreach ($libraries as $lib) {
$requirements['forena_' . $lib] = $req;
$requirements['forena_' . $lib]['title'] = "Forena $lib support";
$requirements['forena_' . $lib]['value'] = forena_library_file($lib) ? t('Enabled') : t('Not Enabled:');
$usinglib = t('sites/all/libraries/') . $lib . t(' (Enabled)');
$missinglib = $lib . t(' library missing in sites/all/libraries/') . t(' (Not Enabled)');
$requirements['forena_' . $lib]['value'] = forena_library_file($lib) ? $usinglib : $missinglib;
$requirements['forena_' . $lib]['severity'] = forena_library_file($lib) ? REQUIREMENT_OK : REQUIREMENT_INFO;
}
if (!module_exists('forena_pdf')) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment