system: sort ciphers a bit, not perfect but easier to read

This commit is contained in:
Franco Fichtner 2017-12-29 13:23:26 +00:00
parent e38b845725
commit 71df9cc1cc

View File

@ -394,6 +394,7 @@ include("head.inc");
if ($ciphers == null) {
$ciphers = array();
}
ksort($ciphers);
foreach ($ciphers as $cipher => $cipher_data):?>
<option value="<?=$cipher;?>" <?= !empty($pconfig['ssl-ciphers']) && in_array($cipher, $pconfig['ssl-ciphers']) ? 'selected="selected"' : '' ?>>
<?=!empty($cipher_data['description']) ? $cipher_data['description'] : $cipher;?>