mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-05-06 11:09:18 +02:00
- add hidden student_mode field in add.php form - pass mode=student through redirect to thanks.php in formulaire.php - thanks.php renders clean student thank-you page (no header, centered button) - add CSS for .thanks-student-page, .btn-new-form, .thanks-success, .thanks-error - admin auth always required; student mode is purely UI variant on the physical machine
829 B
829 B
TODO
- Make thanks.php respect student mode (no header, centered "add new form" button)
- Add hidden input
student_modein add.php form when in student mode - Append
mode=studentto thanks redirect in formulaire.php - Update thanks.php to detect student mode, hide header, show centered button
- Add hidden input
- Cleanup public/admin/add.php — standardise fieldsets and add licence explanation sections from docs PDF
- Organise all fields into
<fieldset>/<legend>blocks: Informations du TFE, Composition du jury, Cadre académique, Fichiers, Métadonnées complémentaires - Remove double-wrapping of jury-fieldset (it has its own
<fieldset>) - Add "Degrés d'ouverture et licences" section (Libre / Interne / Interdit + Généralités) wrapped in
if ($studentMode)— hidden in admin
- Organise all fields into