PluginProbe
FormLayer / 1.0.7
FormLayer v1.0.7
1.0.9 1.0.8 1.0.7 1.0.6 trunk 1.0.3 1.0.4 1.0.5
← All changes | main/settings/ui.php +10 -35 trunk1.0.7 View file →
@@ -31,9 +31,11 @@
31 31
32 32 self::tab_item('entries', 'Entries' . $unread_badge, '<span class="dashicons dashicons-database-view"></span>');
33 33 self::tab_item('reports', 'Reports', '<span class="dashicons dashicons-chart-bar"></span>');
34 34 self::tab_item('integrations', 'Integrations', '<span class="dashicons dashicons-admin-links"></span>');
35 - self::tab_item('tools', 'Tools', '<span class="dashicons dashicons-migrate"></span>');
35 + if(defined('FORMLAYER_PRO_VERSION')){
36 + self::tab_item('tools', 'Tools', '<span class="dashicons dashicons-migrate"></span>');
37 + }
36 38 self::tab_item('settings', 'Settings', '<span class="dashicons dashicons-admin-settings"></span>');
37 39 self::tab_item('support', 'Support', '<span class="dashicons dashicons-sos"></span>');
38 40 if (defined('FORMLAYER_PRO_VERSION')) {
39 41 self::tab_item('license', 'License', '<span class="dashicons dashicons-admin-network"></span>');
@@ -568,11 +570,8 @@
568 570 <ul>
569 571 <li class="active" data-section="notifications">
570 572 <span class="dashicons dashicons-email"></span>' . esc_html__('Email Notifications', 'formlayer') . '
571 573 </li>
572 - <li data-section="email_confirmation">
573 - <span class="dashicons dashicons-email-alt"></span>' . esc_html__('Email Confirmation', 'formlayer') . '
574 - </li>
575 574 <li data-section="confirmations">
576 575 <span class="dashicons dashicons-yes"></span>' . esc_html__('Form Confirmations', 'formlayer') . '
577 576 </li>
578 577 <li data-section="integrations">
@@ -645,30 +644,9 @@
645 644 </div>
646 645 </div>
647 646 </div>
648 647
649 - <!-- Email Confirmation Section -->
650 - <div class="formlayer-settings-section" id="formlayer-settings-email_confirmation" style="display:none;">
651 - <div class="section-header">
652 - <h3>' . esc_html__('Email Confirmation', 'formlayer') . '</h3>
653 - <p>' . esc_html__('Send an automatic confirmation email to the person who submitted the form.', 'formlayer') . '</p>
654 - </div>';
655 -
656 - if(defined("FORMLAYER_PRO_VERSION")){
657 - do_action('formlayer_render_email_confirmation');
658 - } else {
659 - echo'<div class="formlayer-pro-lock-pane formlayer-pro-lock-pane-wrap">
660 - <div class="formlayer-pro-lock-icon-box">
661 - <span class="dashicons dashicons-lock" style="font-size:32px; height:32px; width:32px; color:var(--fl-primary);"></span>
662 - </div>
663 - <h4 class="formlayer-empty-title">' . esc_html__('Unlock Email Confirmations', 'formlayer') . '</h4>
664 - <p style="color:#64748b; margin:0 0 20px 0;">' . esc_html__('Automatically send a confirmation email to your users after they submit a form with FormLayer Pro.', 'formlayer') . '</p>
665 - <a href="#" class="formlayer-btn formlayer-btn-primary">' . esc_html__('Go Pro', 'formlayer') . '</a>
666 - </div>';
667 - }
668 -
669 - echo'</div>';
670 - echo'<!-- Confirmations Section -->
648 + <!-- Confirmations Section -->
671 649 <div class="formlayer-settings-section" id="formlayer-settings-confirmations" style="display:none;">
672 650 <div class="section-header">
673 651 <h3>' . esc_html__('Form Confirmations', 'formlayer') . '</h3>
674 652 <p>' . esc_html__('What happens after a user submits the form?', 'formlayer') . '</p>
@@ -685,16 +663,13 @@
685 663 <div class="formlayer-settings-field">
686 664 <label>' . esc_html__('Success Message', 'formlayer') . '</label>
687 665 <textarea id="form-setting-conf-message" class="formlayer-input" style="height:100px;"></textarea>
688 666 </div>
689 - <div class="formlayer-settings-field">
690 - <label>'.esc_html__('Hide form after successful submission', 'formlayer').'</label>
691 - <div class="formlayer-switch-wrapper">
692 - <label class="formlayer-switch">
693 - <input type="checkbox" id="form-setting-conf-hide" checked>
694 - <span class="slider round"></span>
695 - </label>
696 - </div>
667 + <div class="formlayer-switch-wrapper">
668 + <label class="formlayer-switch">
669 + <input type="checkbox" id="form-setting-conf-hide" checked>
670 + <span class="slider round"></span>
671 + </label>
697 672 </div>
698 673 </div>
699 674
700 675 <div id="conf-group-redirect" style="display:none;">
@@ -743,5 +718,5 @@
743 718
744 719 do_action('formlayer_render_modals');
745 720
746 721 }
747 -}
722 +}