Skip to content

Commit 5c5c78b

Browse files
committed
Made the nav bar part of the header.
1 parent 086e72b commit 5c5c78b

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

template/app/templates/header.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,5 @@
99
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
1010
<link rel="stylesheet" href="/css/main.css">
1111
</head>
12-
<body>
12+
<body>
13+
<?php $this->insertTemplate('users/navBar.php'); ?>

template/app/templates/home.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<?php $this->insertTemplate('header.php'); ?>
2-
<?php $this->insertTemplate('users/navBar.php'); ?>
32
<div class="container">
43
<h1>Hello <?php echo(($name) ? $name : 'world'); ?>!</h1>
54
<form action="" method="post">
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<?php $this->insertTemplate('header.php'); ?>
2-
<?php $this->insertTemplate('users/navBar.php'); ?>
32
Your login attempt failed with error: <?php echo $error ?> Please try again.<br>
43
This is just a demo site, it doesn't even have password reset.
54
<?php $this->insertTemplate('footer.php'); ?>

0 commit comments

Comments
 (0)