PluginProbe
Fluent Forms – Customizable Contact Forms, Survey, Quiz, & Conversational Form Builder / 6.2.6
Fluent Forms – Customizable Contact Forms, Survey, Quiz, & Conversational Form Builder v6.2.6
6.2.14 6.2.13 6.2.12 6.2.10 6.2.11 6.2.9 6.2.8 6.2.7 6.2.6 6.2.5 6.2.4 6.2.3 6.2.2 3.6.22 3.6.31 3.6.40 3.6.41 3.6.42 3.6.50 3.6.51 3.6.60 3.6.61 3.6.62 3.6.64 3.6.65 All 196 releases
fluentform / app / Views / admin / addons / index.php

index.php in Fluent Forms – Customizable Contact Forms, Survey, Quiz, & Conversational Form Builder 6.2.6, at app/Views/admin/addons/index.php

76 lines 3.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 defined('ABSPATH') or die;
4
5 // phpcs:disable WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound -- Template variables in view files
6 do_action_deprecated(
7 'fluentform_global_menu',
8 [
9 ],
10 FLUENTFORM_FRAMEWORK_UPGRADE,
11 'fluentform/global_menu',
12 'Use fluentform/global_menu instead of fluentform_global_menu.'
13 );
14 do_action('fluentform/global_menu'); ?>
15 <div class="ff_form_wrap">
16 <div class="ff_form_wrap_area">
17 <?php if(!$hasPro){ ?>
18
19 <div class="ff_card ff_update_card el-row is-align-middle mb-4">
20 <div class="ff-update-icon">
21 <span><i class="el-icon-warning el-icon-warning"></i>
22 </div>
23 <div class="ff-update-body">
24 <h5 class="title mb-1">
25 <?php esc_html_e('You are using the free version of Fluent Forms.', 'fluentform'); ?>
26 </h5>
27 <p class="text">
28 <?php esc_html_e('Upgrade to get access to all the advanced features.', 'fluentform'); ?>
29 </p>
30 </div>
31
32 <div class="ff-update-action">
33 <a
34 target="_blank"
35 href="https://fluentforms.com/pricing/?utm_source=plugin&utm_medium=wp_install&utm_campaign=ff_upgrade"
36 class="el-button el-button--primary"
37 >
38 <?php esc_html_e('Upgrade to Pro', 'fluentform'); ?>
39 </a>
40 </div>
41 </div>
42
43 <?php }?>
44
45 <div class="ff_card">
46 <ul class="ff_tab mb-5">
47 <li class="ff_tab_item <?php echo ($current_menu_item == 'fluentform_add_ons') ? 'active' : ''; ?>">
48 <a class="ff_tab_link" href="<?php echo esc_url($base_url); ?>">
49 <?php esc_html_e('Modules', 'fluentform'); ?>
50 </a>
51 </li>
52 <?php foreach ($menus as $menu_index => $menu_title): ?>
53 <li class="ff_tab_item ff_tab_item_<?php echo esc_attr($menu_index); ?> <?php echo ($current_menu_item == $menu_index) ? 'active' : ''; ?>">
54 <a class="ff_tab_link" href="<?php echo esc_url($base_url); ?>&sub_page=<?php echo esc_attr($menu_index); ?>">
55 <?php echo esc_html($menu_title); ?>
56 </a>
57 </li>
58 <?php endforeach; ?>
59 </ul>
60 <div class="ff_add_on_body ff_add_on_body_<?php echo esc_attr($current_menu_item); ?>">
61 <?php
62 do_action_deprecated(
63 'fluentform_addons_page_render_' . $current_menu_item,
64 [
65 ],
66 FLUENTFORM_FRAMEWORK_UPGRADE,
67 'fluentform/addons_page_render_' . $current_menu_item,
68 'Use fluentform/addons_page_render_' . $current_menu_item . ' instead of fluentform_addons_page_render_' . $current_menu_item
69 );
70 do_action('fluentform/addons_page_render_' . $current_menu_item);
71 ?>
72 </div>
73 </div>
74 </div>
75 </div>
76