Transfer to git
This commit is contained in:
17
includes/register_view.inc.php
Normal file
17
includes/register_view.inc.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
function render_register_form(){
|
||||
?>
|
||||
<input required type="text" id="username" name="username" placeholder="User" value=
|
||||
<?php if(isset($_SESSION["entered_register_data"])){
|
||||
echo $_SESSION["entered_register_data"]["username"];
|
||||
unset($_SESSION["entered_register_data"]);
|
||||
}
|
||||
?>>
|
||||
</input>
|
||||
<input required type="password" id="password" name="pwd" placeholder="Password"></input>
|
||||
<?php
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user