FusionPBX
7528ea9afc
Remove old session commands
...
Session is handled in resources/require.php
2025-09-23 15:58:15 -06:00
FusionPBX
7f9064fadb
Update boolean toggle and the database boolean type ( #7522 )
...
* Change the data type to boolean
* Use boolean values in SQL and Conditional Statements
* Schema Data Types: Drop views so that alter tables statements complete
* Update settings.php
* Add extension for call_screen_enabled
* Gateway handle boolean
Add the boolean toggle
- distinct_to
- caller_id_in_from
- supress_cng
- extension_in_contact
- contact_in_ping
* Update gateways.php
* Update voicemail_edit.php
* Replace the ${caller_id_name} with the extensions caller id name
* Phrase - Edit: Update slide toggle with new select beneath.
* Update the input toggle style
* Set the input_toggle_style_switch as boolean
* Update the input toggle style
* Theme: Adjust CSS to wrap description text on form fields.
* Add domain_uuid and domain_name to the SQL SELECT
* Unset the parameters to fix the next query
* Gateway: Integrate new slide toggle switch.
* Dashboard: Update the input toggle style (#7499 )
* Dashboard: Update the input toggle style
* Update dashboard_widget_edit.php
* Update dashboard_edit.php
* Inbound Route - Add: Integrate new slide toggle switch and boolean.
* User Settings: Integrate new slide toggle switch.
* Call Block Edit: Update the input toggle style (#7500 )
* Bridge Edit: Update the input toggle style (#7501 )
* Update phrases.php
* Update domain_edit.php
* Domain Settings Edit: Update the input toggle style
* User Edit: Update the input toggle style
* Update install.php
* Remove fields marked as deprecated
* Use boolean in the select statement
* Streams: New slide toggle and boolean.
* Streams: Remove unnecessary default.
* Queues (FIFO): New slide toggle.
* Call Detail Records: Update the input toggle style (#7503 )
* Call Detail Records: Update the input toggle style
* Update xml_cdr_extension_summary.php
* Update xml_cdr_extension_summary.php
* Update xml_cdr_extension_summary.php
* Call Centers: Update the input toggle style (#7502 )
* Call Centers: Update the input toggle style
* Update call_center_agent_edit.php
* Conference Centers: Update the input toggle style (#7506 )
* Conference Centers: Update the input toggle style
* Update app_config.php
* Update conference_center_edit.php
* Use boolean data type (#7505 )
* Call Flow Edit: Update the input toggle style (#7504 )
* Devices: Update the input toggle style
* IVR Menus: New slide toggle.
* IVR Menu: Remove deprected file.
* SIP Profile - Edit: New slide toggle.
* Device Profiles: Update the input toggle style
* Ring Groups - List: Fix syntax.
* Theme: Fire onchange event when switching slide toggle control.
* Device Vendors: Update the input toggle style
* Update enabled boolean
* Update device_edit.php
* Ring Groups: New slide toggle.
* Update domain_edit.php
* Email Templates: Update the input toggle style
* Header: Correct default value on input toggle style.
* Default/Domain/User Settings: Adjust Select option label for better clarity.
* Use true boolean types for switch theme toggle or drop-down box (#7507 )
* Groups: Update the input toggle style
* Conference Controls: Update the input toggle style (#7509 )
* Conference Controls: Update the input toggle style
* Update conference_control_edit.php
* Update conference_control_details.php
* Update conference_control_detail_edit.php
* Conferences: Update the input toggle style (#7511 )
* Use true boolean types for switch theme toggle or drop-down box (#7513 )
* Dialplans: Update the input toggle style
Also updated outbound route add
* Ring Group: Only adjust ring group forward destination top margin when slide toggle enabled.
* Default/Domain/User Settings - List: Adjust for new 'Select Box' label on input_toggle_style value.
* Use true boolean types for switch theme toggle or drop-down box (#7514 )
* Call Forward / Follow Me: Minor javascript adjustments to mirror previous behavior.
* Ring Groups [Dashboard]: New slide toggle.
* Get the contacts details with a seperate SQL Query
* Remove debug info
* Destinations: Update the input toggle style
* Conference Profiles: Update the input toggle style (#7515 )
* Conference Profiles: Update the input toggle style
* Update conference_profiles.php
* Update conference_profile_params.php
* Update conference_profile_param_edit.php
* Update conference_profile_edit.php
* Extensions: Update the input toggle style
* Contacts: Update the input toggle style (#7517 )
* Contacts: Update the input toggle style
* Update contact_address_edit.php
* Update contact_attachment_edit.php
* Update contact_edit.php
* Update contact_email_edit.php
* Update contact_phone_edit.php
* Update contact_relation_edit.php
* Update contact_setting_edit.php
* Update contact_url_edit.php
* Update contacts.php
* Voicemails: New slide toggle.
* Voicemail Greeting: New slide toggle.
* Modules: New slide toggle.
* Recordings: New slide toggle
* Variables: New slide toggle.
* Time Conditions: New slide toggle.
* Extensions - List: Remove invalid column name.
* Extension Settings: New slide toggle.
* Number Translations: New slide toggle and boolean.
* Sofia global settings: Update the input toggle style
* Update alter table convert to boolean
* Fix contact relation search (#7518 )
* Sip Profile Edit: Fix setting enabled labels (#7519 )
* Sip Profile Edit: Fix setting enabled labels
* Update sip_profile_edit.php
* Update dialplan_edit.php (#7520 )
* Update SQL queries to use true/false for contact primary settings (#7521 )
* Update SQL queries to use true/false for contact primary settings
* Update contacts_vcard.php
* Update email.php
* Update totp.php
* Update contact_url_edit.php
* Update contact_email_edit.php
* Update contact_address_edit.php
* Update contact_attachment_edit.php
* Update contact_phone_edit.php
* Add a database views method
* Add database view groups
* Add database users view
* Add database call_recordings view
* Update users.php
* Add database view call block
* Update schema to use the database views method
* Update conference.conf.lua boolean
* Update directory.lua boolean
* Update callcenter.conf.lua agent_status boolean
* Update sofia.conf.lua boolean
* Update number translations lua boolean
* Update directory.lua boolean
* Update group_call.lua fix the cache
* Update reverse-auth-lookup.lua boolean
* Update directory.lua boolean
* Use concat instead of ||
* Update index.lua
---------
Co-authored-by: fusionate <nate@fusionpbx.com >
Co-authored-by: Alex <alex@fusionpbx.com >
Co-authored-by: frytimo <tim@fusionpbx.com >
2025-09-20 18:42:05 -06:00
frytimo
da1da92d01
fix missing variable in default template ( #7222 )
...
When 'dev' or 'all' error level is set in the config.conf file, the menu will fail to expand or contract. This commit adds the missing variable causing a PHP warning responsible for the behavior.
2025-01-24 16:05:37 -07:00
frytimo
50125527de
fix php warning for ini set ( #7217 )
...
The ini setting can only be modified when the session has not already started. This moves the ini_set function call inside the if block
2025-01-17 12:48:49 -07:00
FusionPBX
8563df387f
Start the session in the header.php
2024-11-27 09:26:10 -07:00
FusionPBX
0c157bd7ce
Update header.php
...
Fix indentation and create a new database object only if it is not defined.
2024-08-02 11:35:05 -06:00
FusionPBX
02db089d8f
New setting background_video
2024-06-18 09:32:19 -06:00
FusionPBX
d6bef277d8
Update header.php
2024-04-13 14:42:32 -06:00
frytimo
3a4c2f72e2
Event socket bug fix and more docs ( #6823 )
...
* Add documentation to methods. Use is_resource for added type detection
* Allow connect to specify timeout in microseconds with default 30,000
* Update calling mechanism for event sockets
* Update project for new singleton event sockets
* remove unused variable
* catch errors on closing the socket
2023-12-02 17:16:18 -07:00
fusionate
d9d17a6917
Misc: Remove parameters from event_socket_create() calls.
2023-09-20 18:43:17 +00: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
FusionPBX
32672b7472
Update for PHP 8.1
2023-05-09 17:11:55 -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
FusionPBX
a8b22d04cf
Add button css class and styles
2020-06-25 07:29:09 -06:00
FusionPBX
d13b552e7f
Update header.php
2020-02-18 21:43:59 -07:00
FusionPBX
1f78ecca5e
Update header.php
2019-09-10 23:19:46 -06:00
FusionPBX
536be5bdb9
Update header.php
2019-09-04 11:20:27 -06:00
FusionPBX
6d14afffea
Update header.php
2019-09-04 11:11:04 -06:00
Nate
04c2f7a132
Misc: Database class integration.
2019-08-28 17:53:34 -06:00
markjcrane
ba095f3852
Additional work to improve the install, template and the menu.
2016-03-26 12:22:15 -06:00
markjcrane
8c33f72ed5
Set the default theme as the default.
2016-03-25 16:30:35 -06:00
markjcrane
fa081456b1
Change $_SERVER['DOCUMENT_ROOT'].PROJECT_PATH to $_SERVER["PROJECT_ROOT"].
2016-01-17 00:01:13 -07:00
Nate Jones
283cda7aa1
Translate: Necessary resource mods.
2015-01-18 07:54:19 +00:00
Mark Crane
2ecff725d3
Fix the content manager show that it will display the content again
2014-09-01 20:23:18 +00:00
Mark Crane
6aafca34f0
Security enhancement for the content manager.
2013-09-27 03:24:09 +00:00
Mark Crane
4dd45b61b0
If the content manager is not installed don't require it.
2013-09-15 05:02:00 +00:00
Mark Crane
1da61d89e0
Prefix variable names in the header.php to prevent naming conflicts and unset a few more values.
2013-09-02 15:22:13 +00:00
Mark Crane
f267e45e67
Move header.php and footer.php files to the resources directory.
2013-07-06 06:28:29 +00:00