From cd10f94269d7dcdd93df9fcda142a1e5a4441ae9 Mon Sep 17 00:00:00 2001 From: winter Date: Sun, 30 Mar 2025 19:00:19 +0100 Subject: implement basic interaction controls --- templates/interaction_button.php | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 templates/interaction_button.php (limited to 'templates/interaction_button.php') diff --git a/templates/interaction_button.php b/templates/interaction_button.php deleted file mode 100644 index 2b4fb82..0000000 --- a/templates/interaction_button.php +++ /dev/null @@ -1,22 +0,0 @@ - __('note.action.like'), - 'dislike' => __('note.action.dislike'), - 'reshare' => __('note.action.reshare') -}; -$icon = match ($action) { - 'like' => $active ? 'favorite' : 'favorite-outline', - 'dislike' => $active ? 'heart-broken' : 'heart-broken-outline', - 'reshare' => $active ? 'repeat-on' : 'repeat' -}; -$id = "interactButton-$action-$note->id"; -?> -
- - -
\ No newline at end of file -- cgit v1.3