Fix the aastra labels.

This commit is contained in:
Mark Crane 2014-12-12 07:32:58 +00:00
parent 2944f823a5
commit 388c74b8cf
1 changed files with 2 additions and 2 deletions

View File

@ -731,9 +731,9 @@ require_once "resources/require.php";
if (strlen($device_vendor) == 0) { echo "<optgroup label='Aastra'>"; } if (strlen($device_vendor) == 0) { echo "<optgroup label='Aastra'>"; }
?> ?>
<option value='blf' <?php if ($row['device_key_type'] == "blf") { echo $selected;$found=true; } ?>><?php echo $text['label-blf'] ?></option> <option value='blf' <?php if ($row['device_key_type'] == "blf") { echo $selected;$found=true; } ?>><?php echo $text['label-blf'] ?></option>
<option value='blfxfer' <?php if ($row['device_key_type'] == "blfxfer") { echo $selected;$found=true; } ?>><?php echo $text['label-blfxfer'] ?></option> <option value='blfxfer' <?php if ($row['device_key_type'] == "blfxfer") { echo $selected;$found=true; } ?>><?php echo $text['label-blf_xfer'] ?></option>
<option value='dnd' <?php if ($row['device_key_type'] == "dnd") { echo $selected;$found=true; } ?>><?php echo $text['label-dnd'] ?></option> <option value='dnd' <?php if ($row['device_key_type'] == "dnd") { echo $selected;$found=true; } ?>><?php echo $text['label-dnd'] ?></option>
<option value='speeddial' <?php if ($row['device_key_type'] == "speeddial") { echo $selected;$found=true; } ?>><?php echo $text['label-speeddial'] ?></option> <option value='speeddial' <?php if ($row['device_key_type'] == "speeddial") { echo $selected;$found=true; } ?>><?php echo $text['label-speed_dial'] ?></option>
<?php <?php
if (strlen($device_vendor) == 0) { echo "</optgroup>"; } if (strlen($device_vendor) == 0) { echo "</optgroup>"; }
} }