mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 19:53:56 +00:00
Update device_edit.php
This commit is contained in:
@@ -807,6 +807,7 @@
|
||||
$template_dir = $device->get_template_dir();
|
||||
echo " <select id='device_template' name='device_template' class='formfld'>\n";
|
||||
echo " <option value=''></option>\n";
|
||||
if (is_dir($template_dir) && is_array($device_vendors)) {
|
||||
foreach($device_vendors as $row) {
|
||||
echo " <optgroup label='".escape($row["name"])."'>\n";
|
||||
$templates = scandir($template_dir.'/'.$row["name"]);
|
||||
@@ -824,6 +825,7 @@
|
||||
}
|
||||
echo " </optgroup>\n";
|
||||
}
|
||||
}
|
||||
echo " </select>\n";
|
||||
echo " <br />\n";
|
||||
echo " ".$text['description-device_template']."\n";
|
||||
|
||||
Reference in New Issue
Block a user