Commit Graph

55 Commits

Author SHA1 Message Date
FusionPBX 091dca3ceb
Update footer.php 2025-03-29 13:39:24 -06:00
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
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
FusionPBX e86ec20547
Update background_video
- Uses type array
- Use the first item in the array
2024-09-10 04:03:44 -06:00
fusionate 65b957c2f7
Theme: Fix sub menu indicator icons, and date/time picker icons after Font Awesome upgrade. 2024-09-04 19:31:09 -06:00
fusionate 2eab5c623e
Side Menu: Explicitly set content container width when side_menu_pin enabled to avoid issues with browser caching the css. 2024-09-04 13:49:44 -06:00
FusionPBX eb4104bd9a
Update footer.php
Use sys_get_temp_dir() to get the temp directory
2024-06-25 19:53:47 -06:00
FusionPBX 02db089d8f
New setting background_video 2024-06-18 09:32:19 -06:00
FusionPBX 67c39ad4a2
Prevent a conflict with the settings object
- Changed from settings to settings_array.
- Prevents a conflict with the settings object.
2024-03-23 13:53:58 -06:00
FusionPBX 9d5bc340a4
Add the theme title setting 2024-01-24 12:51:13 -07:00
fusionate 02de5334e5
Restore default branding in window title. 2024-01-24 19:16:36 +00:00
frytimo 1664bef5d9
use empty check instead of string check to prevent php warning (#6843) 2023-12-07 18:38:01 -07:00
FusionPBX 42c21e715e
Update footer.php 2023-10-24 20:05:21 -06:00
fusionate d5ae60897c
Footer: Fix Domain Selector for superadmin when Domain Reseller app installed and Login Destination set. 2023-10-24 16:57:54 +00:00
fusionate e4bb0dda6a
Footer: Resolve PHP 8.1 warning. 2023-09-20 17:19:19 +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
fusionate 8482b6eb46
Footer - Updates for PHP 8.1 2023-05-16 18:39:29 +00:00
FusionPBX ab2bd0ef5e
Update footer.php use the empty function 2023-05-13 17:20:17 -06:00
FusionPBX 821720db1d
Update for PHP 8.1 2023-05-09 17:06:19 -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
FusionPBX 9800311adb
Add a more flexible footer value 2023-04-25 01:25:59 -06:00
FusionPBX 7b9892b414
Add domain_json_token_name and domain_json_token_hash 2022-11-28 21:09:19 -07:00
markjcrane d50bcb476a Replace root.php 2022-10-10 16:35:14 -06:00
Nate ab20b183aa Theme: Ensure temp directory is set, even if not defined in Default Settings. 2020-10-21 10:09:15 -06:00
Nate 6f33204316 Theme: Side Menu updates. 2020-05-27 21:24:07 -06:00
Nate 4a986730eb Theme: Side Menu updates. 2020-05-25 18:38:52 -06:00
Nate 8a586b5997 Theme: Side Menu updates. 2020-05-25 13:17:01 -06:00
Nate a4481ed9ab Theme: Side Menu updates. 2020-05-25 11:53:44 -06:00
Nate f18e2423ed Theme: Side Menu updates. 2020-05-23 14:00:49 -06:00
Nate f5bfc2199a Theme: Side Menu default state controls. 2020-05-20 21:24:19 -06:00
Nate 35924fbb2f Misc: Prep for future apps. 2020-04-18 14:09:51 -06:00
Nate 97eec1da04 Template, Core Apps: Update to new modal. 2020-03-25 16:48:12 -06:00
Nate 1b104aa3dc Template: Restore proper format of non-authenticated pages and menus. 2020-03-21 22:33:35 -06:00
Nate 92719e0399 Template: Integrate compression on included .js and .css files, fix custom_css template variable. 2020-03-19 21:11:53 -06:00
Nate efc09f9eec Update footer.php - remove comment. 2020-03-18 14:17:15 -05:00
Nate 1f145a08c7 Template: Favicon fix. 2020-03-18 13:14:50 -06:00
Nate 889e370a10 Template: Add keyboard shortcut Settings, restore message display. 2020-03-18 11:54:31 -06:00
Nate 5382b00610 Template: Fix domain selector active background color. 2020-03-18 09:44:16 -06:00
Nate 0df02b95dd Template: Convert to Smarty syntax. 2020-03-17 20:31:29 -06:00
FusionPBX da8880ba35 Update footer.php 2019-11-23 16:36:51 -07:00
FusionPBX 6c4aace826 Update footer.php 2019-11-23 15:26:34 -07:00
chansizzle 592c34366e Update footer.php (#4655) 2019-09-24 18:43:23 -06:00
FusionPBX afd98d5e8d Update footer.php 2016-12-13 08:47:22 -07:00
markjcrane a836d7985b Remove the include to the resources/menu.php file that is no longer in use. 2016-03-26 19:37:42 -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
mafoo 5e97c0df2c WhitespaceClean-resources/others
whitespace pass over files
for reference regex that was used s/[ \t]+(\r?\n)/\1/
2016-03-11 13:57:01 +00:00
Mark Crane aaf2677285 Change how the record template is used in Call Center 2014-08-02 01:27:37 +00:00
Mark Crane c424b56bbc Fix the title 2014-08-01 18:40:28 +00:00
Mark Crane d40e605218 Add a little more flexibility on the title 2014-08-01 16:59:50 +00:00