Commit Graph

17 Commits

Author SHA1 Message Date
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 b6012976fb
Allow an empty ringback value 2023-04-07 12:36:20 -06:00
agree 7ac144fe05 Added ringback silence capability (#5162)
* Update format_ringback.lua

* Update ringbacks.php
2020-02-27 15:42:07 -07:00
chansizzle 347b38db4e Update ringbacks.php (#4643) 2019-09-24 12:12:15 -06:00
Nate 37b5713c4b Misc Classes: Database class integration. 2019-09-04 06:44:50 -06:00
FusionPBX cd8b7f332f Update ringbacks.php 2018-04-10 21:14:12 -06:00
FusionPBX 952b5b4547 Update ringbacks.php 2018-04-10 20:37:01 -06:00
FusionPBX 2178711775 Update ringbacks.php 2018-04-10 20:13:38 -06:00
FusionPBX a2dfb76a47 Update ringbacks.php 2018-03-29 19:27:22 -06:00
FusionPBX 6247765f80 Update ringbacks.php 2018-03-01 21:19:38 -07:00
Mafoo 097a09536e Enhance Add Tones (#1857)
Add tone support
2016-09-03 20:32:19 -06:00
Mafoo 1c983a69a0 BugFix-Vars (#1818)
corrected the system default us-ring category to 'Ringtones'
remove var_name like as var_cat now takes care of this
2016-08-25 11:12:00 -06:00
FusionPBX 2d53130a4a Update ringbacks.php
Change the where clause for ringtones to match the category change.
2016-08-22 20:09:49 -06:00
FusionPBX b078881da4 Update ringbacks.php
Eliminate duplicates ringbacks class for the music list.
2016-06-30 19:31:24 -06:00
FusionPBX bfa76cebcd Update ringbacks.php
Update the music on hold list for the ringbacks class.
2016-06-30 19:10:07 -06:00
FusionPBX 724c49a71a Update ringbacks.php
The default ring back disabled for now but may re-enable as a method in the class which return the correct label and value.
2016-06-19 09:44:17 -06:00
Mafoo d663891bd8 Enhance Ringback (#1590)
created new class to look after generating the list of ringbacks
available
adjusted MOH class so legacy method is still possible (just not recommend) and utilizes optgroups as well
converted ring_groups and ivr_menus to use new method
added translations
implemented list_recordings in switch_recordings class
2016-06-08 07:21:45 -06:00