Commit Graph

22 Commits

Author SHA1 Message Date
fusionate 09219263e1
Device Vendor Function - Edit: Updates for PHP 8.1 2023-05-25 15:43:36 +00:00
frytimo fef8165be2
Frytimo pr patches for php8.1 (#6630)
* Passing null to parameter #2 ($string) of type string is deprecated

* Passing null to parameter #1 ($string) of type string is deprecated

* php 8.1 fixes

* php 8.1 fixes - replace strlen($var) > 0 with !empty($var)

* php 8.1 fixes - replace ${var} with {$var}

* php 8.1 fixes - replace ${var} with {$var}

* php 8.1 fixes - replace ${var} with {$var}

* php 8.1 fixes - replace ${var} with {$var}

* php 8.1 fixes - strlower with null

* php 8.1 fixes - strreplace with null

* php 8.1 fixes - passing null to base64_decode

* php 8.1 fixes - check for false and check for null on $this->dir

* php 8.1 fixes - remove assignment of $db variable to modules object

* php 8.1 fixes - avoid sending null to substr

* php 8.1 fixes - change ${var} to {$var}

* php 8.1 fixes - check for null before preg_replace

* php 8.1 fixes - remove setting db variable on domains object

* php 8.1 fixes - set empty string if $row['domain_setting_subcategory'] is null

* php 8.1 fixes - set empty string if $_REQUEST['show'] is not available

* php 8.1 fixes

* php 8.1 fixes - correct $_POST checking syntax

* php 8.1 fixes - correct $_POST variables

* php 8.1 fixes

* Use brackets consistently

* Update user_setting_edit.php

* Change to not empty

* Update device.php

* Update text.php

---------

Co-authored-by: Tim Fry <tim@voipstratus.com>
Co-authored-by: FusionPBX <markjcrane@gmail.com>
2023-05-05 10:46:37 -06:00
FusionPBX 408122c60c
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
2023-04-04 08:57:41 -06:00
markjcrane d50bcb476a Replace root.php 2022-10-10 16:35:14 -06:00
Nate e8494facee Multiple: Add IDs to form tags, remove empty action attributes. 2020-03-05 10:02:25 -07:00
Nate 029c7174b4 Multiple - Add IDs to common/default action buttons. 2020-03-05 00:05:45 -07:00
Nate 3fe18ee23d Device Vendor Function - Add: Simplify previous array check. 2020-02-12 15:09:32 -07:00
Nate 9862d587a6 Device Vendor Function - Add: Validate assigned groups array to mitigate warning. 2020-02-12 15:07:10 -07:00
Nate 4791951d05 Device Vendor Functions - Edit: Misc minor adjustments. 2020-02-12 14:53:47 -07:00
Nate 36334d003c Devices: List view and button updates, other fixes. 2020-01-08 13:28:01 -07:00
Nate 1a29840b12 Devices: Token integration. 2019-09-17 22:35:49 -06:00
Nate f841650075 Devices: Database class integration. 2019-08-03 20:21:56 -06:00
markjcrane a72f1d6266 Change messages class to message 2018-08-31 03:09:01 +00:00
FusionPBX e23561636c Update device_vendor_function_edit.php 2018-06-29 22:18:26 -06:00
Mafoo 7bdea2c30c dos2unix (#2682)
find . -name "*.php" | xargs dos2unix
2017-06-12 22:09:36 -07:00
Mafoo 3cab4401cf Enhance - More messages::add updates (#2662)
convert more messages over to messsagse::add
2017-06-09 20:13:40 -06:00
FusionPBX ec76517e6d Update device_vendor_function_edit.php
Prevent a warning that was discovered in the admin training.
2017-01-29 13:30:26 -07:00
FusionPBX 5c089f7529 Update device_vendor_function_edit.php
Fix a PHP warning.
2017-01-02 20:03:58 -07:00
FusionPBX 568ad99815 Update device_vendor_function_edit.php
Add ability to assign groups to vendor functions.
2016-08-06 10:16:23 -06:00
markjcrane f5959516ed Update recur_sounds_dir to return an array rather than using a global variable. 2016-08-04 09:49:57 -06:00
markjcrane 4ca991fafe Remove label and use the name instead. 2016-07-31 19:12:41 -06:00
markjcrane fc99769629 Move device vendor files into app/devices. 2016-07-31 17:48:50 -06:00