@@ -13,12 +13,15 @@ |
||
| 13 | 13 | <?php $detail = $upper_detail; ?> |
| 14 | 14 | </ul> |
| 15 | 15 | </li> |
| 16 | - <?php else : ?> |
|
| 16 | + <?php else { |
|
| 17 | + : ?> |
|
| 17 | 18 | <?php if ($detail->has_value()): ?> |
| 18 | 19 | <li class="interest-detail"> |
| 19 | 20 | <span class="interest-detail-name"><?= $detail->display_as ?>: </span> |
| 20 | 21 | <span class="interest-detail-value"><?= htmlspecialchars($detail->value) ?></span> |
| 21 | 22 | </li> |
| 22 | - <?php endif; ?> |
|
| 23 | + <?php endif; |
|
| 24 | +} |
|
| 25 | +?> |
|
| 23 | 26 | |
| 24 | 27 | <?php endif; ?> |
@@ -53,7 +53,7 @@ |
||
| 53 | 53 | <th>MP's comment</th> |
| 54 | 54 | </tr> |
| 55 | 55 | <?php foreach ($register->persons as $person) { ?> |
| 56 | - <?php foreach($person->categories as $category) { ?> |
|
| 56 | + <?php foreach ($person->categories as $category) { ?> |
|
| 57 | 57 | <?php if ($category->category_id != $category_id) { ?> |
| 58 | 58 | <?php continue; ?> |
| 59 | 59 | <?php }; ?> |
@@ -22,14 +22,17 @@ |
||
| 22 | 22 | <?php endif; ?> |
| 23 | 23 | </ul> |
| 24 | 24 | |
| 25 | - <?php else: ?> |
|
| 25 | + <?php else { |
|
| 26 | + : ?> |
|
| 26 | 27 | <?php if ($entry->content): ?> |
| 27 | 28 | <?php // This is a more mininal style of entry, don't use the header structure, just print the xml content?> |
| 28 | 29 | <?php if ($entry->content_format == "xml") : ?> |
| 29 | 30 | <?= $entry->content ?> |
| 30 | 31 | <?php else: ?> |
| 31 | 32 | <p class="interest-content"><?= htmlspecialchars($entry->content) ?></p> |
| 32 | - <?php endif; ?> |
|
| 33 | + <?php endif; |
|
| 34 | +} |
|
| 35 | +?> |
|
| 33 | 36 | <?php endif; ?> |
| 34 | 37 | <?php endif; ?> |
| 35 | 38 | |