loadPreferences(); //$userPreferences = Notification::getNotificationPreferences($myUser->login); $userPreferences = Notification::settingPreferences($myUser->login); $categories = array(); foreach(Notification::types() as $slug => $type): $type['slug'] = $slug; if(!isset($type['category'])) $type['category'] = 'Général'; if(!isset($categories[slugify($type['category'])])) $categories[slugify($type['category'])] = array('label'=>$type['category'],'items'=>array()); $categories[slugify($type['category'])]['items'][] = $type; endforeach; ?>

Enregistrer

Notifications


Suivre les catégories :
$category): ?>

.

  • class="form-check-input">