From bccad1118364427ea5c97c08d132fd128368760b Mon Sep 17 00:00:00 2001 From: winter Date: Mon, 23 Dec 2024 18:20:25 +0000 Subject: make a crummy template system and use it for global timeline --- templates/global_timeline.php | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 templates/global_timeline.php (limited to 'templates/global_timeline.php') diff --git a/templates/global_timeline.php b/templates/global_timeline.php new file mode 100644 index 0000000..dbecd7b --- /dev/null +++ b/templates/global_timeline.php @@ -0,0 +1,6 @@ + 'Global timeline'], function () { + global $notes; + foreach ($notes as $n) { + call_template('note', ['note' => $n]); + } +}); \ No newline at end of file -- cgit v1.3