@@ -37,9 +37,12 @@ |
||
| 37 | 37 | <div class="next"> |
| 38 | 38 | <?php if ($nextPageUrl) : ?> |
| 39 | 39 | <a href="<?= url($nextPageUrl) ?>"><?= $nextStr ?></a> |
| 40 | - <?php else : ?> |
|
| 40 | + <?php else { |
|
| 41 | + : ?> |
|
| 41 | 42 | |
| 42 | - <?php endif; ?> |
|
| 43 | + <?php endif; |
|
| 44 | +} |
|
| 45 | +?> |
|
| 43 | 46 | </div> |
| 44 | 47 | |
| 45 | 48 | <div class="center"> |
@@ -46,7 +46,7 @@ discard block |
||
| 46 | 46 | $page->add("weatherapi/weather", $data); |
| 47 | 47 | |
| 48 | 48 | return $page->render([ |
| 49 | - "title" => $title, |
|
| 49 | + "title" => $title, |
|
| 50 | 50 | ]); |
| 51 | 51 | } |
| 52 | 52 | public function weatherDataAction() : object |
@@ -69,7 +69,7 @@ discard block |
||
| 69 | 69 | $page->add("weatherapi/weather-data", $data); |
| 70 | 70 | |
| 71 | 71 | return $page->render([ |
| 72 | - "title" => $title, |
|
| 72 | + "title" => $title, |
|
| 73 | 73 | ]); |
| 74 | 74 | } |
| 75 | 75 | /** |
@@ -45,7 +45,7 @@ |
||
| 45 | 45 | $page->add("weatherapi/weather-json", $data); |
| 46 | 46 | |
| 47 | 47 | return $page->render([ |
| 48 | - "title" => $title, |
|
| 48 | + "title" => $title, |
|
| 49 | 49 | ]); |
| 50 | 50 | } |
| 51 | 51 | /** |