PluginProbe
User Profile Builder – Beautiful User Registration Forms, User Profiles & User Role Editor / 4.0.3
User Profile Builder – Beautiful User Registration Forms, User Profiles & User Role Editor v4.0.3
4.0.3 4.0.2 4.0.1 4.0.0 3.16.6 3.16.5 3.16.4 3.16.3 3.16.2 3.16.1 3.16.0 3.15.9 3.9.9 3.9.5 3.9.6 3.9.7 3.9.8 1.1.7 1.1.8 1.1.9 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 All 341 releases
← All changes | add-ons-free/import-export/import-export.php +21 -8 3.9.8 → 4.0.3 View file →
@@ -1,5 +1,8 @@
1 1 <?php
2 +// Exit if accessed directly
3 +if ( ! defined( 'ABSPATH' ) ) exit;
4 +
2 5 /*
3 6 Description: Adds a PB subpage where you can Import and Export settings of Profile Builder.
4 7 */
5 8
@@ -28,14 +31,14 @@
28 31 'import' => __( 'Import', 'profile-builder' ),
29 32 'export' => __( 'Export', 'profile-builder' )
30 33 );
31 34
32 - echo '<h2 class="nav-tab-wrapper">';
35 + echo '<nav class="nav-tab-wrapper cozmoslabs-nav-tab-wrapper">';
33 36 foreach( $tabs as $tab => $name ) {
34 37 $class = ( $tab == $current ) ? ' nav-tab-active' : '';
35 38 echo "<a class='nav-tab". esc_attr( $class )."' href='?page=pbie-import-export&tab=". esc_attr( $tab ) ."'>". esc_html( $name ) ."</a>";
36 39 }
37 - echo '</h2>';
40 + echo '</nav>';
38 41 }
39 42
40 43 /* PB Import and Export subpage content function */
41 44 function wppb_pbie_page() {
@@ -41,15 +44,25 @@
41 44 function wppb_pbie_page() {
42 45 global $pagenow;
43 46
44 47 ?>
45 - <div class="wrap">
48 + <div class="wrap cozmoslabs-wrap">
49 +
50 + <h1></h1>
51 + <!-- WordPress Notices are added after the h1 tag -->
52 +
53 + <div class="cozmoslabs-page-header">
54 + <div class="cozmoslabs-section-title">
55 +
56 + <h2 class="cozmoslabs-page-title">
57 + <?php esc_html_e( 'Import and Export', 'profile-builder' ); ?>
58 + <a href="https://www.cozmoslabs.com/docs/profile-builder/add-ons/import-export-pb-settings/?utm_source=wpbackend&utm_medium=pb-documentation&utm_campaign=PBDocs" target="_blank" data-code="f223" class="wppb-docs-link dashicons dashicons-editor-help" style="margin-left: 5px;"></a>
59 + </h2>
60 +
61 + </div>
62 + </div>
63 +
46 64 <?php
47 - echo '<h2>';
48 - esc_html_e( 'Import and Export', 'profile-builder' );
49 - echo '<a href="https://www.cozmoslabs.com/docs/profile-builder-2/add-ons/import-export-pb-settings/?utm_source=wpbackend&utm_medium=pb-documentation&utm_campaign=PBDocs" target="_blank" data-code="f223" class="wppb-docs-link dashicons dashicons-editor-help" style="margin-left: 5px;"></a>';
50 - echo '</h2>';
51 -
52 65 if( isset ( $_GET['tab'] ) ) wppb_pbie_tabs( sanitize_text_field( $_GET['tab'] ) );
53 66 else wppb_pbie_tabs( 'import' );
54 67 ?>
55 68