diff --git a/includes/system.php b/includes/system.php index 171c196d..38d1a993 100755 --- a/includes/system.php +++ b/includes/system.php @@ -1,10 +1,13 @@ addMessage('Language setting saved', 'success'); + } + } else { + error_log('CSRF violation'); + } + } + + // define locales + $arrLocales = array( + 'en_GB.UTF-8' => 'English', + 'fr_FR.UTF-8' => 'français', + 'it_IT.UTF-8' => 'italiano', + 'pt_BR.UTF-8' => 'Português' + ); + // hostname exec("hostname -f", $hostarray); $hostname = $hostarray[0]; @@ -80,90 +104,103 @@ function DisplaySystem(){ elseif ($cpuload > 75) { $cpuload_status = "warning"; } elseif ($cpuload > 0) { $cpuload_status = "success"; } - ?> +?>
showMessages(); ?>
+