aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates
diff options
context:
space:
mode:
authorwinter Sparkles2026-07-03 02:54:48 +0100
committerwinter Sparkles2026-07-03 02:54:48 +0100
commit59aeb7b036cb6d38c6649eec16995c432c051fef (patch)
tree210d546fc7e2ae8d5aac7bb3051a39b3994e7ad8 /templates
parente14f4b88e77b380afa8e40e1e66f48772515e95c (diff)
i forgot how named parameters workHEADmain
this is what i get for not writing any php in ages
Diffstat (limited to 'templates')
-rw-r--r--templates/actor/profile.php2
-rw-r--r--templates/actor/profile_editable.php2
-rw-r--r--templates/actor/profile_page.php2
-rw-r--r--templates/thread_page.php2
4 files changed, 4 insertions, 4 deletions
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);
<div>
<div class="displayName"><?= htmlspecialchars($actor->displayName) ?></div>
<div class="pronouns"><?= htmlspecialchars($actor->pronouns) ?></div>
- <div class="handle">@<?= $actor->getFullHandle($convertIdn = true) ?></div>
+ <div class="handle">@<?= $actor->getFullHandle(convertIdn: true) ?></div>
<div class="joinedDate"><?= sprintf(__('user.profile.createdAt'), format_datetime($actor->created)) ?></div>
<?php if ($actor->automated): ?>
<div class="inlinePill">
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="<?= htmlspecialchars($actor->pronouns) ?>">
</div>
</div>
- <div class="handle">@<?= $actor->getFullHandle($convertIdn = true) ?></div>
+ <div class="handle">@<?= $actor->getFullHandle(convertIdn: true) ?></div>
<div class="joinedDate"><?= sprintf(__('user.profile.createdAt'), format_datetime($actor->created)) ?></div>
</div>
</div>
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,