view/comment/new_comment.php 1 location
|
@@ 20-24 (lines=5) @@
|
| 17 |
|
<button type="submit" class="btn btn-primary">Submit</button> |
| 18 |
|
</form> |
| 19 |
|
EOD; |
| 20 |
|
} else { |
| 21 |
|
echo sprintf('Please login to post a new comment. Login <a href="%s">here<a/>', $this->di->get("url")->create("user/login")); |
| 22 |
|
echo '<br>'; |
| 23 |
|
echo sprintf('To create a user, click <a href="%s">here<a/>', $this->di->get("url")->create("user/create")); |
| 24 |
|
} |
| 25 |
|
|
view/user/profile.php 1 location
|
@@ 24-28 (lines=5) @@
|
| 21 |
|
} |
| 22 |
|
|
| 23 |
|
echo sprintf('<a class="btn btn-outline-danger" href="%s">Logout</a>', $this->di->get("url")->create("user/logout")); |
| 24 |
|
} else { |
| 25 |
|
echo sprintf('You are not logged in, click here to <a href="%s">login<a/>', $this->di->get("url")->create("user/login")); |
| 26 |
|
echo '<br>'; |
| 27 |
|
echo sprintf('To create a user, click <a href="%s">here<a/>', $this->di->get("url")->create("user/create")); |
| 28 |
|
} |
| 29 |
|
|