@@ -21,12 +21,12 @@ |
||
| 21 | 21 | <p>It seems we already have <?= ngettext('a definition', 'some definitions', $glossary->num_search_matches) ?> for that. Would you care to see <?= ngettext('it', 'them', $glossary->num_search_matches) ?>?</p> |
| 22 | 22 | <ul class="glossary"> |
| 23 | 23 | <?php |
| 24 | - foreach ($glossary->search_matches as $match) { |
|
| 25 | - $URL = new \MySociety\TheyWorkForYou\Url('glossary'); |
|
| 26 | - $URL->insert(['gl' => $match['glossary_id']]); |
|
| 27 | - $URL->remove(['g']); |
|
| 28 | - $term_link = $URL->generate('url'); |
|
| 29 | - ?> |
|
| 24 | + foreach ($glossary->search_matches as $match) { |
|
| 25 | + $URL = new \MySociety\TheyWorkForYou\Url('glossary'); |
|
| 26 | + $URL->insert(['gl' => $match['glossary_id']]); |
|
| 27 | + $URL->remove(['g']); |
|
| 28 | + $term_link = $URL->generate('url'); |
|
| 29 | + ?> |
|
| 30 | 30 | <li> |
| 31 | 31 | <a href="<?= $term_link ?>"><?= $match['title']?></a> |
| 32 | 32 | </li> |