Commit Graph

81 Commits

Author SHA1 Message Date
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
markjcrane
f6920838c7 Add a default group check. 2016-04-03 11:54:09 -06:00
FusionPBX
e241bd383a Merge pull request #1527 from moteus/menu_array_default_arg
Fix. Use default value in function definition.
2016-03-30 08:49:29 -06:00
Alexey Melnichuk
594a353fab Fix. warning about using NULL as first argument in foreach.
Problem now in `tepmplate.php`
```PHP
$menu_array = $menu->menu_array();
...
foreach ($menu_array as $index_main => $menu_parent) {
```

It appear while install process because in this moment there not `$db`
and `$menu->menu_array()` returns nothing.

This problem also can be solved in `tepmplate.php` like
```PHP
if(is_array($menu_array)){
  foreach ($menu_array as $index_main => $menu_parent) {
...
```
2016-03-30 10:15:49 +03:00
Alexey Melnichuk
645f493b11 Fix. Use default value in function definition.
On `themes/default/template.php` it called without args
```PHP
$menu_array = $menu->menu_array();
```

And it produce PHP warning.
2016-03-30 09:39:15 +03:00
markjcrane
fa2b753e62 Add the menu_default method to app_defaults.php. 2016-03-26 22:59:00 -06:00
markjcrane
c0b93e849c Change the method name to menu_default. 2016-03-26 21:22:52 -06:00
markjcrane
d5b3fffda8 Add methoed 'default' to the menu class. 2016-03-26 21:18:02 -06:00