Mark the destinations that haven't been used in bold.

This commit is contained in:
Mark Crane
2013-05-09 21:00:15 +00:00
parent 8fb5942f85
commit 9c9171fe01

View File

@@ -845,7 +845,12 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo " <select name='destination_uuid' id='destination_uuid' class='formfld' style='width: 60%;' >\n";
echo " <option></option>\n";
foreach ($result as &$row) {
echo " <option value='".$row["destination_uuid"]."'>".$row["destination_number"]."</option>\n";
if (strlen($row["dialplan_uuid"]) == 0) {
echo " <option value='".$row["destination_uuid"]."' style=\"font-weight:bold;\">".$row["destination_number"]." ".$row["destination_description"]."</option>\n";
}
else {
echo " <option value='".$row["destination_uuid"]."'>".$row["destination_number"]." ".$row["destination_description"]."</option>\n";
}
}
echo " </select>\n";
echo "<br />\n";