@@ -105,7 +105,7 @@ discard block |
||
105 | 105 | </article> |
106 | 106 | |
107 | 107 | <aside class="topSidebar col-sm-4 sidebar-outer"> |
108 | - <div class="fixed<?php if(!$view->isDetailedView) echo(' hide-mobile');?>"> |
|
108 | + <div class="fixed<?php if(!$view->isDetailedView) echo(' hide-mobile'); ?>"> |
|
109 | 109 | <article> |
110 | 110 | <div> |
111 | 111 | <h2>Position / Hashtag</h2> |
@@ -140,7 +140,7 @@ discard block |
||
140 | 140 | if(isset($_GET['postId']) && isset($_GET['getPostDetails'])) { ?> |
141 | 141 | <h2>Comment on Jodel</h2> |
142 | 142 | <form enctype="multipart/form-data" method="POST"> |
143 | - <input type="hidden" name="ancestor" value="<?php echo htmlspecialchars($_GET['postId']);?>" /> |
|
143 | + <input type="hidden" name="ancestor" value="<?php echo htmlspecialchars($_GET['postId']); ?>" /> |
|
144 | 144 | <textarea id="message" name="message" placeholder="Send a comment on a Jodel to all students within 10km" required></textarea> |
145 | 145 | <input type="hidden" name="MAX_FILE_SIZE" value="999990000" /> |
146 | 146 | <input name="image" type="file" /> |
@@ -181,7 +181,7 @@ discard block |
||
181 | 181 | </div> |
182 | 182 | </aside> |
183 | 183 | </div> |
184 | - <?php include 'templates/nav-bottom.php';?> |
|
184 | + <?php include 'templates/nav-bottom.php'; ?> |
|
185 | 185 | </div> |
186 | 186 | <?php |
187 | 187 | $includeEmojiAndAjax = TRUE; |
@@ -97,7 +97,9 @@ discard block |
||
97 | 97 | } ?> |
98 | 98 | </content> |
99 | 99 | |
100 | - <?php if(!isset($_GET['postId']) && !isset($_GET['getPostDetails'])) { ?> |
|
100 | + <?php if(!isset($_GET['postId']) && !isset($_GET['getPostDetails'])) |
|
101 | +{ |
|
102 | +?> |
|
101 | 103 | <p id="loading"> |
102 | 104 | Loading… |
103 | 105 | </p> |
@@ -105,12 +107,20 @@ discard block |
||
105 | 107 | </article> |
106 | 108 | |
107 | 109 | <aside class="topSidebar col-sm-4 sidebar-outer"> |
108 | - <div class="fixed<?php if(!$view->isDetailedView) echo(' hide-mobile');?>"> |
|
110 | + <div class="fixed<?php if(!$view->isDetailedView) |
|
111 | +{ |
|
112 | + echo(' hide-mobile'); |
|
113 | +} |
|
114 | +?>"> |
|
109 | 115 | <article> |
110 | 116 | <div> |
111 | 117 | <h2>Position / Hashtag</h2> |
112 | 118 | <form action="index.php" method="get"> |
113 | - <input type="text" id="city" name="search" placeholder="<?php if(isset($newPositionStatus)) echo $newPositionStatus; ?>" required> |
|
119 | + <input type="text" id="city" name="search" placeholder="<?php if(isset($newPositionStatus)) |
|
120 | +{ |
|
121 | + echo $newPositionStatus; |
|
122 | +} |
|
123 | +?>" required> |
|
114 | 124 | <label>try: #jhj</label><br> |
115 | 125 | <input type="submit" value="Set Location" /> |
116 | 126 | </form> |
@@ -127,7 +137,7 @@ discard block |
||
127 | 137 | <article> |
128 | 138 | <div> |
129 | 139 | <?php if(!$jodelAccountForView->isAccountVerified()) |
130 | - { |
|
140 | +{ |
|
131 | 141 | ?> |
132 | 142 | <h2>New Jodel</h2> |
133 | 143 | |
@@ -137,7 +147,9 @@ discard block |
||
137 | 147 | } |
138 | 148 | else |
139 | 149 | { |
140 | - if(isset($_GET['postId']) && isset($_GET['getPostDetails'])) { ?> |
|
150 | + if(isset($_GET['postId']) && isset($_GET['getPostDetails'])) |
|
151 | + { |
|
152 | +?> |
|
141 | 153 | <h2>Comment on Jodel</h2> |
142 | 154 | <form enctype="multipart/form-data" method="POST"> |
143 | 155 | <input type="hidden" name="ancestor" value="<?php echo htmlspecialchars($_GET['postId']);?>" /> |
@@ -146,7 +158,10 @@ discard block |
||
146 | 158 | <input name="image" type="file" /> |
147 | 159 | <input type="submit" value="SEND" /> |
148 | 160 | </form> |
149 | - <?php } else { ?> |
|
161 | + <?php } |
|
162 | +else |
|
163 | +{ |
|
164 | +?> |
|
150 | 165 | <h2>New Jodel</h2> |
151 | 166 | <form enctype="multipart/form-data" method="POST"> |
152 | 167 | <textarea id="message" name="message" placeholder="Send a Jodel to all students within 10km" required></textarea> |