diff options
| author | winter | 2024-12-23 22:17:41 +0000 |
|---|---|---|
| committer | winter | 2024-12-23 22:17:41 +0000 |
| commit | 916d4521cb595493bc5df8b7f9ef52310b6d013a (patch) | |
| tree | d12b54f32339c2e6ae0bafc12bd4c30262615a5d /templates/actor_profile_page.php | |
| parent | 8f1f84d92cabf3a606585bc79eba14e63c149b60 (diff) | |
actor profile page
Diffstat (limited to 'templates/actor_profile_page.php')
| -rw-r--r-- | templates/actor_profile_page.php | 16 |
1 files changed, 16 insertions, 0 deletions
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 @@ +<?php + +use Digitigrade\Model\Note; + +call_template('skeleton', [ + 'pageTitle' => "$actor->displayName - @" . $actor->getFullHandle(), + 'renderTitleHeading' => false +], function () { + global $actor; + call_template('actor_profile', ['actor' => $actor]); + echo '<hr>'; + $notes = Note::findAllWithAuthor($actor, 50); + foreach ($notes as $n) { + call_template('note', ['note' => $n]); + } +});
\ No newline at end of file |
