diff --git a/actions.php b/actions.php
index 2e9ae4088..888a7cc5b 100644
--- a/actions.php
+++ b/actions.php
@@ -2,7 +2,7 @@
include_once __DIR__.'/core.php';
-use Models\Checklist;
+use Models\Checklist\Check;
use Models\Note;
use Models\User;
@@ -124,13 +124,13 @@ elseif (filter('op') == 'add_check') {
$assigned_user = User::find(post('assigned_user'));
- $check = Checklist::build($user, $assigned_user, $structure, $id_record, $content, $parent_id);
+ $check = Check::build($user, $assigned_user, $structure, $id_record, $content, $parent_id);
}
// Rimozione checklist
elseif (filter('op') == 'delete_check') {
$check_id = post('check_id');
- $check = Checklist::find($check_id);
+ $check = Check::find($check_id);
$check->delete();
}
@@ -138,7 +138,7 @@ elseif (filter('op') == 'delete_check') {
// Gestione check per le checklist
elseif (filter('op') == 'toggle_check') {
$check_id = post('check_id');
- $check = Checklist::find($check_id);
+ $check = Check::find($check_id);
if (!empty($check)) {
$check->checked_at = $check->checked_at ? null : date('Y-m-d H:i:s');
diff --git a/include/init/init.php b/include/init/init.php
index fe954ce4c..ad4c3535a 100644
--- a/include/init/init.php
+++ b/include/init/init.php
@@ -234,7 +234,7 @@ echo '
});
-<';
+';
include_once App::filepath('include|custom|', 'bottom.php');
diff --git a/modules/dashboard/widgets/stampa_calendario.dashboard.php b/modules/dashboard/widgets/stampa_calendario.dashboard.php
index d6270cffb..ac96f8678 100644
--- a/modules/dashboard/widgets/stampa_calendario.dashboard.php
+++ b/modules/dashboard/widgets/stampa_calendario.dashboard.php
@@ -32,7 +32,7 @@ echo '
';
-echo '<';
+echo '';
echo '';
?>
diff --git a/modules/ddt/add_ordine.php b/modules/ddt/add_ordine.php
index b4ab96cca..7bf3ab3b7 100644
--- a/modules/ddt/add_ordine.php
+++ b/modules/ddt/add_ordine.php
@@ -44,7 +44,7 @@ echo '
$file = basename(__FILE__);
echo '
-<
+
+
+
+
+
';
+';
?>
diff --git a/modules/interventi/ajax_costi.php b/modules/interventi/ajax_costi.php
index 22d77356c..cb695c918 100644
--- a/modules/interventi/ajax_costi.php
+++ b/modules/interventi/ajax_costi.php
@@ -133,4 +133,4 @@ if ($show_prezzi) {
}
echo '
-<';
+';
diff --git a/modules/interventi/ajax_tecnici.php b/modules/interventi/ajax_tecnici.php
index a07f77347..7cae64c55 100644
--- a/modules/interventi/ajax_tecnici.php
+++ b/modules/interventi/ajax_tecnici.php
@@ -221,7 +221,7 @@ if (!$is_completato) {
}
echo '
-<
+
';
+';
echo '
';
+';
diff --git a/modules/utenti/user.php b/modules/utenti/user.php
index 9f25b1968..f9cb8d33b 100644
--- a/modules/utenti/user.php
+++ b/modules/utenti/user.php
@@ -91,4 +91,4 @@ function submitCheck() {
}
-<';
+';
diff --git a/plugins/pianificazione_interventi/add_righe.php b/plugins/pianificazione_interventi/add_righe.php
index b8bfa16df..d733c7540 100644
--- a/plugins/pianificazione_interventi/add_righe.php
+++ b/plugins/pianificazione_interventi/add_righe.php
@@ -107,7 +107,7 @@ echo '
';
echo '
-<';
+';
echo '
';
+';
echo '