aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates/skeleton.php
diff options
context:
space:
mode:
authorwinter2025-03-15 18:53:29 +0000
committerwinter2025-03-15 18:53:29 +0000
commite0588a6113ff6b3c1000fa6c82629f81fb5e05b5 (patch)
treeef6beb046a7dcc7542b88f0962d4e5e264895b7a /templates/skeleton.php
parent61b122e88cc6783b4d0cf5142a22002f8e558c60 (diff)
[refactor] move some templates to subdirs
Diffstat (limited to 'templates/skeleton.php')
-rw-r--r--templates/skeleton.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/templates/skeleton.php b/templates/skeleton.php
index 5848054..62090bd 100644
--- a/templates/skeleton.php
+++ b/templates/skeleton.php
@@ -53,7 +53,7 @@ $settings = GlobalSettings::getInstance();
'/feed/global' => __('timeline.global.shortName'),
'/feed/local' => __('timeline.local.shortName'),
]);
- call_template('navigation_links', ['links' => $links]);
+ call_template('navigation/header_links', ['links' => $links]);
?>
<span id="siteTitle"><?= $settings->get('instance.name') ?></span>
<img id="loadingIndicator" class="htmx-indicator" src="/static/tail-spin.svg">
@@ -63,12 +63,12 @@ $settings = GlobalSettings::getInstance();
<?php endif; ?>
<?php if ($user == null):
- call_template('navigation_links', ['links' => [
+ call_template('navigation/header_links', ['links' => [
'/login' => __('navigation.login')
]]);
else: ?>
<a href="/@/<?= $user->actor->handle ?>" id="currentUserInfo">
- <?php call_template('actor_avatar', ['actor' => $user->actor]) ?>
+ <?php call_template('actor/avatar', ['actor' => $user->actor]) ?>
<?= htmlspecialchars($user->actor->displayName) ?>
</a>
<?php endif; ?>
@@ -79,9 +79,9 @@ $settings = GlobalSettings::getInstance();
<section id="leftPane">
<?php
if ($user != null) {
- call_template('write_note_form', ['actor' => $user->actor]);
+ call_template('note/write_form', ['actor' => $user->actor]);
}
- call_template('left_side_navigation');
+ call_template('navigation/left_side');
?>
<p class="versionInfo"><?= sprintf(__('version'), get_version()) ?></p>
</section>