mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-05-06 19:19:19 +02:00
54 lines
2.9 KiB
PHP
54 lines
2.9 KiB
PHP
<main id="main-content">
|
|
<div class="thesis-add-header">
|
|
<h1>Ajouter un TFE</h1>
|
|
</div>
|
|
|
|
<p class="required-note"><span class="asterisk">*</span> Champs obligatoires</p>
|
|
<form action="actions/formulaire.php" method="post" enctype="multipart/form-data" class="admin-form">
|
|
<input type="hidden" name="csrf_token" value="<?= htmlspecialchars($_SESSION["csrf_token"]) ?>">
|
|
|
|
<!-- ═══════════════════ Informations du TFE ═══════════════════ -->
|
|
<?php
|
|
$oldFn = 'old';
|
|
$withAutofocusFn = 'withAutofocus';
|
|
$allowedObjet = [];
|
|
$synopsisExtra = '';
|
|
include APP_ROOT . '/templates/partials/form/fieldset-tfe-info.php';
|
|
?>
|
|
|
|
<!-- ═══════════════════ Composition du jury ═══════════════════ -->
|
|
<?php require APP_ROOT . '/templates/partials/form/jury-fieldset.php'; ?>
|
|
|
|
<!-- ═══════════════════ Cadre académique ═══════════════════ -->
|
|
<?php
|
|
$oldFn = 'old';
|
|
$withAutofocusFn = 'withAutofocus';
|
|
include APP_ROOT . '/templates/partials/form/fieldset-academic.php';
|
|
?>
|
|
|
|
<!-- ═══════════════════ Fichiers ═══════════════════ -->
|
|
<?php include APP_ROOT . '/templates/partials/form/fieldset-files.php'; ?>
|
|
|
|
<!-- ═══════════════════ Métadonnées complémentaires ═══════════════════ -->
|
|
<?php
|
|
$oldFn = 'old';
|
|
$withAutofocusFn = 'withAutofocus';
|
|
$showDescription = false;
|
|
include APP_ROOT . '/templates/partials/form/fieldset-metadata.php';
|
|
?>
|
|
|
|
<!-- ═══════════════════ Degrés d'ouverture et licences ═══════════════════ -->
|
|
<?php include APP_ROOT . '/templates/partials/form/fieldset-licence-explanation.php'; ?>
|
|
|
|
<!-- ═══════════════════ E-mail de confirmation ═══════════════ -->
|
|
<fieldset>
|
|
<legend>E-mail de confirmation</legend>
|
|
<?php $name = 'confirmation_email'; $label = 'Adresse e-mail :'; $value = old('confirmation_email'); $type = 'email'; $required = false; $placeholder = 'ton.email@exemple.be'; $hint = 'Optionnel — pour envoyer un récapitulatif de la soumission.'; $attrs = withAutofocus('confirmation_email'); include APP_ROOT . '/templates/partials/form/text-field.php'; ?>
|
|
</fieldset>
|
|
|
|
<div class="form-footer">
|
|
<button type="submit" name="go">Soumettre</button>
|
|
</div>
|
|
</form>
|
|
</main>
|