Ajouter un TFE

'; $synopsisExtra = ''; // Jury: fresh add (all empty) $juryPromoteur = null; $juryPromoteurUlb = null; $lecteursInternes = []; $lecteursExternes = []; $juryPresident = null; $showPresident = false; $showPromoteurUlb = true; $promoteurUlbConditional = false; // Licence / access $libreEnabled = ($siteSettings['access_type_libre_enabled'] ?? '0') === '1'; $interneEnabled = ($siteSettings['access_type_interne_enabled'] ?? '1') === '1'; $interditEnabled = ($siteSettings['access_type_interdit_enabled'] ?? '1') === '1'; $generalitiesHtml = $helpFn('fieldset_generalites'); $defaultAccessTypeId = 2; // Optional sections $showContact = true; $showContextNote = true; $showBackoffice = true; // Files: add mode $filesMode = 'add'; // Website URL (repopulation) $existingWebsiteUrl = $formData['website_url'] ?? ''; $existingWebsiteLabel = $formData['website_label'] ?? ''; // Backoffice (add mode: null → falls back to formData) $currentRaw = []; $currentAuthorEmail = null; $currentAuthorShowContact = false; $currentContextNote = null; include APP_ROOT . '/templates/partials/form/form.php'; ?>