summaryrefslogtreecommitdiff
path: root/src/web/_views/modal/new_post.php
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2024-04-05 15:00:27 -0400
committerFreya Murphy <freya@freyacat.org>2024-04-05 15:00:27 -0400
commit4c8d58b646ac62e67fc34c12f8cad51e7512bee3 (patch)
tree432351cce0acccd9a986872f7ea020dae14b0c71 /src/web/_views/modal/new_post.php
parentuser menu (diff)
downloadxssbook2-4c8d58b646ac62e67fc34c12f8cad51e7512bee3.tar.gz
xssbook2-4c8d58b646ac62e67fc34c12f8cad51e7512bee3.tar.bz2
xssbook2-4c8d58b646ac62e67fc34c12f8cad51e7512bee3.zip
add en_CAT makefile and use ucfirst/ucwords
Diffstat (limited to 'src/web/_views/modal/new_post.php')
-rw-r--r--src/web/_views/modal/new_post.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/web/_views/modal/new_post.php b/src/web/_views/modal/new_post.php
index 15163c9..c9e9c7f 100644
--- a/src/web/_views/modal/new_post.php
+++ b/src/web/_views/modal/new_post.php
@@ -9,14 +9,14 @@
<?=pfp($user)?>
<div class="col ml">
<strong><?=$user['first_name'] . ' ' . $user['last_name']?></strong>
- <span class="dim"><?=lang('now')?></span>
+ <span class="dim"><?=ucfirst(lang('now'))?></span>
</div>
</div>
<textarea
type="text"
name="content"
id="new-post-content"
- placeholder="<?=lang('action_new_post_text', sub: [$user['first_name']])?>"
+ placeholder="<?=ucfirst(lang('action_new_post_text', sub: [$user['first_name']]))?>"
></textarea>
</div>
<div class="modal-footer">