feature: Lien BAIU + thesis ID in tfe.php

This commit is contained in:
Pontoporeia
2026-09-18 16:26:36 +02:00
parent 3316a352e3
commit 61b105da27
3 changed files with 48 additions and 64 deletions
+8 -1
View File
@@ -249,13 +249,20 @@
$_baiuLabel = parse_url($data["baiu_link"], PHP_URL_HOST) ?: preg_replace("#^https?://(www\\.)?#i", "", rtrim($data["baiu_link"], "/"));
?>
<p class="tfe-meta-item">
<span class="tfe-meta-label">Lien&nbsp;:</span>
<span class="tfe-meta-label">Lien BAIU&nbsp;:</span>
<a href="<?= $_baiuHref ?>" target="_blank" rel="noopener">
<?= htmlspecialchars($_baiuLabel) ?>
<span class="sr-only">(ouvre dans un nouvel onglet)</span>
</a>
</p>
<?php endif; ?>
<?php if (!empty($data["identifier"])): ?>
<p class="tfe-meta-item">
<span class="tfe-meta-label">ID&nbsp;:</span>
<?= htmlspecialchars($data["identifier"]) ?>
</p>
<?php endif; ?>
</div>
<?php if (!empty($data["context_note"])): ?>