Commit Graph

26 Commits

Author SHA1 Message Date
frytimo d529021b3f
Use boolean setting as true boolean (#7284)
* use boolean setting as true boolean

* Update settings class to use the php filter_var function for boolean
Using the built-in filter type for boolean seems like a better option as they are faster, already hardened, and more widely tested.
I found this better method used originally by Mark J. Crane in 2022 in the content.php page so I included it here.

* Update settings class to use the php filter_var function for boolean
Using the built-in filter type for boolean seems like a better option as they are faster, already hardened, and more widely tested.
I found this better method used originally by Mark J. Crane in 2022 in the content.php page so I included it here.
2025-03-04 11:25:47 -07:00
Alex 8cfc221da4
Redirect to the correct domain if using show all (#7265)
* Redirect to the correct domain if using show all

* Update bridges.php

* Update call_recordings.php

* Update conference_controls.php

* Update conference_profile_params.php

* Update conference_profiles.php

* Update email_queue.php

* Update event_guard_logs.php

* Update fax_queue.php

* Update user_settings.php

* Update require.php
2025-02-20 16:30:09 -07:00
Alex b43bcb9a13
Added the heading counter div (#7124) 2024-09-06 16:43:42 -06:00
Alex cb6edd88ef
Added content card to applications (#7121) 2024-09-05 17:10:04 -06:00
frytimo d7bbcd89f5
Use magic constant dir (#6711)
* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__ to load only functions.php

* replace spaces with tab character

* update dirname command to use levels instead of nesting

* use magic constant __DIR__

* update dirname command to use levels instead of nesting

* Update access_control_edit.php

* Update access_control_import.php

* Update access_controls.php

* Update dnd.php

* Update access_controls_reload.php

* Update call_center_agents.php

* Update call_center_agents.php

* Update fax_queue.php

* Update login.php

* Update pdo.php

* Update pdo_vm.php

* Update switch.php

* Update index.php

* Update css.php

* Update v_mailto.php

* Update fax_to_email.php

---------

Co-authored-by: FusionPBX <markjcrane@gmail.com>
2023-06-15 11:28:23 -06:00
fusionate 6b07e8d168
Phrases: Updates for PHP 8.1 2023-06-08 19:51:18 +00:00
Alex fb8d0e2983
fix bugs in php 8.1 changes (#6744)
* Update voicemail_greetings.php

* Update recordings.php

* Update recording_edit.php

* Update phrases.php

* Update phrase_edit.php

* Update music_on_hold_edit.php

* Update fax_queue.php

* Update extensions.php

* Update email_templates.php

* Update email_queue_edit.php

* Update dialplan_inbound_add.php

* Update device_profiles.php

* Update device_profile_copy.php

* Update contact_address_edit.php

* Update call_recordings.php

* Update call_center_agent_edit.php

* Update call_center_agents.php

* Update call_center_queues.php

* Update call_block.php

* Update menu_edit.php

* Update default_setting_edit.php

* Update database_edit.php
2023-06-05 12:41:28 -06:00
Anthony 9c650a29b1
Fixed Errors for Phrases, Recordings, Operator Panel and Music on Hold. (#6735) 2023-06-01 15:21:29 -06: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
markjcrane d50bcb476a Replace root.php 2022-10-10 16:35:14 -06:00
AlexC e316559771
Added show all button (#6249)
* Update call_center_queues.php

* Update call_center_agents.php

* Update app_config.php

* Update app_config.php

* Update contacts.php

* Update app_config.php

* Update ivr_menus.php

* Update app_config.php

* Update call_flows.php

* Update app_config.php

* Update conference_centers.php

* Update app_config.php

* Update voicemails.php

* Update app_config.php

* Update phrases.php

* Update app_config.php

* Update recordings.php

* Update app_config.php

* Update call_recordings.php

* Update app_config.php

* Update call_broadcast.php

* Update app_config.php

* Update time_conditions.php

* Update app_config.php

* Update music_on_hold.php

* Update app_config.php

* Update conferences.php
2022-01-20 15:54:42 -07:00
AlexC 2a74114cf2
Copy, toggle and delete buttons visible when checkbox is selected (#6242)
* Update bridges.php

* Update call_block.php

* Update call_center_queues.php

* Update call_center_agents.php

* Update call_broadcast.php

* Update call_flows.php

* Update call_recordings.php

* Update conference_centers.php

* Update conference_rooms.php

* Update conference_controls.php

* Update conference_profiles.php

* Update conferences.php

* Update contacts.php

* Update fax.php

* Update ivr_menus.php

* Update music_on_hold.php

* Update phrases.php

* Update recordings.php

* Update streams.php

* Update voicemails.php

* Update devices.php

* Update device_vendors.php

* Update device_vendor_functions.php

* Update extensions.php

* Update gateways.php

* Update dialplans.php

* Update destinations.php

* Update email_templates.php

* Update modules.php

* Update sip_profiles.php

* Update vars.php

* Update databases.php

* Update users.php

* Update default_settings.php

* Update domains.php

* Update groups.php

* Update menu.php
2022-01-13 11:37:59 -07:00
Anthony 1db3e5ba14
Removed Search Reset (#6241)
* Update default_settings.php

* Update devices.php

* Update extensions.php

* Update gateways.php

* Update users.php

* Update destinations.php

* Update dialplans.php

* Update bridges.php

* Update call_block.php

* Update call_broadcast.php

* Update call_flows.php

* Update call_forward.php

* Update call_recordings.php

* Update conference_centers.php

* Update conference_controls.php

* Update conference_profiles.php

* Update conferences.php

* Update contacts.php

* Update fax.php

* Update ivr_menus.php

* Update phrases.php

* Update recordings.php

* Update ring_groups.php

* Update time_conditions.php

* Update voicemails.php

* Update call_center_queues.php

* Update email_logs.php

* Update registrations.php

* Update user_logs.php

* Update access_controls.php

* Update domains.php

* Update email_templates.php

* Update groups.php

* Update menu.php

* Update number_translations.php

* Update sip_profiles.php

* Update database_transactions.php

* Update vars.php

* Update dashboard.php
2022-01-12 16:00:01 -07:00
fusionate c67c8cd4c2 Destination Select - Dynamic: Clear session array on add/toggle/delete of a destination type record. 2020-11-30 14:15:57 -07:00
chansizzle 37061b7d6c
Update phrases.php (#5338) 2020-07-08 14:22:42 -06:00
Nate f129b210f8 Phrases: Modal integration. 2020-03-26 13:45:34 -06:00
Nate 029c7174b4 Multiple - Add IDs to common/default action buttons. 2020-03-05 00:05:45 -07:00
Nate aa593c03fc List Views: Minor adjustments to code. 2019-11-30 14:18:00 -07:00
Nate bfb17507f1 List Views: Simplify action handling. 2019-11-30 11:12:41 -07:00
Nate cedfb1ad9e Phrases: List view updates. Minor Adjustments: IVR Menus, Modules, Number Translations. 2019-11-26 16:05:39 -07:00
FusionPBX e4e59e2b4e Update phrases.php 2019-08-15 10:57:57 -06:00
Nate 14ac4ab07c Phrases: Database class integration. 2019-08-12 04:34:48 -06:00
FusionPBX 4499a69dff Update phrases.php 2018-06-05 18:32:54 -06:00
FusionPBX c7b2d7c2d7 Update phrases.php
Show for global phrases.
2016-07-23 00:27:48 -06:00
reliberate 5974b686e9 Apps: Integrate ability to set paging via a Default/Domain/User Setting (domain > paging > numeric). 2016-03-28 23:02:11 -06:00
Nate Jones b0a0310b07 Phrases: Ability to sequence playback of audio files in the IVR, initial groundwork for other switch phrase manipulation. 2015-02-14 05:32:43 +00:00