Vam
This commit is contained in:
parent
f4a0949365
commit
af6b445abe
|
|
@ -132,63 +132,17 @@
|
||||||
<!-- Zone d'information sur les extensions -->
|
<!-- Zone d'information sur les extensions -->
|
||||||
<div class="alert alert-info mt-2 py-2 small">
|
<div class="alert alert-info mt-2 py-2 small">
|
||||||
<strong><?= _("Extensions autorisées :") ?></strong>
|
<strong><?= _("Extensions autorisées :") ?></strong>
|
||||||
|
<div class="d-flex flex-wrap mt-2">
|
||||||
<!-- Documents -->
|
|
||||||
<div class="mt-2">
|
|
||||||
<span class="fw-bold text-dark"><?= _("Documents") ?> :</span>
|
|
||||||
<div class="d-flex flex-wrap mt-1">
|
|
||||||
<?php foreach ($tabExt as $ext): ?>
|
<?php foreach ($tabExt as $ext): ?>
|
||||||
<?php if(isset($extStyles[$ext]) && $extStyles[$ext]["cat"] === "Documents"): ?>
|
<?php
|
||||||
<span class="badge bg-<?= $extStyles[$ext]["color"] ?> me-2 mb-2">
|
$style = isset($extStyles[$ext]) ? $extStyles[$ext] : ["color" => "secondary", "icon" => "fas fa-file"];
|
||||||
<i class="<?= $extStyles[$ext]["icon"] ?> me-1"></i><?= strtoupper($ext) ?>
|
?>
|
||||||
|
<span class="badge bg-<?= $style["color"] ?> me-2 mb-2">
|
||||||
|
<i class="<?= $style["icon"] ?> me-1"></i><?= strtoupper($ext) ?>
|
||||||
</span>
|
</span>
|
||||||
<?php endif; ?>
|
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Images -->
|
|
||||||
<div class="mt-2">
|
|
||||||
<span class="fw-bold text-dark"><?= _("Images") ?> :</span>
|
|
||||||
<div class="d-flex flex-wrap mt-1">
|
|
||||||
<?php foreach ($tabExt as $ext): ?>
|
|
||||||
<?php if(isset($extStyles[$ext]) && $extStyles[$ext]["cat"] === "Images"): ?>
|
|
||||||
<span class="badge bg-<?= $extStyles[$ext]["color"] ?> me-2 mb-2">
|
|
||||||
<i class="<?= $extStyles[$ext]["icon"] ?> me-1"></i><?= strtoupper($ext) ?>
|
|
||||||
</span>
|
|
||||||
<?php endif; ?>
|
|
||||||
<?php endforeach; ?>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- Vidéos -->
|
|
||||||
<div class="mt-2">
|
|
||||||
<span class="fw-bold text-dark"><?= _("Vidéos") ?> :</span>
|
|
||||||
<div class="d-flex flex-wrap mt-1">
|
|
||||||
<?php foreach ($tabExt as $ext): ?>
|
|
||||||
<?php if(isset($extStyles[$ext]) && $extStyles[$ext]["cat"] === "Vidéos"): ?>
|
|
||||||
<span class="badge bg-<?= $extStyles[$ext]["color"] ?> me-2 mb-2">
|
|
||||||
<i class="<?= $extStyles[$ext]["icon"] ?> me-1"></i><?= strtoupper($ext) ?>
|
|
||||||
</span>
|
|
||||||
<?php endif; ?>
|
|
||||||
<?php endforeach; ?>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- Audio -->
|
|
||||||
<div class="mt-2">
|
|
||||||
<span class="fw-bold text-dark"><?= _("Audio") ?> :</span>
|
|
||||||
<div class="d-flex flex-wrap mt-1">
|
|
||||||
<?php foreach ($tabExt as $ext): ?>
|
|
||||||
<?php if(isset($extStyles[$ext]) && $extStyles[$ext]["cat"] === "Audio"): ?>
|
|
||||||
<span class="badge bg-<?= $extStyles[$ext]["color"] ?> me-2 mb-2">
|
|
||||||
<i class="<?= $extStyles[$ext]["icon"] ?> me-1"></i><?= strtoupper($ext) ?>
|
|
||||||
</span>
|
|
||||||
<?php endif; ?>
|
|
||||||
<?php endforeach; ?>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-3">
|
<div class="col-md-3">
|
||||||
<button type="submit" name="submit" class="btn btn-secondary w-100 fw-bold">
|
<button type="submit" name="submit" class="btn btn-secondary w-100 fw-bold">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user