getThesis($thesisId); if (!$thesis) { die("TFE non trouvé"); } // Load current relationships via dedicated DB methods (no raw PDO) $currentLanguages = $db->getThesisLanguageIds($thesisId); $currentFormats = $db->getThesisFormatIds($thesisId); $jury = $db->getThesisJury($thesisId); // Reference / lookup data $orientations = $db->getAllOrientations(); $apPrograms = $db->getAllAPPrograms(); $finalityTypes = $db->getAllFinalityTypes(); $languages = $db->getAllLanguages(); $formatTypes = $db->getAllFormatTypes(); $licenseTypes = $db->getAllLicenseTypes(); $accessTypes = $db->getAccessTypes(); // Fetch raw FK IDs (view only exposes name strings) $rawRow = $db->getThesisRawFields($thesisId); $currentLicenseId = $rawRow['license_id'] ?? null; $currentAccessTypeId = $rawRow['access_type_id'] ?? null; $currentContextNote = $rawRow['context_note'] ?? ''; // Set page title for header $pageTitle = "Éditer TFE - " . htmlspecialchars($thesis['title']); } catch (Exception $e) { error_log("Error loading edit page: " . $e->getMessage()); die("Erreur lors du chargement: " . $e->getMessage()); } ?>

Modifier un TFE

Composition du jury
$lm): ?>

Visible publiquement pour les TFE Interne ou Interdit. Max 1 500 caractères.

Séparer par des virgules. Max 10.

Bannière actuelle

JPG, PNG ou WEBP. Format paysage recommandé (4:1). Max 5 MB.

Annuler