From 59aeb7b036cb6d38c6649eec16995c432c051fef Mon Sep 17 00:00:00 2001 From: winter Sparkles Date: Fri, 3 Jul 2026 02:54:48 +0100 Subject: i forgot how named parameters work this is what i get for not writing any php in ages --- templates/actor/profile.php | 2 +- templates/actor/profile_editable.php | 2 +- templates/actor/profile_page.php | 2 +- templates/thread_page.php | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'templates') diff --git a/templates/actor/profile.php b/templates/actor/profile.php index aa403a6..25abd99 100644 --- a/templates/actor/profile.php +++ b/templates/actor/profile.php @@ -21,7 +21,7 @@ $actorUser = UserAccount::findByLinkedActor($actor);
displayName) ?>
pronouns) ?>
-
@getFullHandle($convertIdn = true) ?>
+
@getFullHandle(convertIdn: true) ?>
created)) ?>
automated): ?>
diff --git a/templates/actor/profile_editable.php b/templates/actor/profile_editable.php index bb5f72c..0846403 100644 --- a/templates/actor/profile_editable.php +++ b/templates/actor/profile_editable.php @@ -15,7 +15,7 @@ value="pronouns) ?>">
-
@getFullHandle($convertIdn = true) ?>
+
@getFullHandle(convertIdn: true) ?>
created)) ?>
diff --git a/templates/actor/profile_page.php b/templates/actor/profile_page.php index 53bd47d..f954c95 100644 --- a/templates/actor/profile_page.php +++ b/templates/actor/profile_page.php @@ -8,7 +8,7 @@ $lang = get_ui_language(); $actorUser = UserAccount::findByLinkedActor($actor); call_template('skeleton', [ - 'pageTitle' => "$actor->displayName - @" . $actor->getFullHandle($convertIdn = true), + 'pageTitle' => "$actor->displayName - @" . $actor->getFullHandle(convertIdn: true), 'renderTitleHeading' => false, 'ogTitle' => $actor->displayName, 'ogDesc' => $actor->bio, diff --git a/templates/thread_page.php b/templates/thread_page.php index f36930c..4fbdc05 100644 --- a/templates/thread_page.php +++ b/templates/thread_page.php @@ -3,7 +3,7 @@ use Digitigrade\Model\Note; use Digitigrade\Model\UserAccount; call_template('skeleton', [ - 'pageTitle' => '"' . $note->plainContent . '" - @' . $note->author->getFullHandle($convertIdn = true), + 'pageTitle' => '"' . $note->plainContent . '" - @' . $note->author->getFullHandle(convertIdn: true), 'renderTitleHeading' => false, 'ogTitle' => $note->author->displayName, 'ogDesc' => $note->plainContent, -- cgit v1.3