@@ -1,7 +1,7 @@ |
||
1 | 1 | <?php |
2 | -$nav_items = [ |
|
2 | +$nav_items = [ |
|
3 | 3 | ['hansard', 'alldebatesfront', 'mps', 'peers', 'interests_home', 'wranswmsfront', 'divisions_recent_commons', 'divisions_recent_lords'], |
4 | - ['sp_home', 'sp_home', 'spdebatesfront', 'msps', 'spwransfront', 'divisions_recent_sp'], |
|
4 | + ['sp_home', 'sp_home', 'spdebatesfront', 'msps', 'spwransfront', 'divisions_recent_sp'], |
|
5 | 5 | ['wales_home', 'wales_home', 'wales_debates', 'mss', 'welshlanguage', 'divisions_recent_wales'], |
6 | 6 | ['ni_home', 'ni_home', 'nioverview', 'mlas'], |
7 | 7 | ]; |
@@ -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 }; ?> |
@@ -169,7 +169,7 @@ discard block |
||
169 | 169 | |
170 | 170 | if ($nextprev) { |
171 | 171 | // Four different kinds of back/forth links we might build. |
172 | - $links = ["first", "prev", "up", "next", "last"]; |
|
172 | + $links = ["first", "prev", "up", "next", "last"]; |
|
173 | 173 | |
174 | 174 | foreach ($links as $type) { |
175 | 175 | if ($link = $this->generate_next_prev_link($nextprev, $type)) { |
@@ -307,9 +307,9 @@ discard block |
||
307 | 307 | // Page names mapping to those in metadata.php. |
308 | 308 | // Links in the top menu, and the sublinks we see if |
309 | 309 | // we're within that section. |
310 | - $nav_items = [ |
|
310 | + $nav_items = [ |
|
311 | 311 | ['home'], |
312 | - ['hansard', 'mps', 'peers', 'alldebatesfront', 'interests_home', 'wranswmsfront', 'pbc_front', 'divisions_recent_commons', 'divisions_recent_lords', 'calendar_summary'], |
|
312 | + ['hansard', 'mps', 'peers', 'alldebatesfront', 'interests_home', 'wranswmsfront', 'pbc_front', 'divisions_recent_commons', 'divisions_recent_lords', 'calendar_summary'], |
|
313 | 313 | ['sp_home', 'spoverview', 'msps', 'spdebatesfront', 'divisions_recent_sp'], #'spwransfront' |
314 | 314 | ['ni_home', 'nioverview', 'mlas'], |
315 | 315 | ['wales_home', 'seneddoverview', 'mss', 'wales_debates', 'divisions_recent_wales'], |