PluginProbe
Smart Grid-Layout Design for Contact Form 7 / 3.3.8
Smart Grid-Layout Design for Contact Form 7 v3.3.8
4.18.0 4.17.0 3.2.0 3.2.1 3.3.0 3.3.1 3.3.2 3.3.3 3.3.4 3.3.5 3.3.6 3.3.7 3.3.8 4.0.0 4.0.1 4.1.0 4.1.1 4.1.2 4.1.3 4.1.4 4.10 4.11 4.12 4.13 4.14 All 119 releases
cf7-grid-layout / admin / partials / pointers / cf7sg-pointer-editor-tabs.php

cf7sg-pointer-editor-tabs.php in Smart Grid-Layout Design for Contact Form 7 3.3.8, at admin/partials/pointers/cf7sg-pointer-editor-tabs.php

17 lines 1.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 //pointer for editor tabs
3 global $post;
4 $is_form = get_post_meta($post->ID, '_cf7sg_managed_form', true);
5 if(empty($is_form) || !$is_form){ //check if new form debug_msg($post);
6 $is_form = false;
7 if('auto-draft'==$post->post_status) $is_form=true;
8 }
9 if($is_form):
10 ?>
11 <h3 class="cf7sg-pointer"><?=__('Switch Editors', 'cf7-grid-layout')?></h3>
12 <p><?=__('CF7 Smart Grid extension replaces the Contact Form 7 textarea editor with a <b>UI Grid editor</b> and a colour markup text editor, use this tab to switch between the two.<br /> <b>NOTE</b> that previous forms designed using the CF7 plugin editor will be editable in the text editor only.<br /><b>Clear this form</b> by switching to the text mode, selecting everything and deleting the code. Switch back to the grid editor to start with a blank form.','cf7-grid-layout')?></p>
13 <?php else:?>
14 <h3 class="cf7sg-pointer"><?=__('Switch Editors', 'cf7-grid-layout')?></h3>
15 <p><?=__("<b>Grid editor disabled!</b> This form's HTML markup is not compatible. The Smart Grid encodes forms with a HTML markup that allows rich responsive layouts. Create a new form to experience the grid editor.",'cf7-grid-layout')?></p>
16 <?php endif; ?>
17