From 1af3a4e00ec63755a90109d8a63a1b6f6d95def6 Mon Sep 17 00:00:00 2001 From: winter Date: Tue, 28 Jan 2025 21:04:21 +0000 Subject: alt text and open remote profile --- templates/actor_profile.php | 8 ++++++++ templates/note.php | 3 ++- 2 files changed, 10 insertions(+), 1 deletion(-) (limited to 'templates') diff --git a/templates/actor_profile.php b/templates/actor_profile.php index 1e37f28..4692a53 100644 --- a/templates/actor_profile.php +++ b/templates/actor_profile.php @@ -27,6 +27,14 @@ $user = UserAccount::findByCurrentSession(); // i don't know why but `global $user` just straight up doesnt work? $user = UserAccount::findByCurrentSession(); ?> + isLocal && isset($actor->homepage)): ?> +
  • + + + + +
  • + actor != $actor): ?>
  • $user, 'actor' => $actor]) ?>
  • diff --git a/templates/note.php b/templates/note.php index c69531b..f0f289c 100644 --- a/templates/note.php +++ b/templates/note.php @@ -82,7 +82,8 @@ if ($user != null) { attachments as $attachment): ?>
    type, 'image/')): ?> - + <?= $attachment->description ?? '' ?> -- cgit v1.3