diff options
Diffstat (limited to 'web/views/modal/new-post.php')
-rw-r--r-- | web/views/modal/new-post.php | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/web/views/modal/new-post.php b/web/views/modal/new-post.php new file mode 100644 index 0000000..7215862 --- /dev/null +++ b/web/views/modal/new-post.php @@ -0,0 +1,28 @@ +<?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> |