Brouillon'; } if (strtotime((string)($a['published_at'] ?? '')) > $now) { return 'Avant-première'; } return 'Publié'; } ?>

Administration

+ Nouvel article
'Publiés', 'value' => $adminData['published'], 'color' => 'success'], ['label' => 'Avant-premières', 'value' => $adminData['previews'], 'color' => 'warning'], ['label' => 'Brouillons', 'value' => $adminData['drafts'], 'color' => 'secondary'], ['label' => 'Total', 'value' => $adminData['total'], 'color' => 'primary'], ]; foreach ($stats as $s): ?>
Activité récente
Titre Auteur Statut Modifié le

Aucun article.

Titre Auteur Catégorie Statut Date
Modifier
Attribuer un rôle

Aucun utilisateur.

Email Statut Rôles
Pré-inscrit Actif Inactif
!in_array($r['name'], $currentRoles, true)); ?>
Rôles existants

Aucun rôle défini.

Nom technique Label affiché Utilisateurs
Nouveau rôle
Utilisé dans le code — ne change pas.
Permissions par rôle

Le rôle admin a toutes les permissions implicitement.

>
'Propres articles', 'all' => 'Tous'] as $scope => $scopeLabel): $cap = $group[$scope]; ?>
>