| @@ -1,12 +1,12 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | 3 | * @package FireBox |
| 4 | - * @version 1.0.0 Free | |
| 4 | + * @version 2.1.14 Free | |
| 5 | 5 | * |
| 6 | 6 | * @author FirePlugins <info@fireplugins.com> |
| 7 | 7 | * @link https://www.fireplugins.com |
| 8 | - * @copyright Copyright © 2021 FirePlugins All Rights Reserved | |
| 8 | + * @copyright Copyright © 2024 FirePlugins All Rights Reserved | |
| 9 | 9 | * @license GNU GPLv3 <http://www.gnu.org/licenses/gpl.html> or later |
| 10 | 10 | */ |
| 11 | 11 | |
| 12 | 12 | namespace FireBox\Core\Admin\Menu; |
| @@ -37,22 +37,23 @@ | ||
| 37 | 37 | 'controller' => 'FireBox\\Core\\Controllers\\Dashboard', |
| 38 | 38 | 'is_parent' => true |
| 39 | 39 | ], |
| 40 | 40 | [ |
| 41 | - 'page_title' => esc_html(fpframework()->_('FPF_DASHBOARD')), | |
| 42 | - 'menu_title' => esc_html(fpframework()->_('FPF_DASHBOARD')), | |
| 41 | + 'page_title' => esc_html(fpframework()->_('FPF_OVERVIEW')), | |
| 42 | + 'menu_title' => esc_html(fpframework()->_('FPF_OVERVIEW')), | |
| 43 | 43 | 'menu_slug' => 'firebox' |
| 44 | 44 | ], |
| 45 | 45 | [ |
| 46 | 46 | 'render_callback' => false, |
| 47 | - 'page_title' => esc_html(firebox()->_('FB_NEW_POPUP')), | |
| 48 | - 'menu_title' => esc_html(firebox()->_('FB_NEW_POPUP')), | |
| 49 | - 'menu_slug' => 'post-new.php?post_type=firebox&template=blank' | |
| 47 | + 'page_title' => esc_html(firebox()->_('FB_NEW_CAMPAIGN')), | |
| 48 | + 'menu_title' => esc_html(firebox()->_('FB_NEW_CAMPAIGN')), | |
| 49 | + 'menu_slug' => 'post-new.php?post_type=firebox' | |
| 50 | 50 | ], |
| 51 | 51 | [ |
| 52 | - 'render_callback' => false, | |
| 53 | - 'menu_title' => esc_html(firebox()->_('FB_POPUPS')), | |
| 54 | - 'menu_slug' => 'edit.php?post_type=firebox' | |
| 52 | + 'page_title' => esc_html(firebox()->_('FB_FIREBOX_CAMPAIGNS')), | |
| 53 | + 'menu_title' => esc_html(firebox()->_('FB_CAMPAIGNS')), | |
| 54 | + 'menu_slug' => 'firebox-campaigns', | |
| 55 | + 'controller' => 'FireBox\\Core\\Controllers\\Campaigns' | |
| 55 | 56 | ], |
| 56 | 57 | [ |
| 57 | 58 | 'page_title' => esc_html(firebox()->_('FB_ANALYTICS_PAGE_TITLE')), |
| 58 | 59 | 'menu_title' => esc_html(fpframework()->_('FPF_ANALYTICS')), |
| @@ -59,9 +60,15 @@ | ||
| 59 | 60 | 'menu_slug' => 'firebox-analytics', |
| 60 | 61 | 'controller' => 'FireBox\\Core\\Controllers\\Analytics' |
| 61 | 62 | ], |
| 62 | 63 | [ |
| 63 | - 'page_title' => esc_html(firebox()->_('FB_IMPORT_PAGE_TITLE')), | |
| 64 | + 'page_title' => esc_html(firebox()->_('FB_SUBMISSIONS_PAGE_TITLE')), | |
| 65 | + 'menu_title' => esc_html(fpframework()->_('FPF_SUBMISSIONS')), | |
| 66 | + 'menu_slug' => 'firebox-submissions', | |
| 67 | + 'controller' => 'FireBox\\Core\\Controllers\\Submissions' | |
| 68 | + ], | |
| 69 | + [ | |
| 70 | + 'page_title' => esc_html(firebox()->_('FB_IMPORT_CAMPAIGNS')), | |
| 64 | 71 | 'menu_title' => esc_html(fpframework()->_('FPF_IMPORT')), |
| 65 | 72 | 'menu_slug' => 'firebox-import', |
| 66 | 73 | 'controller' => 'FireBox\\Core\\Controllers\\BoxImport' |
| 67 | 74 | ], |
| @@ -76,9 +83,9 @@ | ||
| 76 | 83 | 'custom_url' => FBOX_DOC_URL |
| 77 | 84 | ], |
| 78 | 85 | |
| 79 | 86 | [ |
| 80 | - 'menu_title' => '<span class="fb-yellow-link">' . esc_html(fpframework()->_('FPF_UPGRADE')) . '</span>', | |
| 87 | + 'menu_title' => esc_html(fpframework()->_('FPF_UPGRADE_TO_PRO')), | |
| 81 | 88 | 'custom_url' => FBOX_GO_PRO_URL |
| 82 | 89 | ] |
| 83 | 90 | |
| 84 | 91 | ]; |