aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates/local_timeline.php
diff options
context:
space:
mode:
authorwinter2024-12-23 19:48:28 +0000
committerwinter2024-12-23 19:48:28 +0000
commit505d25e29f1c13403bfbfe7cd9d1ab125be87a4b (patch)
tree1f2e914b3aacd57defb84acf78a871ad1f896927 /templates/local_timeline.php
parentbccad1118364427ea5c97c08d132fd128368760b (diff)
make the timelines look nicer and add local tl
Diffstat (limited to 'templates/local_timeline.php')
-rw-r--r--templates/local_timeline.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/templates/local_timeline.php b/templates/local_timeline.php
new file mode 100644
index 0000000..a4624b5
--- /dev/null
+++ b/templates/local_timeline.php
@@ -0,0 +1,10 @@
+<?php call_template('skeleton', ['pageTitle' => 'Local timeline'], function () {
+ global $notes;
+ call_template('alertbox', [
+ 'variety' => 'info',
+ 'message' => 'This timeline shows all public indexable notes posted by users on this server'
+ ]);
+ foreach ($notes as $n) {
+ call_template('note', ['note' => $n]);
+ }
+}); \ No newline at end of file