admin/site: retirer site_author, publisher=Blog, auteur depuis profil utilisateur
This commit is contained in:
+12
-2
@@ -10,9 +10,18 @@
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
|
||||
<?php if (!empty($profileLinks)): ?>
|
||||
<hr class="liens-sep">
|
||||
<?php endif; ?>
|
||||
|
||||
<div class="liens-list">
|
||||
<?php foreach ($profileLinks as $_link): ?>
|
||||
<a href="<?= htmlspecialchars($_link['url']) ?>" target="_blank" rel="noopener" class="liens-item">
|
||||
<?php
|
||||
$_palette = ['#0d9488','#16a34a','#d97706','#db2777','#7c3aed','#1d4ed8','#0ea5e9'];
|
||||
foreach ($profileLinks as $_i => $_link):
|
||||
$_btnBg = $_palette[$_i % count($_palette)];
|
||||
?>
|
||||
<a href="<?= htmlspecialchars($_link['url']) ?>" target="_blank" rel="noopener"
|
||||
class="liens-item" style="--btn-bg:<?= htmlspecialchars($_btnBg) ?>">
|
||||
<span class="liens-item-title"><?= htmlspecialchars($_link['title'] ?: $_link['url']) ?></span>
|
||||
<?php if ($_link['description'] !== ''): ?>
|
||||
<span class="liens-item-desc"><?= htmlspecialchars($_link['description']) ?></span>
|
||||
@@ -30,6 +39,7 @@
|
||||
</div>
|
||||
|
||||
<?php
|
||||
$bodyClass = 'liens-bg';
|
||||
$content = ob_get_clean();
|
||||
$title = 'Liens de ' . htmlspecialchars($_lName) . ' — ' . siteTitle();
|
||||
$seoTitle = $title;
|
||||
|
||||
Reference in New Issue
Block a user