Commit Graph

88 Commits

Author SHA1 Message Date
fusionate c42fd0abdc
Menu [Class]: Updates for PHP 8.1 2023-05-17 20:36:14 +00:00
fusionate 8021a71647
Menu [Class]: Updates for PHP 8.1 2023-05-10 22:17:19 +00:00
FusionPBX c57fa0fc39
Update for PHP 8.1 2023-05-09 18:39:24 -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
frytimo 69bd42af05
remove unneeded destruct methods as GC has higher performance (#6631)
Co-authored-by: Tim Fry <tim@voipstratus.com>
2023-04-27 20:18:53 -06:00
demonspork 5ccd29f20f
Add : colon to menu item links to fix external links (#6508) 2022-12-15 18:29:46 -07:00
FusionPBX 084e36d0a0
Sanitize the menu link by restricting it to specific characters. 2022-07-08 18:38:13 -06:00
AlexC 4e7972aa4d
Update menu.php (#6164) 2021-11-30 15:39:15 -07:00
AlexC 70b876f5da
Add user header and domain icon to menu.php (#6160) 2021-11-30 08:35:40 -07:00
Nate d05429ad4e Theme: Header Bar updates. 2020-05-27 23:02:13 -06:00
Nate 6f33204316 Theme: Side Menu updates. 2020-05-27 21:24:07 -06:00
Nate e44bd933b0 Theme: Side Menu updates. 2020-05-25 19:31:55 -06:00
Nate 313d0205b7 Theme: Side Menu updates. 2020-05-25 19:15:45 -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 5e1130cd04 Theme: Side Menu updates. 2020-05-25 12:24:03 -06:00
Nate a1bb8c5307 Theme: Side Menu updates. 2020-05-25 12:19:10 -06:00
Nate a4481ed9ab Theme: Side Menu updates. 2020-05-25 11:53:44 -06:00
Nate ba0eceb88b Theme: Side Menu updates. 2020-05-23 19:18:16 -06:00
Nate 6f829ea6cf Theme: Side Menu updates. 2020-05-23 18:57:17 -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
chansizzle 17309eefff
Update menu.php (#5278)
fix Notice: Undefined variable: menu_sub_icon in /var/www/fusionpbx/resources/classes/menu.php on line 1034
2020-05-15 16:24:23 -06:00
FusionPBX 5166308dd2
Update menu.php 2020-05-05 23:02:29 -06:00
FusionPBX 1b5a14333e
Update menu.php 2020-05-05 22:47:18 -06:00
Nate c431c86382 Template CSS, Vertical Menu: Minor adjustments. 2020-03-26 16:54:06 -06:00
Nate 97eec1da04 Template, Core Apps: Update to new modal. 2020-03-25 16:48:12 -06:00
Nate 0df02b95dd Template: Convert to Smarty syntax. 2020-03-17 20:31:29 -06:00
FusionPBX 884fee7275 Update menu.php 2020-03-02 23:47:17 -07:00
FusionPBX e211d7ae3a Update menu.php 2020-03-02 22:29:29 -07:00
Nate 1586c48517 Menu: Add explicit temporary permissions in delete() method. 2020-02-17 18:19:40 -07:00
Nate 18b26a9938 Menu Manager: List view and button updates, bulk menu item delete and toggle protected, etc. 2020-02-10 20:46:08 -07:00
FusionPBX 9a41858dd5 Update menu.php 2019-12-18 23:24:22 -07:00
FusionPBX f55ec9653f Update menu.php 2019-11-23 15:34:48 -07:00
chansizzle eedc7ac4b7 Update menu.php (#4779) 2019-10-14 19:51:36 -07:00
FusionPBX 81caa972d9 Update menu.php 2019-10-13 15:44:21 -06:00
FusionPBX 80d95fe0c2 Update menu.php 2019-10-12 15:37:22 -06:00
Nate 07cb911e70 Menu Class: Database class integration. 2019-09-03 09:59:37 -06:00
FusionPBX d9ffd80138 Update menu.php 2019-03-08 11:02:09 -07:00
FusionPBX a20cb0b75f Update menu.php 2017-11-17 14:44:31 -07:00
FusionPBX b4f4cd7b79 Update menu.php 2017-11-17 14:28:07 -07:00
FusionPBX 27309fabf2 Update menu.php 2017-11-17 13:06:04 -07:00
FusionPBX d5e7977317 Update menu.php 2017-07-01 16:05:25 -06:00
FusionPBX 98b834e1b8 Update menu.php 2017-07-01 14:13:51 -06:00
Mafoo 32a6f76ed0 Enhance [master] provide $app_path during upgrade (#2573)
if a application is installed via a symlink PHP will resolve the symlink
for __DIR__ and __FILE__ making it impossible for an application to work
out it's relative path withing the fusion system.
By providing $app_path during upgrade routines an application will
beable to provide the correct link for menu items (e.g.
/opt/languages/index.php) instead of having to hard code it where it
could change depending on how the application was installed
2017-06-08 09:41:56 -06:00
Mafoo 4ae8b418d4 BugFix [master] - Convert all menus to 2-2 format (#2627)
convert all app_menu.php files to have all placeholders and languages and use 2-2 format for languages
update app_defaults to convert any items found using legacy values in user_setings, domain_settings and default_settings
2017-06-02 12:17:50 -06:00
Mafoo 828646b258 BugFix [master] - menu class (#2622)
when a translation is missing/blank take it from en-us
take the list of lanaguages from text class so all languages get a value
(should fix missing logout button in some languages)
2017-06-01 10:21:21 -06:00
reliberate 5a178625d5 Menu Manager: Add ability to customize main and sub menu icons. 2016-05-02 14:42:06 -06:00
Harry G. Coin 8abe003a71 The goal is to increase confidence in fusionpbx, one step is to run by default with error_reporting (E_ALL ^ E_NOTICE);
So, please find in this set numerous small changes which eliminate numerous php warning messages.

Also, a small bug fix in an sql statistics routine, naming a count(*) field as count, so displaying correct detail.

If any of the proposed changes are omitted, the relevant page will experience php warnings.

There are no doubt fusionpbx pages I've yet to visit that still generate warnings, this set is nearly certainly not comprehensive.
2016-04-25 20:19:58 -05:00
markjcrane 4b55af24f7 Add class_exists 2016-04-14 23:23:14 -06:00