Current Path : /proc/4653/cwd/wp-content/plugins/ninja-forms/includes/Templates/ |
Current File : //proc/4653/cwd/wp-content/plugins/ninja-forms/includes/Templates/admin-menu-import-export.html.php |
<div class="wrap"> <h1><?php esc_html_e( 'Import / Export', 'ninja-forms' ); ?> <a href="https://ninjaforms.com/docs/import-export/?utm_source=Ninja+Forms+Plugin&utm_medium=Import+Export&utm_campaign=Documentation&utm_content=Import+Export+Documentation" target="_blank"> <img src="<?php echo Ninja_Forms::$url . 'assets/img/help_icon.png'; ?>" alt="Documentation Link" width="25" height="25"> </a></h1> <h2 class="nav-tab-wrapper"> <?php foreach( $tabs as $tab => $name ): ?> <?php if( $tab == $active_tab ): ?> <span class="nav-tab nav-tab-active"><?php echo esc_html( $name ) ?></span> <?php else: ?> <a href="<?php echo esc_url( add_query_arg( 'tab', $tab) ); ?>" target="" class="nav-tab "><?php echo $name ?></a> <?php endif; ?> <?php endforeach; ?> </h2> <div id="poststuff"> <?php do_meta_boxes('nf_import_export_' . $active_tab, 'advanced', NULL ); ?> </div> <script> jQuery(document).ready( function($) { // close postboxes that should be closed jQuery('.if-js-closed').removeClass('if-js-closed').addClass('closed'); // postboxes <?php global $wp_version; if(version_compare($wp_version,"2.7-alpha", "<")){ echo "add_postbox_toggles('nf_import_export_$active_tab');"; //For WP2.6 and below } else{ echo "postboxes.add_postbox_toggles('nf_import_export_$active_tab');"; //For WP2.7 and above } ?> }); </script> </div>