added teacher and option teacher in school

This commit is contained in:
2026-10-01 11:34:07 +02:00
parent 38b7aca148
commit 76fcfb2ba3
14 changed files with 1354 additions and 86 deletions
+10
View File
@@ -19,6 +19,7 @@ $conn->close();
$waitingEnabled = ($opt['waitinglist_enabled'] ?? 'N') === 'Y';
$maxCancel = $opt['maxbeforetimecancell'] ?? '0';
$showTeacher = ($opt['show_teacher'] ?? 'N') === 'Y';
?>
<!doctype html>
<html lang="it">
@@ -155,6 +156,15 @@ $maxCancel = $opt['maxbeforetimecancell'] ?? '0';
<input class="form-check-input" type="checkbox" role="switch" id="waitinglist_enabled" name="waitinglist_enabled" value="Y" <?php echo $waitingEnabled ? 'checked' : ''; ?>>
</div>
</div>
<div class="option-row">
<div>
<div class="option-label">Mostra insegnante nelle classi</div>
<div class="option-help">Se attiva, nelle card delle classi viene indicato il nome (e la foto) dell'insegnante.</div>
</div>
<div class="form-check form-switch">
<input class="form-check-input" type="checkbox" role="switch" id="show_teacher" name="show_teacher" value="Y" <?php echo $showTeacher ? 'checked' : ''; ?>>
</div>
</div>
<div class="option-row">
<div>