Commit Graph

71 Commits

Author SHA1 Message Date
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
340765af8e Conference Centers/Rooms: Updates for PHP 8.1 2023-06-02 19:26:58 +00:00
Alex
410f5e6f68 more php 8.1 changes (#6727)
* Update call_broadcast.php

* Update call_broadcast_edit.php

* Update conference_center_edit.php

* Update call_flows.php

* Update conference_room_edit.php

* Update conference_sessions.php

* Update conference_session_details.php

* Update conference_rooms.php

* Update conference_controls.php

* Update conference_control_edit.php

* Update conference_control_details.php

* Update conference_control_detail_edit.php

* Update conference_profiles.php

* Update conference_profile_edit.php

* Update conference_profile_params.php

* Update conference_profile_param_edit.php

* Update conferences.php

* Update conference_edit.php

* Update conferences.php

* Update conference_interactive_inc.php

* Update contacts.php
2023-05-31 09:11:50 -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
Alex
43eb2a5b9d [security] sanitize the xml (#6595)
* Update call_center_queue_edit.php

* fix typo

* Update call_flow_edit.php

* Update conference_center_edit.php

* Update conference_edit.php

* Update destination_edit.php

* Update fax.php

* Update ivr_menu_edit.php

* Update ring_group_edit.php

* Update app_defaults.php

* Update ivr_menu_copy.php

* Update destination_imports.php

* Update app_defaults.php
2023-03-30 12:46:36 -06:00
Alex
a229d1e46c Add enabled toggle to more pages and bug fix (#6552)
* Add enabled toggle to more pages and bug fix

* Add device profile enable toggle

* fixed enable on bridge_edit.php

* Fixed enable on call_block_edit.php

* Fixed enable on call_flow_edit.php

* Fixed enable on conference_center_edit.php

* Add conference room enabled toggle

* Fixed enable on conference_control_detail_edit.php

* Fixed enable on conference_control_edit.php

* Fixed enable on conference_profile_edit.php

* Add conference profile param enabled toggle

* Fixed enable on conference_edit.php

* Fixed enabled on device_edit.php

* Fixed enable on extension_edit.php

* Fixed enable on gateway_edit.php

* Fixed enable on number_translation_edit.php

* Fixed enable on phrase_edit.php

* Fixed enable on ring_group_edit.php

* Fixed enable on sip_profile_edit.php

* Fixed enable on stream_edit.php

* Fixed enable on time_condition_edit.php

* Fixed enable on var_edit.php

* Fixed enable on voicemail_edit.php

* Fixed enable on user_edit.php

* Fixed enable on user_setting_edit.php

* Update user_edit.php

* Update bridge_edit.php

* Update call_flow_edit.php

* Update conference_control_edit.php

* Update stream_edit.php

* Fixed enable on default_setting_edit.php

* Fixed enable on domain_edit.php

* Fixed enable on email_template_edit.php

* Fixed enable on module_edit.php
2023-02-14 11:19:02 -07:00
Alex
129d173624 Add enable toggle to more pages (#6549)
* Add bridge enabled toggle

* Update call_block_edit.php

* Add call flows enabled toggle

* Add conference center enabled toggle

* Add conference control detail enabled toggle

* Add conference control enabled toggle

* Add conference enabled toggle

* Add phrase enabled toggle

* Add stream enabled toggle

* Add voicemail enabled toggle

* Add destination enabled toggle

* Add time condition enabled toggle

* Add default settings enabled toggle

* Add domain enabled toggle

* Add email template enabled toggle

* Add module enabled toggle

* Add number translation enabled toggle

* Add sip profile enabled toggle

* Add switch var enabled toggle
2023-02-13 18:02:01 -07:00
markjcrane
d50bcb476a Replace root.php 2022-10-10 16:35:14 -06: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
FusionPBX
dc9f426100 Update conference_center_edit.php
Change session context to domain_name.
2020-10-22 02:50:52 -06:00
FusionPBX
6e86691f8d Remove the deprecated save_dialplan_xml function. 2020-08-14 00:38:45 -06:00
Nate
24971b24d7 Conference Centers: Modal integration. 2020-03-25 20:44:53 -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
aac98e7d06 Conference Centers - List: Bulk Toggle and Delete actions added, Edit: Button updates. 2020-01-23 06:47:54 -07:00
Nate
60c4f4c2ee Conference Centers: Add window titles. 2020-01-06 11:14:01 -07:00
Nate
6c4104817e Update conference_center_edit.php 2019-11-02 13:51:32 -06:00
FusionPBX
6b358a3ef6 Update conference_center_edit.php 2019-09-19 18:15:54 -06:00
Nate
1b8e34964c Conference Center: Token integration. 2019-09-17 22:12:28 -06:00
Nate
c660b27096 Misc: Database class integration. 2019-08-28 21:02:08 -06:00
Nate
47106e5baa Database class integration. 2019-07-04 15:57:04 -06:00
FusionPBX
ab2e1c6655 Update conference_center_edit.php 2019-06-08 09:43:57 -06:00
markjcrane
a72f1d6266 Change messages class to message 2018-08-31 03:09:01 +00:00
AlexanderDCrane
689cc8bab7 Update conference_center_edit.php (#3148) 2018-06-13 00:52:27 -06:00
AlexanderDCrane
b4b5150954 Escape user data on conference_center_edit.php (#3096) 2018-06-09 11:05:35 -06:00
FusionPBX
73bae5debb Update conference_center_edit.php 2018-03-01 21:46:27 -07:00
FusionPBX
15b10c1359 Update conference_center_edit.php 2018-03-01 21:40:34 -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
51fe5c1590 Update conference_center_edit.php 2016-10-21 10:17:03 -06:00
FusionPBX
40207f104d Update conference_center_edit.php 2016-10-18 09:36:18 -06:00
FusionPBX
c5fdcb51d3 Update conference_center_edit.php 2016-10-17 17:51:17 -06:00
FusionPBX
11c8f75946 Update conference_center_edit.php 2016-10-05 18:44:38 -06:00
FusionPBX
bb5c14a825 Update conference_center_edit.php 2016-10-03 20:15:28 -06:00
FusionPBX
8f4a81a00d Update conference_center_edit.php
Use the new file class sounds method.
2016-08-13 13:26:25 -06:00
FusionPBX
36013475d0 Update conference_center_edit.php
Get recordings from the database and move phrases database requests out of the content.
2016-08-11 15:40:09 -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
mafoo
90e9b0a149 Corrected selected statements 2016-02-03 17:32:07 +00:00
mafoo
22fe132900 Fix for phrases are actually phrase_uuid not phrase_name.domain_uuid 2016-02-03 15:08:28 +00:00
markjcrane
cde9debb29 After removing domain name from the default recordings dir path need to add the domain name every where the recordings directory is currently used. 2015-12-06 13:37:35 -07:00
markjcrane
4043d1c48b Remove v_conference_center_users as v_meeting_users was used instead. 2015-09-07 14:52:15 -06:00
markjcrane
193137ffa6 Make the title-<app name> more consistent. Use underscore in the label name instead of a dash. Dash is used between label type and the label name. 2015-08-03 15:17:05 -06:00
markjcrane
2ea4148f99 Change from if_group to if_permission which is preferred in most cases. 2015-07-27 14:57:37 -06:00
Nate Jones
c03bcd76bb Conference Center: Add ability to use a Phrase for the Greeting, resolving Issue 921 and Issue 818. 2015-04-17 18:41:31 +00:00
Nate Jones
ded7cb3266 Visual adjustments. 2015-02-15 11:57:14 +00:00
Nate Jones
996e89c396 Removal of colon next to form label names. 2015-02-15 06:50:00 +00:00
Nate Jones
18589125d3 Conferences: Visual adjustments, fixed Active Conferences links.
Active Conferences: Reworked/renamed permissions, removed Active Conference from the User's menu (addressing Issue 662), misc visual adjustments.
Conference Center: Misc visual adjustments.
2015-02-12 02:09:59 +00:00
Mark Crane
98c6d8e180 When adding or deleting a conference center clear memcache correctly. 2015-01-29 10:17:56 +00:00
Mark Crane
c5755666cb Add the text class to more of the applications. 2015-01-18 10:06:08 +00:00
Mark Crane
bee6b9ae5e Update the memcache reference to use the new cache PHP class. 2015-01-16 00:21:02 +00:00
Nate Jones
b4e61290f1 Function: Moved recur_sounds_dir() to functions.php, removed from ivr_menu_edit.php and conference_center_edit.php. 2014-08-25 18:01:26 +00:00