mirror of
https://github.com/friendica/friendica
synced 2025-04-25 05:10:11 +00:00
Move templates into sub-dir "notifications"
This commit is contained in:
parent
512b00550e
commit
5c4eb2b2c9
34 changed files with 31 additions and 31 deletions
|
@ -80,15 +80,15 @@ class Notifications extends BaseNotifications
|
|||
// notification and apply the correct template according to the notificationtype (label).
|
||||
foreach ($notifs['notifications'] as $notif) {
|
||||
$notification_templates = [
|
||||
'like' => 'notifications_likes_item.tpl',
|
||||
'dislike' => 'notifications_dislikes_item.tpl',
|
||||
'attend' => 'notifications_attend_item.tpl',
|
||||
'attendno' => 'notifications_attend_item.tpl',
|
||||
'attendmaybe' => 'notifications_attend_item.tpl',
|
||||
'friend' => 'notifications_friends_item.tpl',
|
||||
'comment' => 'notifications_comments_item.tpl',
|
||||
'post' => 'notifications_posts_item.tpl',
|
||||
'notify' => 'notify.tpl',
|
||||
'like' => 'notifications/likes_item.tpl',
|
||||
'dislike' => 'notifications/dislikes_item.tpl',
|
||||
'attend' => 'notifications/attend_item.tpl',
|
||||
'attendno' => 'notifications/attend_item.tpl',
|
||||
'attendmaybe' => 'notifications/attend_item.tpl',
|
||||
'friend' => 'notifications/friends_item.tpl',
|
||||
'comment' => 'notifications/comments_item.tpl',
|
||||
'post' => 'notifications/posts_item.tpl',
|
||||
'notify' => 'notifications/notify.tpl',
|
||||
];
|
||||
|
||||
$tpl_notif = Renderer::getMarkupTemplate($notification_templates[$notif['label']]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue