mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Add subtype to vendor functions and device keys. (#6409)
* Add subtype to vendor functions and device keys. Added to support phones that require a subtype for provisioning the phone. * Add device_key_subtype * Update device_edit.php * Update device_profile_edit.php * Update device_vendor_edit.php * Update device_vendor_function_edit.php * Update device_vendor_functions.php * Update device_vendor_restore.php * Update index.php * Update provision.php * Update app_languages.php * Update app_config.php
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
|
||||
The Initial Developer of the Original Code is
|
||||
Mark J Crane <markjcrane@fusionpbx.com>
|
||||
Portions created by the Initial Developer are Copyright (C) 2016
|
||||
Portions created by the Initial Developer are Copyright (C) 2016 - 2022
|
||||
the Initial Developer. All Rights Reserved.
|
||||
|
||||
Contributor(s):
|
||||
@@ -103,7 +103,8 @@
|
||||
$array['device_vendors'][$x]['device_vendor_functions'][$y]['device_vendor_uuid'] = $device_vendor_uuid;
|
||||
$array['device_vendors'][$x]['device_vendor_functions'][$y]['device_vendor_function_uuid'] = $device_vendor_function_uuid;
|
||||
//$array['device_vendors'][$x]['device_vendor_functions'][$y]['label'] = $function['label'];
|
||||
$array['device_vendors'][$x]['device_vendor_functions'][$y]['name'] = $function['name'];
|
||||
$array['device_vendors'][$x]['device_vendor_functions'][$y]['type'] = $function['type'];
|
||||
$array['device_vendors'][$x]['device_vendor_functions'][$y]['subtype'] = $function['subtype'];
|
||||
$array['device_vendors'][$x]['device_vendor_functions'][$y]['value'] = $function['value'];
|
||||
$array['device_vendors'][$x]['device_vendor_functions'][$y]['enabled'] = 'true';
|
||||
$array['device_vendors'][$x]['device_vendor_functions'][$y]['description'] = $function['description'];
|
||||
|
||||
Reference in New Issue
Block a user