\n";
if ($widget_details_state != 'disabled') {
echo "
";
echo "
\n";
echo "
\n";
echo "
".$text['label-item']."
\n";
echo "
".$text['label-value']."
\n";
echo "
\n";
//pbx version
echo "
\n";
echo "
".$settings->get('theme', 'title', 'FusionPBX')."
\n";
echo "
".software::version()."
\n";
echo "
\n";
$c = ($c) ? 0 : 1;
// OS Type and Version (for Linux)
if (stristr(PHP_OS, 'Linux')) {
// Try to get pretty OS name
$os_info = '';
if (file_exists('/etc/os-release')) {
$os_release = parse_ini_file('/etc/os-release');
$os_info = $os_release['PRETTY_NAME'] ?? '';
}
// Fallback to basic uname info
elseif (function_exists('php_uname')) {
$os_info = php_uname('s') . ' ' . php_uname('r'); // e.g. "Linux 5.10.0"
}
// Clean up the output
$os_info = str_replace('"', '', $os_info); // Remove quotes if present
if (!empty($os_info)) {
echo "