diff options
Diffstat (limited to '')
-rw-r--r-- | src/web/_views/home/main.php (renamed from src/web/_views/apps/home/main.php) | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/web/_views/apps/home/main.php b/src/web/_views/home/main.php index 864034a..c9373d2 100644 --- a/src/web/_views/apps/home/main.php +++ b/src/web/_views/home/main.php @@ -1,22 +1,22 @@ <?php /* Copyright (c) 2024 Freya Murphy */ ?> <?php /* vi: syntax=php */ ?> <main id="main"> -<?php if ($self): ?> +<?php if ($session): ?> <div id="new-post" class="card"> <div class="row grow"> - <?=pfp($self)?> + <?=pfp($session)?> <a id="action-new-post" class="btn btn-alt grow ml" autocomplete="off" aria-label="<?=ucfirst(lang('action_new_post_tip'))?>" > - <?=ucfirst(lang('action_new_post_text', sub: [$self['first_name']]))?> + <?=ucfirst(lang('action_new_post_text', sub: [$session['first_name']]))?> </a> </div> <script> $('#action-new-post').on('click', function() { - $.get( "/modal/new_post", function (data) { + $.get( "/_modal/new_post", function (data) { $(document.body).append(data); }); }) |