margin: 5px auto; width: 50%; min-width: 261px; text-align: center; } #kws_gravityview_info img { max-width: 100%; margin: 0 auto 10px; display: block; text-align: center; } </style> <div id="kws_gravityview_info"> <div class="aligncenter"> <a href="https://gravityview.co/pricing/?utm_source=plugin&utm_medium=settings&utm_content=logolink&utm_campaign=gravity-forms-constant-contact" title="<?php esc_attr_e( 'Go to the GravityView Website', 'gravity-forms-constant-contact' ); ?>" class="aligncenter"><img src= "<?php echo plugins_url( '/images/GravityView-612x187.jpg', GFConstantContact::get_file() ); ?>" alt="GravityView Logo" width="306" height="93" /></a> <h2><?php esc_html_e('GravityView is the best way to display Gravity Forms entries.', 'gravity-forms-constant-contact'); ?></h2> <?php echo '<h3>'. sprintf( esc_html__('Do you have form data you want to show on your website? Have you ever copied and pasted entries into your site? That’s illogical! %sGravityView%s is here.', 'gravity-forms-constant-contact' ), '<a href="https://gravityview.co/pricing/?utm_source=plugin&utm_medium=settings&utm_content=subheadinglink&utm_campaign=gravity-forms-constant-contact">', '</a>' ) .'</h3>'; ?> <ul class="ul-square"> <li><?php esc_html_e('Drag & drop interface', 'gravity-forms-constant-contact'); ?></li> <li><?php esc_html_e('Different layout types - display entries as a table or profiles', 'gravity-forms-constant-contact'); ?></li> <li><?php esc_html_e('Preset templates make it easy to get started', 'gravity-forms-constant-contact'); ?></li> <li><?php esc_html_e('Great support', 'gravity-forms-constant-contact'); ?></li> <li><a href="https://gravityview.co/extensions/?utm_source=plugin&utm_medium=settings&utm_content=extensionslink&utm_campaign=gravity-forms-constant-contact"><?php esc_html_e('Lots of powerful extensions', 'gravity-forms-constant-contact'); ?></a></li>
public static function uninstall() { //loading data lib require_once self::get_base_path() . "/data.php"; if (!GFConstantContact::has_access("gravityforms_constantcontact_uninstall")) { die(__("You don't have adequate permission to uninstall Constant Contact Add-On.", "gravity-forms-constant-contact")); } //droping all tables GFConstantContactData::drop_tables(); //removing options delete_option("gf_constantcontact_settings"); delete_option("gf_constantcontact_version"); //Deactivating plugin $plugin = "gravity-forms-constant-contact/constantcontact.php"; deactivate_plugins($plugin); update_option('recently_activated', array($plugin => time()) + (array) get_option('recently_activated')); }
} #kws_gravityview_info img { max-width: 100%; margin: 0 auto 10px; display: block; text-align: center; } </style> <div id="kws_gravityview_info"> <div class="aligncenter"> <a href="https://gravityview.co/pricing/?utm_source=plugin&utm_medium=settings&utm_content=logolink&utm_campaign=gravity-forms-constant-contact" title="<?php esc_attr_e('Go to the GravityView Website', 'gravity-forms-constant-contact'); ?> " class="aligncenter"><img src= "<?php echo plugins_url('/images/GravityView-612x187.jpg', GFConstantContact::get_file()); ?> " alt="GravityView Logo" width="306" height="93" /></a> <h2><?php esc_html_e('GravityView is the best way to display Gravity Forms entries.', 'gravity-forms-constant-contact'); ?> </h2> <?php echo '<h3>' . sprintf(esc_html__('Do you have form data you want to show on your website? Have you ever copyied and pasted entries into your site? That’s illogical! %sGravityView%s is here.', 'gravity-forms-constant-contact'), '<a href="https://gravityview.co/pricing/?utm_source=plugin&utm_medium=settings&utm_content=subheadinglink&utm_campaign=gravity-forms-constant-contact">', '</a>') . '</h3>'; ?> <ul class="ul-square"> <li><?php esc_html_e('Drag & drop interface', 'gravity-forms-constant-contact'); ?>