relabel: Promoteur·ice ULB → Promoteur·ice université in all UI labels

Pure label change across 6 template/controller files — no DB schema change.
Migration 043 added to track the change.
This commit is contained in:
Pontoporeia
2026-07-06 19:51:42 +02:00
parent 6573dd5452
commit 58fb4142b7
8 changed files with 22 additions and 12 deletions
+1
View File
@@ -28,3 +28,4 @@
- [x] Fix: deleting contact groups in apropos form not persisted (no change event after DOM removal, autosave never triggered)
- [x] Improve h1, h2, h3 size difference in base.css heading scale
- [x] Rework TFE page desktop layout: two columns 35vw/1fr, left = author/title/meta/synopsis, right = files, media 100% width; columns scroll independently, content fits 100vw; no bottom padding on main; add &scrollbar=0 to PDF iframe URLs
- [x] 'Promoteur·ice ULB' remplacé par 'Promoteur·ice université' (changement juste l'étiquette)
@@ -0,0 +1,9 @@
<?php
/**
* Migration 043: Rename "Promoteur·ice ULB" → "Promoteur·ice université" in all UI labels.
*
* This is a pure template/code label change — no database schema change required.
* The migration exists to track that this relabeling has been applied.
*/
echo "Migration 043: Label-only change — 'Promoteur·ice ULB' → 'Promoteur·ice université' in templates.\n";
echo " No database changes required.\n";
+1 -1
View File
@@ -159,7 +159,7 @@ $pageTitle = 'Merci — TFE enregistré';
<?php endif; ?>
<?php if (!empty($thesis['jury_promoteurs_ulb'])): ?>
<dt>Promoteur·ice(s) ULB</dt>
<dt>Promoteur·ice(s) université</dt>
<dd><?= htmlspecialchars($thesis['jury_promoteurs_ulb']) ?></dd>
<?php endif; ?>
+1 -1
View File
@@ -259,7 +259,7 @@ class ExportController
'Promoteur·ice(s) interne',
'Lecteur·ice(s) interne',
'Lecteur·ice(s) externe',
'Promoteur·ice(s) ULB',
'Promoteur·ice(s) université',
'Format(s)',
'Année',
'AP',
+1 -1
View File
@@ -33,7 +33,7 @@ class StudentEmail
'Format(s)' => $thesis['formats'] ?? '',
'Mots-clés' => $thesis['keywords'] ?? '',
'Promoteur·ice(s) interne' => $thesis['jury_promoteurs'] ?? '',
'Promoteur·ice(s) ULB' => $thesis['jury_promoteurs_ulb'] ?? '',
'Promoteur·ice(s) université' => $thesis['jury_promoteurs_ulb'] ?? '',
'Président·e du jury' => $thesis['jury_president'] ?? '',
'Lecteurs·rices (interne)' => $thesis['jury_lecteurs_internes'] ?? '',
'Lecteurs·rices (externe)' => $thesis['jury_lecteurs_externes'] ?? '',
+1 -1
View File
@@ -89,7 +89,7 @@
<dt>Promoteur·ice(s)</dt><dd><?= htmlspecialchars($thesis['jury_promoteurs']) ?></dd>
<?php endif; ?>
<?php if ($thesis['jury_promoteurs_ulb']): ?>
<dt>Promoteur·ice(s) ULB</dt><dd><?= htmlspecialchars($thesis['jury_promoteurs_ulb']) ?></dd>
<dt>Promoteur·ice(s) université</dt><dd><?= htmlspecialchars($thesis['jury_promoteurs_ulb']) ?></dd>
<?php endif; ?>
<?php if ($thesis['jury_lecteurs_internes']): ?>
<dt>Lecteur·ice(s) interne</dt><dd><?= htmlspecialchars($thesis['jury_lecteurs_internes']) ?></dd>
@@ -105,14 +105,14 @@ if ($addMode) {
</fieldset>
<?php if ($showPromoteurUlb): ?>
<!-- Promoteur·ice(s) ULB -->
<!-- Promoteur·ice(s) université -->
<fieldset class="admin-jury-lecteurs" id="jury-promoteur-ulb-row"<?= $promoteurUlbConditional ? ' style="display:none"' : '' ?> data-jury-autocomplete data-jury-hx-post="<?= $adminMode ? '/admin/fragments/pill-search.php' : '/partage/fragments/pill-search.php' ?>" data-jury-role="promoteur_externe">
<legend>Promoteur·ice(s) ULB<span id="jury-ulb-asterisk" style="display:none"> <span class="asterisk">*</span></span></legend>
<legend>Promoteur·ice(s) université<span id="jury-ulb-asterisk" style="display:none"> <span class="asterisk">*</span></span></legend>
<div id="jury-promoteur-ulb-list" class="admin-jury-list">
<?php if (empty($juryPromoteursUlb) && $juryPromoteurUlb === null): ?>
<div class="admin-jury-entry">
<input type="text" name="jury_promoteur_ulb_name[]" placeholder="Nom"
aria-label="Promoteur·ice ULB 1 — nom" autocomplete="off">
aria-label="Promoteur·ice université 1 — nom" autocomplete="off">
<button type="button" class="btn btn--sm btn--ghost admin-btn-remove"
onclick="removeJuryRow(this)" aria-label="Supprimer"><span aria-hidden="true">✕</span></button>
</div>
@@ -121,7 +121,7 @@ if ($addMode) {
<div class="admin-jury-entry">
<input type="text" name="jury_promoteur_ulb_name[]"
value="<?= htmlspecialchars($pm['name']) ?>" placeholder="Nom"
aria-label="Promoteur·ice ULB <?= $pi + 1 ?> — nom" autocomplete="off">
aria-label="Promoteur·ice université <?= $pi + 1 ?> — nom" autocomplete="off">
<button type="button" class="btn btn--sm btn--ghost admin-btn-remove"
onclick="removeJuryRow(this)" aria-label="Supprimer"><span aria-hidden="true">✕</span></button>
</div>
@@ -130,15 +130,15 @@ if ($addMode) {
<div class="admin-jury-entry">
<input type="text" name="jury_promoteur_ulb_name[]"
value="<?= htmlspecialchars($juryPromoteurUlb ?? '') ?>" placeholder="Nom"
aria-label="Promoteur·ice ULB 1 — nom" autocomplete="off">
aria-label="Promoteur·ice université 1 — nom" autocomplete="off">
<button type="button" class="btn btn--sm btn--ghost admin-btn-remove"
onclick="removeJuryRow(this)" aria-label="Supprimer"><span aria-hidden="true">✕</span></button>
</div>
<?php endif; ?>
</div>
<button type="button" class="btn btn--secondary admin-add-jury-btn"
onclick="addJuryRow('jury-promoteur-ulb-list', 'jury_promoteur_ulb_name[]', 'Promoteur·ice ULB')">
+ Ajouter un·e promoteur·ice ULB
onclick="addJuryRow('jury-promoteur-ulb-list', 'jury_promoteur_ulb_name[]', 'Promoteur·ice université')">
+ Ajouter un·e promoteur·ice université
</button>
</fieldset>
<?php endif; ?>
+1 -1
View File
@@ -133,7 +133,7 @@
<?php if (!empty($promoteursUlb)): ?>
<p class="tfe-meta-item">
<span class="tfe-meta-label">Promoteur·ice ULB :</span>
<span class="tfe-meta-label">Promoteur·ice université :</span>
<?php
$links = array_map(
fn($n) => '<a href="/search?query=' . urlencode($n) . '">' . htmlspecialchars($n) . '</a>',