/** * Display navigation to next/previous post when applicable. * * @since DSW oddil 1.0 */ function dswoddil_post_nav() { // Don't print empty markup if there's nowhere to navigate. $previous = is_attachment() ? get_post(get_post()->post_parent) : get_adjacent_post(false, '', true); $next = get_adjacent_post(false, '', false); if (!$next && !$previous) { return; } ?> <nav class="navigation post-navigation" role="navigation"> <h1 class="screen-reader-text"><?php _e('Post navigation', 'dswoddil'); ?> </h1> <div class="nav-links"> <?php if (is_attachment()) { previous_post_link('%link', __('<span class="meta-nav">Published In</span>%title', 'dswoddil')); } else { previous_post_link('%link', __('<span class="meta-nav">Previous Post</span>%title', 'dswoddil')); next_post_link('%link', __('<span class="meta-nav">Next Post</span>%title', 'dswoddil')); } ?> </div><!-- .nav-links --> </nav><!-- .navigation --> <?php }
/** * Display tab html code * * @return string * @since 1.0.0 */ public function display_page() { ?> <div class="yit_options"> <h3><?php _e('Import Theme Data', 'yit'); ?> </h3> <p class="install-help"><?php _e('If you have Theme Data in a .gz format, you may install it by uploading it here.', 'yit'); ?> </p> <div class="yit_options rm_option rm_input rm_text rm_upload"> <div class="option"> <input type="file" name="import-file" style="width:300px" id="import-file" /> <input type="submit" value="Import" class="button" /><br /> </div> <div class="description"> <?php _e('<strong>Warning</strong>: You must import sample data <strong>before</strong> customizing your theme. If you begin customizing your theme, then import sample data, <strong>all current data entered on your site will be overwritten/lost</strong>! Please proceed with the utmost care, <strong>after backing up all current data</strong>!', 'yit'); ?> </div> <div class="clear"></div> </div> </div> <?php }
/** * Output the Admin-Form for the active rule. * * @since 4.6 * @param mixed $data Rule-data which was saved via the save_() handler. */ protected function form_count($data) { $count = absint($data); if ($count < 1) { $count = 1; } ?> <label for="po-max-count"> <?php _e('Display PopUp this often:', PO_LANG); ?> </label> <input type="number" id="po-max-count" class="inp-small" name="po_rule_data[count]" min="1" max="999" maxlength="3" placeholder="10" value="<?php echo esc_attr(absint($count)); ?> " /> <?php }
function wp_statistics_generate_pages_postbox($ISOCountryCode, $search_engines) { global $WP_Statistics; if (!$WP_Statistics->get_option('pages')) { return; } list($total, $uris) = wp_statistics_get_top_pages(); if ($total > 0) { ?> <div class="postbox"> <div class="handlediv" title="<?php _e('Click to toggle', 'wp_statistics'); ?> "><br /></div> <h3 class="hndle"> <span><?php _e('Top 10 Pages', 'wp_statistics'); ?> <a href="?page=wps_pages_menu"><?php echo wp_statistics_icons('dashicons-visibility', 'visibility'); _e('More', 'wp_statistics'); ?> </a></span> </h3> <div class="inside"> <?php wp_statistics_generate_pages_postbox_content($total, $uris); ?> </div> </div> <?php } }
/** * Renders the control's content. * * @since 3.9.0 * @access public */ public function render_content() { $id = 'reorder-widgets-desc-' . str_replace(array('[', ']'), array('-', ''), $this->id); ?> <button type="button" class="button-secondary add-new-widget" aria-expanded="false" aria-controls="available-widgets"> <?php _e('Add a Widget'); ?> </button> <button type="button" class="button-link reorder-toggle" aria-label="<?php esc_attr_e('Reorder widgets'); ?> " aria-describedby="<?php echo esc_attr($id); ?> "> <span class="reorder"><?php _ex('Reorder', 'Reorder widgets in Customizer'); ?> </span> <span class="reorder-done"><?php _ex('Done', 'Cancel reordering widgets in Customizer'); ?> </span> </button> <p class="screen-reader-text" id="<?php echo esc_attr($id); ?> "><?php _e('When in reorder mode, additional controls to reorder widgets will be available in the widgets list above.'); ?> </p> <?php }
/** * Output the settings update form. * * @param array $instance Current settings. * * @return string Default return is 'noform'. * @author Andrea Grillo <*****@*****.**> */ public function form($instance) { $defaults = array('title' => __('Store Location', 'yith_wc_product_vendors')); $instance = wp_parse_args((array) $instance, $defaults); ?> <p> <label for="<?php echo $this->get_field_id('title'); ?> "><?php _e('Title', 'yith_wc_product_vendors'); ?> : <input type="text" id="<?php echo $this->get_field_id('title'); ?> " name="<?php echo $this->get_field_name('title'); ?> " value="<?php echo $instance['title']; ?> " class="widefat" /> </label> </p> <?php }
function sandbox_10_ping($comment, $args, $depth) { $GLOBALS['comment'] = $comment; extract($args, EXTR_SKIP); ?> <li <?php comment_class(sandbox_comment_class(false)); ?> id="comment-<?php comment_ID(); ?> "> <div class="comment-author"><?php printf(__('By %1$s on %2$s at %3$s', 'sandbox'), get_comment_author_link(), get_comment_date(), get_comment_time()); edit_comment_link(__('Edit', 'sandbox'), ' <span class="meta-sep">|</span> <span class="edit-link">', '</span>'); ?> </div> <?php if ($comment->comment_approved == '0') { _e('\\t\\t\\t\\t\\t<span class="unapproved">Your trackback is awaiting moderation.</span>\\n', 'sandbox'); } ?> <?php comment_text(); }
function woo_warp_side_cart() { ?> <link rel="stylesheet" type="text/css" href="<?php echo '' . plugins_url('css/style.css', __FILE__) . ''; ?> "> <div class="side-cart uk-panel uk-panel-box uk-panel-box-secondary"> <span class="ww-cart-icon side-cart uk-panel uk-panel-box uk-panel-box-primary"> <span class="uk-icon-shopping-cart"></span> </span> <p> <?php echo sprintf(_n('%d item', '%d items', WC()->cart->cart_contents_count), WC()->cart->cart_contents_count); ?> <br /> <?php echo WC()->cart->get_cart_total(); ?> </p> <a class="uk-button uk-button-mini uk-width-1-1 uk-button-primary" href="<?php echo WC()->cart->get_cart_url(); ?> " title="<?php _e('View Cart'); ?> ">View Cart</a> </div> <?php }
function form($instance) { $zip = esc_attr($instance['zip']); ?> <p> <label for="<?php echo $this->get_field_id('zip'); ?> "><?php _e('Zip Code:'); ?> <input class="widefat" id="<?php echo $this->get_field_id('zip'); ?> " name="<?php echo $this->get_field_name('zip'); ?> " type="text" value="<?php echo $zip; ?> " /> </label> </p> <?php }
public function form($instance) { if (isset($instance['title'])) { $title = $instance['title']; } else { $title = __('Search questions', 'ap'); } ?> <p> <label for="<?php echo $this->get_field_id('title'); ?> "><?php _e('Title:'); ?> </label> <input class="widefat" id="<?php echo $this->get_field_id('title'); ?> " name="<?php echo $this->get_field_name('title'); ?> " type="text" value="<?php echo esc_attr($title); ?> "> </p> <?php }
public function form($instance) { $title = !empty($instance['title']) ? $instance['title'] : __('REST API Comment Widget', 'rest-api-widgets'); ?> <p> <label for="<?php echo $this->get_field_id('title'); ?> "><?php _e('Widget Title:'); ?> </label> <input class="widefat" id="<?php echo $this->get_field_id('title'); ?> " name="<?php echo $this->get_field_name('title'); ?> " type="text" value="<?php echo esc_attr($title); ?> "> </p> <?php }
/** * Display navigation to next/previous post when applicable. * * @return void */ function my_simone_post_nav() { // Don't print empty markup if there's nowhere to navigate. $previous = is_attachment() ? get_post(get_post()->post_parent) : get_adjacent_post(false, '', true); $next = get_adjacent_post(false, '', false); if (!$next && !$previous) { return; } ?> <nav class="navigation post-navigation" role="navigation"> <div class="post-nav-box clear"> <h1 class="screen-reader-text"><?php _e('Post navigation', 'my-simone'); ?> </h1> <div class="nav-links"> <?php previous_post_link('<div class="nav-previous"><div class="nav-indicator">' . _x('Previous Post:', 'Previous post', 'my-simone') . '</div><h1>%link</h1></div>', '%title'); next_post_link('<div class="nav-next"><div class="nav-indicator">' . _x('Next Post:', 'Next post', 'my-simone') . '</div><h1>%link</h1></div>', '%title'); ?> </div><!-- .nav-links --> </div><!-- .post-nav-box --> </nav><!-- .navigation --> <?php }
/** Report an error if EventCalendar not yet installed. */ function ec3_check_installed($title) { global $ec3; if (!$ec3->event_category) { ?> <div style="background-color:black; color:red; border:2px solid red; padding:1em"> <div style="font-size:large"><?php echo $title; ?> </div> <?php _e('You must choose an event category.', 'ec3'); ?> <a style="color:red; text-decoration:underline" href="<?php echo get_option('home'); ?> /wp-admin/options-general.php?page=ec3_admin"> <?php _e('Go to Event Calendar Options', 'ec3'); ?> </a> </div> <?php } return $ec3->event_category; }
function wp_supercache_awaitingmoderation_admin() { global $cache_awaitingmoderation, $wp_cache_config_file, $valid_nonce; $cache_awaitingmoderation = $cache_awaitingmoderation == '' ? '0' : $cache_awaitingmoderation; if (isset($_POST['cache_awaitingmoderation']) && $valid_nonce) { $cache_awaitingmoderation = (int) $_POST['cache_awaitingmoderation']; wp_cache_replace_line('^ *\\$cache_awaitingmoderation', "\$cache_awaitingmoderation = '{$cache_awaitingmoderation}';", $wp_cache_config_file); $changed = true; } else { $changed = false; } $id = 'awaitingmoderation-section'; ?> <fieldset id="<?php echo $id; ?> " class="options"> <h4><?php _e('Awaiting Moderation', 'wp-super-cache'); ?> </h4> <form name="wp_manager" action="" method="post"> <label><input type="radio" name="cache_awaitingmoderation" value="1" <?php if ($cache_awaitingmoderation) { echo 'checked="checked" '; } ?> /> <?php _e('Enabled', 'wp-super-cache'); ?> </label> <label><input type="radio" name="cache_awaitingmoderation" value="0" <?php if (!$cache_awaitingmoderation) { echo 'checked="checked" '; } ?> /> <?php _e('Disabled', 'wp-super-cache'); ?> </label> <p><?php _e('Enables or disables plugin to Remove the text "Your comment is awaiting moderation." when someone leaves a moderated comment.', 'wp-super-cache'); ?> </p> <?php if ($changed) { if ($cache_awaitingmoderation) { $status = __("enabled"); } else { $status = __("disabled"); } echo "<p><strong>" . sprintf(__("Awaiting Moderation is now %s", 'wp-super-cache'), $status) . "</strong></p>"; } echo '<div class="submit"><input ' . SUBMITDISABLED . 'type="submit" value="' . __('Update', 'wp-super-cache') . '" /></div>'; wp_nonce_field('wp-cache'); ?> </form> </fieldset> <?php }
function edit_category_seo_field($term) { global $feature_groups; ?> <tr class="form-field term-group-wrap"> <th scope="row"><label for="meta-title"><?php _e('Meta Title', 'jkc'); ?> </label></th> <td><input name="meta-title" id="meta-title" type="text" value="<?php echo get_term_meta($term->term_id, 'meta-title', true); ?> " /><p class="description">This meta title will be used in category listing pages as title tag. </p></td> </tr><tr class="form-field term-group-wrap"> <th scope="row"><label for="meta-keywords"><?php _e('Meta Keywords', 'jkc'); ?> </label></th> <td><textarea name="meta-keywords" rows="3" id="meta-keywords"><?php echo get_term_meta($term->term_id, 'meta-keywords', true); ?> </textarea><p class="description">This meta keywords will be used in category listing pages.</p></td> </tr><tr class="form-field term-group-wrap"> <th scope="row"><label for="meta-keywords"><?php _e('Meta Description', 'jkc'); ?> </label></th> <td><textarea name="meta-description" rows="3" id="meta-description"><?php echo get_term_meta($term->term_id, 'meta-description', true); ?> </textarea><p class="description">This meta description will be used in category listing pages.</p></td> </tr><?php }
public function blog_field_html() { $id = esc_attr(jetpack_holiday_snow_option_name()); ?> <label for="<?php echo $id; ?> "> <input type="checkbox" name="<?php echo $id; ?> " id="<?php echo $id; ?> " value="letitsnow"<?php checked(get_option(jetpack_holiday_snow_option_name()), 'letitsnow'); ?> /> <span><?php _e('Show falling snow on my blog until January 4<sup>th</sup>.', 'jetpack'); ?> </span> </label> <?php }
/** Add New Field To Category **/ function extra_category_fields($tag) { $t_id = $tag->term_id; $cat_meta = get_option("category_{$t_id}"); ?> <tr class="form-field"> <th scope="row" valign="top"><label for="meta-color"><?php _e('Category Name Background Color'); ?> </label></th> <td> <div id="colorpicker"> <input type="text" name="cat_meta[catBG]" class="colorpicker" size="3" style="width:20%;" value="<?php echo isset($cat_meta['catBG']) ? $cat_meta['catBG'] : ''; ?> " /> </div> <br /> <span class="description"><?php _e(''); ?> </span> <br /> </td> </tr> <?php }
/** * Outputs the sign-up checkbox, will only run once. * * @return bool */ public function output_checkbox() { $opts = $this->options; // If using option to hide checkbox for subscribers and cookie is set, set instance variable showed_checkbox to true so checkbox won't show. if ( $opts['cookie_hide'] == 1 && isset( $_COOKIE['ns_subscriber'] ) ) { $this->showed_checkbox = true; } // User could have rendered the checkbox by manually adding 'the hook 'ns_comment_checkbox()' to their comment form // If so, abandon function. if ( $this->showed_checkbox ) { return false; } ?> <!-- Checkbox by Newsletter Sign-Up Checkbox v<?php echo NSU_VERSION_NUMBER; ?> - https://wordpress.org/plugins/newsletter-sign-up/ --> <p id="nsu-checkbox"> <label for="nsu-checkbox-input" id="nsu-checkbox-label"> <input value="1" id="nsu-checkbox-input" type="checkbox" name="newsletter-sign-up-do" <?php checked( $opts['precheck'], 1 ); ?> /> <?php _e( $opts['text'], 'newsletter-sign-up' ); ?> </label> </p> <!-- / Newsletter Sign-Up --> <?php // make sure checkbox doesn't show again $this->showed_checkbox = true; return true; }
public static function mkGUI($type, $title, $question, $info = FALSE, $except = FALSE, $list = FALSE, $name = NULL) { $DW =& $GLOBALS['DW']; $list = self::getAuthors(); if ($info) { self::$opt = $DW->getDWOpt($GLOBALS['widget_id'], 'single-author'); if (count($list) > DW_LIST_LIMIT) { $select_style = DW_LIST_STYLE; } if (count($list) > 0) { $DW->dumpOpt(self::$opt); echo '<br />'; _e(self::$except, DW_L10N_DOMAIN); echo '<br />'; echo '<div id="single-author-select" class="condition-select" ' . (isset($select_style) ? $select_style : '') . ' />'; foreach ($list as $key => $value) { $extra = 'onclick="ci(\'single_author_act_' . $key . '\')"'; echo '<input type="checkbox" id="single_author_act_' . $key . '" name="single_author_act[]" value="' . $key . '" ' . (self::$opt->count > 0 && in_array($key, self::$opt->act) ? 'checked="checked"' : '') . $extra . ' /> <label for="single_author_act_' . $key . '">' . $value . '</label><br />' . "\n"; } echo '</div>' . "\n"; } } else { parent::mkGUI(self::$type, self::$option[self::$name], self::$question, FALSE, self::$except, $list); } }
/** * Back-end widget form. * * @see WP_Widget::form() * * @param array $instance Previously saved values from database. */ public function form($instance) { if (isset($instance['title'])) { $title = $instance['title']; } else { $title = __('Slider', 'hs-page-blanc'); } ?> <p> <label for="<?php echo $this->get_field_id('title'); ?> "><?php _e('Title:'); ?> </label> <input id="<?php echo $this->get_field_id('title'); ?> " class="widefat" type="text" name="<?php echo $this->get_field_name('title'); ?> " value="<?php echo esc_attr($title); ?> "> </p> <?php }
/** * HTML for Gravatar Hovercard setting */ function grofiles_setting_callback() { global $current_user; $checked = 'disabled' == get_option( 'gravatar_disable_hovercards' ) ? '' : 'checked="checked" '; echo "<label id='gravatar-hovercard-options'><input {$checked}name='gravatar_disable_hovercards' id='gravatar_disable_hovercards' type='checkbox' value='enabled' class='code' /> " . __( "View people's profiles when you mouse over their Gravatars", 'jetpack' ) . "</label>"; ?> <style type="text/css"> #grav-profile-example img { float: left; } #grav-profile-example span { padding: 0 1em; } </style> <script type="text/javascript"> // <![CDATA[ jQuery( function($) { var tr = $( '#gravatar_disable_hovercards' ).change( function() { if ( $( this ).is( ':checked' ) ) { $( '#grav-profile-example' ).slideDown( 'fast' ); } else { $( '#grav-profile-example' ).slideUp( 'fast' ); } } ).parents( 'tr' ); var ftr = tr.parents( 'table' ).find( 'tr:first' ); if ( ftr.size() && !ftr.find( '#gravatar_disable_hovercards' ).size() ) { ftr.after( tr ); } } ); // ]]> </script> <p id="grav-profile-example" class="hide-if-no-js"<?php if ( !$checked ) echo ' style="display:none"'; ?>><?php echo get_avatar( $current_user->ID, 64 ); ?> <span><?php _e( 'Put your mouse over your Gravatar to check out your profile.', 'jetpack' ); ?> <br class="clear" /></span></p> <?php }
function ultimatum_meta() { global $wpdb; $table=$wpdb->prefix.ULTIMATUM_PREFIX.'_layout'; $post_id = $_GET['post'] ? $_GET['post'] : $_POST['post_ID'] ; wp_nonce_field( 'ultimatum_additional_meta', 'ultimatum_additional_meta_nonce' ); echo '<p><label for="ultimatum_author">'; _e("Show Author Info", 'ultimatum'); echo '</label>'; echo '<select name="ultimatum_author">'; $cura= get_post_meta($post_id,'ultimatum_author',true); echo '<option value="false"'; if($cura=='false') { echo ' selected="selected" '; } echo '>OFF</option>'; echo '<option value="true"'; if($cura=='true') { echo ' selected="selected" '; } echo '>ON</option>'; echo '</select></p>'; echo '<p><label for="ultimatum_video">'; _e("Video URL", 'ultimatum'); echo '</label>'; $curv= get_post_meta($post_id,'ultimatum_video',true); echo '<input type="text" name="ultimatum_video" value="'.$curv.'" size="50" />'; _e("Used in slideshows as post info ", 'ultimatum'); echo '</p>'; }
function form($instance) { $connectorID = esc_attr($instance['connectorID']); global $wpdb; $myrows = $wpdb->get_results("SELECT IntegrationID, Name FROM wp_connectors where is_user_template=0"); ?> <p> <label for="<?php echo $this->get_field_id('connectorID'); ?> "><?php _e('Connector Name:'); ?> </label> <select name="<?php echo $this->get_field_name('connectorID'); ?> " class="widefat" id="<?php echo $this->get_field_id('connectorID'); ?> "> <?php foreach ($myrows as $myrow) { if ($myrow->IntegrationID == $connectorID) { echo '<option selected value="' . $myrow->IntegrationID . '">' . $myrow->Name . '</option>'; } else { echo '<option value="' . $myrow->IntegrationID . '">' . $myrow->Name . '</option>'; } } ?> </select> </p> <?php }
public function settings_screen() { global $NF_Pushover; $tabs = $this->get_settings_tabs(); $current_tab = $this->get_current_tab(); ?> <div id="<?php echo $NF_Pushover->token; ?> " class="wrap"> <?php screen_icon($this->args['screen_icon']); ?> <h2 class="nav-tab-wrapper"> <?php echo $this->get_settings_tabs_html($tabs, $current_tab); do_action($NF_Pushover->token . '_after_settings_tabs'); ?> </h2> <form action="options.php" method="post"> <?php if (is_object($NF_Pushover->settings_objs[$current_tab])) { $NF_Pushover->settings_objs[$current_tab]->settings_screen(); } else { _e('Invalid Settings Class', 'nf-pushover'); } ?> </form> </div><!--/.wrap--> <?php }
function yith_woocompare_install_free_admin_notice() { ?> <div class="error"> <p><?php _e( 'You can\'t activate the free version of YITH WooCommerce Compare while you are using the premium one.', 'yith-woocommerce-compare' ); ?></p> </div> <?php }
function espresso_display_finalize_payment_header($data) { global $org_options; ?> <div class="event_espresso_attention event-messages ui-state-highlight"> <span class="ui-icon ui-icon-alert"></span> <p><strong><?php _e('Attention!', 'event_espresso'); ?> </strong><br /> <?php _e('If using one of the offline payment options, please make note of the information below, then', 'event_espresso'); ?> <a href="<?php echo home_url() . '/?page_id=' . $org_options['return_url']; ?> &payment_type=cash_check&id=<?php echo $data['attendee_id'] . '&r_id=' . $data['registration_id']; ?> " class="inline-link" title="<?php _e('Finalize your registration', 'event_espresso'); ?> "><?php _e('click here to finalize your registration', 'event_espresso'); ?> </a> </p> </div> <?php }
function socialeyes_theme_settings_style_box() { ?> <p><label><?php _e('Stylesheet', 'genesis'); ?> : <select name="<?php echo GENESIS_SETTINGS_FIELD; ?> [style_selection]"> <option style="padding-right:10px;" value=""><?php _e('Blue'); ?> </option> <option style="padding-right:10px;" value="social-pink" <?php selected('social-pink', genesis_get_option('style_selection')); ?> ><?php _e('Pink'); ?> </option> </select> </label></p> <p><span class="description">Please select the Social Eyes color style from the drop down list and save your settings.</span></p> <?php }
/** * Render the shortcode * @param array $args Shortcode paramters * @param string $content Content between shortcode * @return string HTML output */ function render($args, $content = '') { $defaults = Magee_Core::set_shortcode_defaults(array('url' => '', 'number' => 3, 'class' => '', 'id' => ''), $args); extract($defaults); self::$args = $defaults; $html = ''; //$html = '<h2>'._e( 'Recent news from Some-Other Blog:', 'my-text-domain' ).'<h2>'; if ($url !== '') { include_once ABSPATH . WPINC . '/feed.php'; $rss = fetch_feed(esc_url($url)); $maxitems = 0; if (!is_wp_error($rss)) { $maxitems = $rss->get_item_quantity(esc_attr($number)); $rss_items = $rss->get_items(0, $maxitems); } $html = '<ul class="' . esc_attr($class) . '" id="' . esc_attr($id) . '">'; if ($maxitems == 0) { $html .= '<li>' . _e('No items', 'magee-shortcodes') . '</li>'; } else { foreach ($rss_items as $item) { $html .= '<li>'; $html .= '<a target="_blank" href="' . esc_url($item->get_permalink()) . '" '; $html .= 'title="' . __('Posted ' . $item->get_date('j F Y | g:i a'), 'magee-shortcodes') . '">'; $html .= $item->get_title(); $html .= '</a>'; $html .= '</li>'; } } $html .= '</ul>'; } return $html; }
/** * Create the necessary form to customize the widget. * * @uses title @since 0.1 * * @author Nate Jacobs * @since 0.1 * * @param array */ public function form($instance) { $instance = wp_parse_args((array) $instance, array('title' => __('Brickset Themes', 'bs_api'))); $title = esc_attr($instance['title']); ?> <p> <label for="<?php echo $this->get_field_id('title'); ?> "><?php _e('Title', 'bs_api'); ?> :</label> <input class="widefat" id="<?php echo $this->get_field_id('title'); ?> " name="<?php echo $this->get_field_name('title'); ?> " type="text" value="<?php echo $title; ?> "> </p> <?php }
public function display_plugin_admin_page() { ?> <div class="wrap"> <h2><?php _e('Import / Export', $this->plugin_slug); ?> </h2> <p class="description"><?php _e('In this section you can easly import or export all Reviewer Plugin data. The importing process replaces the existing content of Reviewer Plugin, before go ahead make a backup of your WordPress database. The exporting process saves: templates, preferences, reviews, users ratings, comparison tables , support data', 'reviewer'); ?> </p> <?php settings_errors(); ?> <form method="post" action="options.php" enctype="multipart/form-data"> <!-- <form method="post"> --> <?php settings_fields($this->option_name); do_settings_sections($this->menu_slug); submit_button(__('Export', $this->plugin_slug), 'primary', 'rwp_io_submit', true, array('data-export' => __('Export', $this->plugin_slug), 'data-import' => __('Import', $this->plugin_slug))); ?> </form> <?php $this->backup_files(); //RWP_Reviewer::pretty_print( $this->option_value ); ?> <?php //RWP_Reviewer::pretty_print( $this->option_value ); ?> </div><!--/wrap--> <?php }