PluginProbe
FluentBoards – Project Management, Task Management, Goal Tracking, Kanban Board, and, Team Collaboration / 2.1.0
FluentBoards – Project Management, Task Management, Goal Tracking, Kanban Board, and, Team Collaboration v2.1.0
2.1.0 2.0.15 2.0.12 2.0.10 2.0.4 2.0.1 2.0.0 1.95.3 1.95.2 1.95 1.91.6 trunk 1.11 1.12 1.13 1.20 1.21 1.22 1.23 1.30 1.31 1.32 1.35 1.40 1.41 All 42 releases
← All changes | app/Views/admin/menu.php +73 -14 1.402.1.0 View file →
@@ -11,28 +11,29 @@
11 11 <span><?php esc_html_e('Pro', 'fluent-boards'); ?></span>
12 12 <?php endif; ?>
13 13 </a>
14 14 </div>
15 - <div class="fframe_handheld"><span class="dashicons dashicons-menu-alt3"></span></div>
16 15 <ul class="fframe_menu">
17 - <?php foreach ($menuItems as $item) { ?>
18 - <?php $hasSubMenu = !empty($item['sub_items']); ?>
19 - <li data-key="<?php echo esc_attr($item['key']); ?>"
20 - class="fframe_menu_item <?php echo ($hasSubMenu) ? 'fframe_has_sub_items' : ''; ?> fframe_item_<?php echo esc_attr($item['key']); ?> <?php echo esc_attr($item['class'] ?? '') ?? ''; ?>">
16 + <?php foreach ($menuItems as $fluent_boards_item) { ?>
17 + <?php $fluent_boards_has_submenu = !empty($fluent_boards_item['sub_items']); ?>
18 + <li data-key="<?php echo esc_attr($fluent_boards_item['key']); ?>"
19 + class="fframe_menu_item <?php echo ($fluent_boards_has_submenu) ? 'fframe_has_sub_items' : ''; ?> fframe_item_<?php echo esc_attr($fluent_boards_item['key']); ?> <?php echo esc_attr($fluent_boards_item['class'] ?? '') ?? ''; ?>">
21 20 <a class="fframe_menu_primary"
22 - <?php if (!empty($item['target'])) : ?>target="_blank" rel="noopener" <?php endif; ?>
23 - href="<?php echo esc_url($item['permalink']); ?>">
24 - <?php echo esc_html(sanitize_text_field($item['label'])); ?>
25 - <?php if(!empty($item['target'])): ?>
26 - <i class="el-icon" data-v-6fbb019e="" style="font-size: 12px;"><svg width="12px" height="12px" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024" data-v-6fbb019e=""><path fill="currentColor" d="M768 256H353.6a32 32 0 1 1 0-64H800a32 32 0 0 1 32 32v448a32 32 0 0 1-64 0z"></path><path fill="currentColor" d="M777.344 201.344a32 32 0 0 1 45.312 45.312l-544 544a32 32 0 0 1-45.312-45.312l544-544z"></path></svg></i>
21 + <?php if (!empty($fluent_boards_item['target'])) : ?>target="_blank" rel="noopener" <?php endif; ?>
22 + href="<?php echo esc_url($fluent_boards_item['permalink']); ?>">
23 + <?php echo esc_html(sanitize_text_field($fluent_boards_item['label'])); ?>
24 + <?php if(!empty($fluent_boards_item['target'])): ?>
25 + <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none" aria-hidden="true" focusable="false">
26 + <path d="M13.0582 8.01999L6.49492 14.5833L5.41667 13.505L11.9792 6.94173H6.19524V5.41663H14.5833V13.8047H13.0582V8.01999Z" fill="#99A0AE"/>
27 + </svg>
27 28 <?php endif; ?>
28 - <?php if ($hasSubMenu) { ?>
29 + <?php if ($fluent_boards_has_submenu) { ?>
29 30 <span class="dashicons dashicons-arrow-down-alt2"></span>
30 31 <?php } ?></a>
31 - <?php if ($hasSubMenu) { ?>
32 + <?php if ($fluent_boards_has_submenu) { ?>
32 33 <div class="fframe_submenu_items">
33 - <?php foreach ($item['sub_items'] as $sub_item) { ?>
34 - <a href="<?php echo esc_url($sub_item['permalink']); ?>"><?php echo esc_attr($sub_item['label']); ?></a>
34 + <?php foreach ($fluent_boards_item['sub_items'] as $fluent_boards_sub_item) { ?>
35 + <a href="<?php echo esc_url($fluent_boards_sub_item['permalink']); ?>"><?php echo esc_attr($fluent_boards_sub_item['label']); ?></a>
35 36 <?php } ?>
36 37 </div>
37 38 <?php } ?>
38 39 </li>
@@ -40,11 +41,69 @@
40 41 </ul>
41 42 </div>
42 43 <div class="fbs_menu_action">
43 44 <div class="fbs_menu_actions" id="fluent_app_actions"></div>
45 + <?php
46 + if (!defined('FLUENT_BOARDS_PRO')) {
47 + ?>
48 + <a
49 + href="<?php echo esc_url(fluent_boards_get_upgrade_url('top_bar')); ?>"
50 + class="el-button el-button--primary no-underline fbs_menu_action__upgrade">
51 + <span>
52 + <?php esc_html_e('Upgrade to Pro', 'fluent-boards'); ?>
53 + </span>
54 + </a>
55 + <?php
56 + }
57 + ?>
44 58 <?php do_action('fluent_boards/in_menu_actions'); ?>
45 59 </div>
46 60 </div>
61 + <div class="fframe_menu_overlay" data-fbs-menu-overlay></div>
62 + <ul class="fframe_menu fframe_menu_small_screen" id="fframe_mobile_menu"
63 + aria-label="<?php esc_attr_e('Navigation Menu', 'fluent-boards'); ?>">
64 + <li class="fframe_menu_close_item">
65 + <button type="button" class="fframe_offcanvas_close" data-fbs-menu-close
66 + aria-label="<?php esc_attr_e('Close Navigation Menu', 'fluent-boards'); ?>">
67 + <svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false">
68 + <path d="M9.99956 8.93955L13.7121 5.22705L14.7726 6.28755L11.0601 10.0001L14.7726 13.7126L13.7121 14.7731L9.99956 11.0606L6.28706 14.7731L5.22656 13.7126L8.93906 10.0001L5.22656 6.28755L6.28706 5.22705L9.99956 8.93955Z" fill="currentColor"/>
69 + </svg>
70 + </button>
71 + </li>
72 + <?php foreach ($menuItems as $fluent_boards_item) { ?>
73 + <?php $fluent_boards_has_submenu = !empty($fluent_boards_item['sub_items']); ?>
74 + <li data-key="<?php echo esc_attr($fluent_boards_item['key']); ?>"
75 + class="fframe_menu_item <?php echo ($fluent_boards_has_submenu) ? 'fframe_has_sub_items' : ''; ?> fframe_item_<?php echo esc_attr($fluent_boards_item['key']); ?> <?php echo esc_attr($fluent_boards_item['class'] ?? '') ?? ''; ?>">
76 + <a class="fframe_menu_primary"
77 + <?php if (!empty($fluent_boards_item['target'])) : ?>target="_blank" rel="noopener" <?php endif; ?>
78 + href="<?php echo esc_url($fluent_boards_item['permalink']); ?>">
79 + <?php echo esc_html(sanitize_text_field($fluent_boards_item['label'])); ?>
80 + <?php if(!empty($fluent_boards_item['target'])): ?>
81 + <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none" aria-hidden="true" focusable="false">
82 + <path d="M13.0582 8.01999L6.49492 14.5833L5.41667 13.505L11.9792 6.94173H6.19524V5.41663H14.5833V13.8047H13.0582V8.01999Z" fill="#99A0AE"/>
83 + </svg>
84 + <?php endif; ?>
85 + <?php if ($fluent_boards_has_submenu) { ?>
86 + <span class="dashicons dashicons-arrow-down-alt2"></span>
87 + <?php } ?></a>
88 + <?php if ($fluent_boards_has_submenu) { ?>
89 + <div class="fframe_submenu_items">
90 + <?php foreach ($fluent_boards_item['sub_items'] as $fluent_boards_sub_item) { ?>
91 + <a href="<?php echo esc_url($fluent_boards_sub_item['permalink']); ?>"><?php echo esc_attr($fluent_boards_sub_item['label']); ?></a>
92 + <?php } ?>
93 + </div>
94 + <?php } ?>
95 + </li>
96 + <?php } ?>
97 + <?php if (!defined('FLUENT_BOARDS_PRO')) { ?>
98 + <li data-key="get_pro" class="fframe_menu_item fframe_item_get_pro">
99 + <a class="fframe_menu_primary"
100 + href="<?php echo esc_url(fluent_boards_get_upgrade_url('sidebar_cta')); ?>">
101 + <?php esc_html_e('Upgrade to Pro', 'fluent-boards'); ?>
102 + </a>
103 + </li>
104 + <?php } ?>
105 + </ul>
47 106 <div class="fframe_body">
48 107 <div id="fluent-framework-app" class="fs_route_wrapper"></div>
49 108 </div>
50 109 </div>