From d5a57276eb27e215dd0b1bd5eb67ac26acc9575b Mon Sep 17 00:00:00 2001
From: winter
Date: Tue, 24 Dec 2024 15:32:56 +0000
Subject: more stuff and things
---
templates/actor_profile.php | 6 +++++-
templates/actor_profile_page.php | 3 +++
templates/note.php | 4 ++--
templates/placeholder_text.php | 1 +
templates/thread_page.php | 8 ++++++++
5 files changed, 19 insertions(+), 3 deletions(-)
create mode 100644 templates/placeholder_text.php
create mode 100644 templates/thread_page.php
(limited to 'templates')
diff --git a/templates/actor_profile.php b/templates/actor_profile.php
index 0d99d05..f721fc8 100644
--- a/templates/actor_profile.php
+++ b/templates/actor_profile.php
@@ -13,5 +13,9 @@
-
= $note->getFormattedContent('text/html') ?? htmlspecialchars($note->plainContent) ?>
diff --git a/templates/placeholder_text.php b/templates/placeholder_text.php
new file mode 100644
index 0000000..b27e490
--- /dev/null
+++ b/templates/placeholder_text.php
@@ -0,0 +1 @@
+
= $message ?? "There's nothing here." ?>
\ No newline at end of file
diff --git a/templates/thread_page.php b/templates/thread_page.php
new file mode 100644
index 0000000..73d8f0b
--- /dev/null
+++ b/templates/thread_page.php
@@ -0,0 +1,8 @@
+ '"' . $note->plainContent . '" - @' . $note->author->getFullHandle(),
+ 'renderTitleHeading' => false
+], function () {
+ global $note;
+ call_template('note', ['note' => $note]);
+});
\ No newline at end of file
--
cgit v1.3