Completed
Push — master ( e59735...5fd26f )
by Anthony
02:10
created
app/views/write-comment.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,7 +2,7 @@  discard block
 block discarded – undo
2 2
 	<form action="<?=WEBROOT?>controller/modules/comment/write_comment" method="post" class="row">
3 3
 		<?php if (!isset($_SESSION['idlogin'.CLEF_SITE])):?>
4 4
 			<input type="text" name="pseudo" placeholder="Your pseudo">
5
-		<?php endif;?>
5
+		<?php endif; ?>
6 6
 		<textarea name="comment" id="" cols="30" rows="10"></textarea>
7 7
 		<button>Send</button>
8 8
 		
@@ -12,4 +12,4 @@  discard block
 block discarded – undo
12 12
 	<div class="row">
13 13
 		<p>You must be connected to publish a comment</p>
14 14
 	</div>
15
-<?php endif;?>
16 15
\ No newline at end of file
16
+<?php endif; ?>
17 17
\ No newline at end of file
Please login to merge, or discard this patch.
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -8,8 +8,11 @@
 block discarded – undo
8 8
 		
9 9
 		<input type="hidden" name="return_page" value="http://<?=$_SERVER[HTTP_HOST].$_SERVER[REQUEST_URI]?>">
10 10
 	</form>
11
-<?php else: ?>
11
+<?php else {
12
+	: ?>
12 13
 	<div class="row">
13 14
 		<p>You must be connected to publish a comment</p>
14 15
 	</div>
15
-<?php endif;?>
16 16
\ No newline at end of file
17
+<?php endif;
18
+}
19
+?>
17 20
\ No newline at end of file
Please login to merge, or discard this patch.