@@ -18,9 +18,12 @@ |
||
18 | 18 | <p> |
19 | 19 | <a href="forum/create">Create a new post</a> |
20 | 20 | </p> |
21 | -<?php else : ?> |
|
21 | +<?php else { |
|
22 | + : ?> |
|
22 | 23 | <p>You have to be logged in to create a new post</p> |
23 | -<?php endif; ?> |
|
24 | +<?php endif; |
|
25 | +} |
|
26 | +?> |
|
24 | 27 | <?php if (!$items) : ?> |
25 | 28 | <p>There are no posts to show.!</p> |
26 | 29 | <a href="forum/create">Create a new post.</a> |