Transfer to git
This commit is contained in:
15
includes/chat_send_view.inc.php
Normal file
15
includes/chat_send_view.inc.php
Normal file
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
function render_chat_send_form(){
|
||||
?>
|
||||
<input required type="text" id="message_content" name="message_content" placeholder="Message" value=
|
||||
<?php if(isset($_SESSION["entered_chat_data"])){
|
||||
echo $_SESSION["entered_chat_data"]["message_content"];
|
||||
unset($_SESSION["entered_chat_data"]);
|
||||
}
|
||||
?>>
|
||||
</input>
|
||||
<?php
|
||||
}
|
||||
Reference in New Issue
Block a user