aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates/actor/profile_page.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/actor/profile_page.php')
-rw-r--r--templates/actor/profile_page.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/actor/profile_page.php b/templates/actor/profile_page.php
index 9c11dd6..7ae8d09 100644
--- a/templates/actor/profile_page.php
+++ b/templates/actor/profile_page.php
@@ -33,6 +33,11 @@ call_template('skeleton', [
$user = UserAccount::findByCurrentSession();
call_template('actor/profile', ['actor' => $actor]);
+
+ if (isset($user) && $actor->isPokeable() && $actor != $user->actor) {
+ call_template('actor/profile_poke_form', ['actor' => $actor]);
+ }
+
echo '<hr>';
$notes = Note::findAllWithAuthor($actor, 20);
if (count($notes) == 0) {