From 916d4521cb595493bc5df8b7f9ef52310b6d013a Mon Sep 17 00:00:00 2001 From: winter Date: Mon, 23 Dec 2024 22:17:41 +0000 Subject: actor profile page --- templates/actor_profile_page.php | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 templates/actor_profile_page.php (limited to 'templates/actor_profile_page.php') diff --git a/templates/actor_profile_page.php b/templates/actor_profile_page.php new file mode 100644 index 0000000..e745433 --- /dev/null +++ b/templates/actor_profile_page.php @@ -0,0 +1,16 @@ + "$actor->displayName - @" . $actor->getFullHandle(), + 'renderTitleHeading' => false +], function () { + global $actor; + call_template('actor_profile', ['actor' => $actor]); + echo '
'; + $notes = Note::findAllWithAuthor($actor, 50); + foreach ($notes as $n) { + call_template('note', ['note' => $n]); + } +}); \ No newline at end of file -- cgit v1.3