summaryrefslogtreecommitdiff
path: root/web/views/modal/new-post.php
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2024-03-30 12:14:42 -0400
committerFreya Murphy <freya@freyacat.org>2024-03-30 12:14:42 -0400
commit1f04b83be337cc91a3fabcf4e574e2306f3d2eaa (patch)
tree74d7d65a7047e60d1877384e3c7b0d70c7b0e49a /web/views/modal/new-post.php
parentstart database (user and post), and initial barebones home page (diff)
downloadxssbook2-1f04b83be337cc91a3fabcf4e574e2306f3d2eaa.tar.gz
xssbook2-1f04b83be337cc91a3fabcf4e574e2306f3d2eaa.tar.bz2
xssbook2-1f04b83be337cc91a3fabcf4e574e2306f3d2eaa.zip
refactor
Diffstat (limited to 'web/views/modal/new-post.php')
-rw-r--r--web/views/modal/new-post.php28
1 files changed, 0 insertions, 28 deletions
diff --git a/web/views/modal/new-post.php b/web/views/modal/new-post.php
deleted file mode 100644
index 7215862..0000000
--- a/web/views/modal/new-post.php
+++ /dev/null
@@ -1,28 +0,0 @@
-<?php
- $user = $this->main->user();
-?>
-<form>
-<div class="modal-content new-post-modal">
- <div class="row">
- <?php $this->view('template/pfp', array('user' => $user))?>
- <div class="col ml">
- <strong><?=$user['first_name'] . ' ' . $user['last_name']?></strong>
- <span class="dim"><?=lang('now')?></span>
- </div>
- </div>
- <textarea
- type="text"
- name="text"
- id="text"
- placeholder="<?=lang('action_new_post_text', sub: [$user['first_name']])?>"
- ></textarea>
-</div>
-<div class="modal-footer">
- <?=ilang('action_submit',
- id: 'new-post-submit',
- class: 'btn-action',
- attrs: array('type' => 'submit'),
- button: TRUE
- )?>
-</div>
-</form>