@@ -39,7 +39,8 @@ discard block |
||
| 39 | 39 | <input type="hidden" name="ged" value="<?= $this->data->get('url_ged') ?>"> |
| 40 | 40 | <select name="city"> |
| 41 | 41 | <?php foreach ($cities as $city) { ?> |
| 42 | - <option value="<?= Functions::encryptToSafeBase64($city) ?>" <?php if(trim($city) == trim($selected_city)) echo 'selected="selected"'?> ><?= $city ?></option> |
|
| 42 | + <option value="<?= Functions::encryptToSafeBase64($city) ?>" <?php if(trim($city) == trim($selected_city)) { |
|
| 43 | + echo 'selected="selected"'?> ><?= $city ?></option> |
|
| 43 | 44 | <?php } ?> |
| 44 | 45 | </select> |
| 45 | 46 | <input type="submit" value="<?= I18N::translate('Show') ?>" /> |
@@ -72,9 +73,12 @@ discard block |
||
| 72 | 73 | <!-- Certificate Name --> |
| 73 | 74 | <?php |
| 74 | 75 | $name = $certificate->getCertificateDetails() ?: ''; |
| 76 | +} |
|
| 75 | 77 | $sortname = ""; |
| 76 | 78 | $ct_names=preg_match("/([A-Z]{2,})/", $name, $match); |
| 77 | - if($ct_names > 0) $sortname = $match[1].'_'; |
|
| 79 | + if($ct_names > 0) { |
|
| 80 | + $sortname = $match[1].'_'; |
|
| 81 | + } |
|
| 78 | 82 | $sortname .= $name; |
| 79 | 83 | ?> |
| 80 | 84 | <td data-sort="<?= Filter::escapeHtml($sortname) ?>"> |