Completed
Push — master ( f91572...f6d01d )
by mains
02:59
created
templates/footer.php 3 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -128,7 +128,7 @@
 block discarded – undo
128 128
 		<?php  
129 129
 			if(is_file(__dir__ . '/piwik-script.html'))
130 130
 			{
131
-			    require_once(__dir__ . '/piwik-script.html');
131
+				require_once(__dir__ . '/piwik-script.html');
132 132
 			}
133 133
 		?>
134 134
 
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@  discard block
 block discarded – undo
5 5
 			  crossorigin="anonymous"></script>
6 6
 	    <script src="https://cdnjs.cloudflare.com/ajax/libs/tether/1.4.0/js/tether.min.js" integrity="sha384-DztdAPBWPRXSA/3eYEEUWrWCy7G5KFbe8fFjk5JAIxUYHKkDx6Qin1DkWx51bBrb" crossorigin="anonymous"></script>
7 7
 	    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/js/bootstrap.min.js" integrity="sha384-vBWWzlZJ8ea9aCX4pEW3rVHjgjt7zpkNpZk+02D9phzyeVkE+jo0ieGizqPLForn" crossorigin="anonymous"></script>
8
-	    <script src="<?php echo $baseUrl;?>js/jQueryEmoji.js"></script>
8
+	    <script src="<?php echo $baseUrl; ?>js/jQueryEmoji.js"></script>
9 9
 
10 10
 		<script>
11 11
 			//BackButton
@@ -13,7 +13,7 @@  discard block
 block discarded – undo
13 13
 			{
14 14
 				window.history.back();
15 15
 			}
16
-		<?php if(isset($includeEmojiAndAjax)){ ?>
16
+		<?php if(isset($includeEmojiAndAjax)) { ?>
17 17
 			$(document).ready(function()
18 18
 			{
19 19
 				//Transform UTF-8 Emoji to img
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
 							if(!$("article[id='"+ hash +"']").length)
50 50
 							{
51 51
 								$.ajax({
52
-									url: '<?php echo $baseUrl;?>get-posts-ajax.php?lastPostId=' + lastPostId + '&view=' + view + '&hashtag=' + encodeURI(hashtag),
52
+									url: '<?php echo $baseUrl; ?>get-posts-ajax.php?lastPostId=' + lastPostId + '&view=' + view + '&hashtag=' + encodeURI(hashtag),
53 53
 									dataType: 'html',
54 54
 									async: false,
55 55
 									success: function(html) {
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
 						$('#loading').show();
93 93
 
94 94
 						$.ajax({
95
-							url: '<?php echo $baseUrl;?>get-posts-ajax.php?lastPostId=' + lastPostId + '&view=' + view + '&hashtag=' + encodeURI(hashtag),
95
+							url: '<?php echo $baseUrl; ?>get-posts-ajax.php?lastPostId=' + lastPostId + '&view=' + view + '&hashtag=' + encodeURI(hashtag),
96 96
 							dataType: 'html',
97 97
 							async: false,
98 98
 							success: function(html) {
Please login to merge, or discard this patch.
Braces   +6 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,7 +13,9 @@  discard block
 block discarded – undo
13 13
 			{
14 14
 				window.history.back();
15 15
 			}
16
-		<?php if(isset($includeEmojiAndAjax)){ ?>
16
+		<?php if(isset($includeEmojiAndAjax))
17
+{
18
+?>
17 19
 			$(document).ready(function()
18 20
 			{
19 21
 				//Transform UTF-8 Emoji to img
@@ -29,7 +31,9 @@  discard block
 block discarded – undo
29 31
 				    $('html,body').animate({scrollTop: aTag.offset().top-90},'slow');
30 32
 				}
31 33
 
32
-				<?php if(!isset($_GET['postId']) && !isset($_GET['getPostDetails'])) { ?>
34
+				<?php if(!isset($_GET['postId']) && !isset($_GET['getPostDetails']))
35
+{
36
+?>
33 37
 
34 38
 				var win = $(window);
35 39
 				var lastPostId = "<?php echo $view->lastPostId; ?>";
Please login to merge, or discard this patch.
index.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
 								<?php if(isset($_GET['postId']) && isset($_GET['getPostDetails'])) { ?>
111 111
 								<h2>Comment on Jodel</h2>
112 112
 								<form method="POST">				
113
-										<input type="hidden" name="ancestor" value="<?php echo htmlspecialchars($_GET['postId']);?>" />
113
+										<input type="hidden" name="ancestor" value="<?php echo htmlspecialchars($_GET['postId']); ?>" />
114 114
 										<textarea id="message" name="message" placeholder="Send a comment on a Jodel to all students within 10km" required></textarea> 
115 115
 									<br />
116 116
 									<input type="submit" value="SEND" /> 
@@ -143,7 +143,7 @@  discard block
 block discarded – undo
143 143
 					</div>
144 144
 				</aside>
145 145
 			</div>
146
-			<?php include 'templates/nav-bottom.php';?>
146
+			<?php include 'templates/nav-bottom.php'; ?>
147 147
 		</div>
148 148
 		<?php
149 149
 			$includeEmojiAndAjax = TRUE;
Please login to merge, or discard this patch.