Skip to content

Commit

Permalink
Last little UI tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesread committed Jan 7, 2025
1 parent 68a96e9 commit 4037e06
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/includes/templates/loggedin.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<p>You have been logged in.</p>

<ul class = "block-links">
<li><a href = "homepage.php">Home</a></li>
<li><a href = "index.php">Home</a></li>
<li><a href = "account.php">My Account</a></li>
</ul>
</section>
5 changes: 2 additions & 3 deletions src/register.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
use libAllure\util\FormRegister;

$f = new FormRegister();
$f->setTitle('Register as a new user');
$f->getElement('submit')->setCaption('Register user');

if ($f->validate()) {
$f->process();
Expand Down Expand Up @@ -51,10 +53,7 @@
} else {
include_once 'includes/widgets/header.php';

echo '<div class = "container">';

$tpl->displayForm($f);

echo '</div>';
include_once 'includes/widgets/footer.php';
}

0 comments on commit 4037e06

Please # to comment.