if (empty($_SESSION["ente"])) {
$ris_coda = $pdo->go("SELECT codice FROM b_coda");
$dictionaryTemporaneo = jsonToArray($config["mediaFolder"]."/dictionary.json");
?>
if ($_SESSION["utente"]->gerarchia === 1 && $config["developEnv"]) {
$pending = getPendingTranslations();
if (!empty($pending)) {
?>
}
}
?>
$spazio_su_disco = human_filesize(disk_free_space($root));
?>
= __("spazio residuo") ?> = $spazio_su_disco ?>
} else if ($_SESSION["utente"]->gerarchia <= 10 && $_SESSION["utente"]->fromHere()) {
?>
}
?>
include(__DIR__."/listAttivita.php"); ?>
include(__DIR__."/calendar.php"); ?>
if (!empty($dashboardShortCuts)) {
?>
= __("Attività in evidenza") ?>
}
if (isset($tools) && is_array($tools)) {
$cards = [];
$alerts = [];
foreach($tools AS $id_modulo => $modulo) {
$mod_path = $id_modulo;
if (strpos($id_modulo,"ordini-")!==false) { $mod_path = "ordini"; }
$path_d = $beRoot.$mod_path."/_dashboard.php";
if (file_exists($path_d)) {
include($path_d);
}
}
if (!empty($alerts)) {
?>
foreach($alerts AS $alert) { ?>
">
= $alert["text"] ?>
}
?>
}
if (!empty($cards)) {
?>
foreach($cards AS $card) {
?>
}
?>
}
}
?>
}
?>