Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DO NOT MERGE] Refactored with WordPress Coding Standard #2224

Open
wants to merge 1 commit into
base: trunk
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 4 additions & 1 deletion blocks/build/account-button/index.asset.php
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
<?php return array('dependencies' => array('react-jsx-runtime', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-i18n', 'wp-keycodes'), 'version' => 'dd42fbbaf3fc7df0ddff');
<?php return array(
'dependencies' => array( 'react-jsx-runtime', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-i18n', 'wp-keycodes' ),
'version' => 'dd42fbbaf3fc7df0ddff',
);
3 changes: 2 additions & 1 deletion blocks/build/account-button/render.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,5 @@
<?php include_once DIRECTORIST_BLOCK_TEMPLATE_PATH . '/account.php'; ?>
<div class="directorist-account-block-logout-mode"><?php echo $content; ?></div>

<?php endif;
<?php
endif;
5 changes: 4 additions & 1 deletion blocks/build/account-button/script.asset.php
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
<?php return array('dependencies' => array(), 'version' => '93f86b38a6ce0b51422d');
<?php return array(
'dependencies' => array(),
'version' => '93f86b38a6ce0b51422d',
);
5 changes: 4 additions & 1 deletion blocks/build/author-profile/index.asset.php
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
<?php return array('dependencies' => array('lodash', 'react-jsx-runtime', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-i18n', 'wp-server-side-render'), 'version' => 'd02582c13e8b63c4b6c4');
<?php return array(
'dependencies' => array( 'lodash', 'react-jsx-runtime', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-i18n', 'wp-server-side-render' ),
'version' => 'd02582c13e8b63c4b6c4',
);
5 changes: 4 additions & 1 deletion blocks/build/authors/index.asset.php
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
<?php return array('dependencies' => array('lodash', 'react-jsx-runtime', 'wp-block-editor', 'wp-blocks', 'wp-element', 'wp-i18n', 'wp-server-side-render'), 'version' => '64123f42355293acd6c8');
<?php return array(
'dependencies' => array( 'lodash', 'react-jsx-runtime', 'wp-block-editor', 'wp-blocks', 'wp-element', 'wp-i18n', 'wp-server-side-render' ),
'version' => '64123f42355293acd6c8',
);
5 changes: 4 additions & 1 deletion blocks/build/categories/index.asset.php
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
<?php return array('dependencies' => array('lodash', 'react-jsx-runtime', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keycodes', 'wp-primitives', 'wp-server-side-render'), 'version' => 'a222aa93019f853ebf1c');
<?php return array(
'dependencies' => array( 'lodash', 'react-jsx-runtime', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keycodes', 'wp-primitives', 'wp-server-side-render' ),
'version' => 'a222aa93019f853ebf1c',
);
5 changes: 4 additions & 1 deletion blocks/build/checkout/index.asset.php
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
<?php return array('dependencies' => array('lodash', 'react-jsx-runtime', 'wp-block-editor', 'wp-blocks', 'wp-i18n', 'wp-server-side-render'), 'version' => '3534b5470c02053ab185');
<?php return array(
'dependencies' => array( 'lodash', 'react-jsx-runtime', 'wp-block-editor', 'wp-blocks', 'wp-i18n', 'wp-server-side-render' ),
'version' => '3534b5470c02053ab185',
);
5 changes: 4 additions & 1 deletion blocks/build/dashboard/index.asset.php
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
<?php return array('dependencies' => array('lodash', 'react-jsx-runtime', 'wp-block-editor', 'wp-blocks', 'wp-i18n', 'wp-server-side-render'), 'version' => 'ed7973f11e0ee5305a06');
<?php return array(
'dependencies' => array( 'lodash', 'react-jsx-runtime', 'wp-block-editor', 'wp-blocks', 'wp-i18n', 'wp-server-side-render' ),
'version' => 'ed7973f11e0ee5305a06',
);
5 changes: 4 additions & 1 deletion blocks/build/listing-form/index.asset.php
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
<?php return array('dependencies' => array('lodash', 'react-jsx-runtime', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keycodes', 'wp-primitives', 'wp-server-side-render'), 'version' => '5de5e7492bcfa940ef4b');
<?php return array(
'dependencies' => array( 'lodash', 'react-jsx-runtime', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keycodes', 'wp-primitives', 'wp-server-side-render' ),
'version' => '5de5e7492bcfa940ef4b',
);
5 changes: 4 additions & 1 deletion blocks/build/listings/index.asset.php
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
<?php return array('dependencies' => array('lodash', 'react-jsx-runtime', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keycodes', 'wp-primitives', 'wp-server-side-render'), 'version' => 'cbdba0744d31f46daf5d');
<?php return array(
'dependencies' => array( 'lodash', 'react-jsx-runtime', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keycodes', 'wp-primitives', 'wp-server-side-render' ),
'version' => 'cbdba0744d31f46daf5d',
);
5 changes: 4 additions & 1 deletion blocks/build/locations/index.asset.php
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
<?php return array('dependencies' => array('lodash', 'react-jsx-runtime', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keycodes', 'wp-primitives', 'wp-server-side-render'), 'version' => '4fe812edfafb4751808a');
<?php return array(
'dependencies' => array( 'lodash', 'react-jsx-runtime', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keycodes', 'wp-primitives', 'wp-server-side-render' ),
'version' => '4fe812edfafb4751808a',
);
5 changes: 4 additions & 1 deletion blocks/build/payment-receipt/index.asset.php
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
<?php return array('dependencies' => array('lodash', 'react-jsx-runtime', 'wp-block-editor', 'wp-blocks', 'wp-i18n'), 'version' => '4e3ec001363d608cc6b5');
<?php return array(
'dependencies' => array( 'lodash', 'react-jsx-runtime', 'wp-block-editor', 'wp-blocks', 'wp-i18n' ),
'version' => '4e3ec001363d608cc6b5',
);
5 changes: 4 additions & 1 deletion blocks/build/registration/index.asset.php
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
<?php return array('dependencies' => array('lodash', 'react-jsx-runtime', 'wp-block-editor', 'wp-blocks', 'wp-i18n'), 'version' => '5ada7ca16ba1f2a105c4');
<?php return array(
'dependencies' => array( 'lodash', 'react-jsx-runtime', 'wp-block-editor', 'wp-blocks', 'wp-i18n' ),
'version' => '5ada7ca16ba1f2a105c4',
);
5 changes: 4 additions & 1 deletion blocks/build/search-form/index.asset.php
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
<?php return array('dependencies' => array('lodash', 'react-jsx-runtime', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keycodes', 'wp-primitives', 'wp-server-side-render'), 'version' => '810b7c87661d255d276b');
<?php return array(
'dependencies' => array( 'lodash', 'react-jsx-runtime', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keycodes', 'wp-primitives', 'wp-server-side-render' ),
'version' => '810b7c87661d255d276b',
);
5 changes: 4 additions & 1 deletion blocks/build/search-modal/index.asset.php
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
<?php return array('dependencies' => array('react-jsx-runtime', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-i18n', 'wp-keycodes'), 'version' => '374352cbd74ee31cea13');
<?php return array(
'dependencies' => array( 'react-jsx-runtime', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-i18n', 'wp-keycodes' ),
'version' => '374352cbd74ee31cea13',
);
14 changes: 7 additions & 7 deletions blocks/build/search-modal/render.php
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
<div class="directorist-search-popup-block">
<div class="directorist-search-popup-block__button">
<?php
<div class="directorist-search-popup-block__button">
<?php
if ( 'icon' === $attributes['styleDisplay'] ) {
directorist_icon( 'fa fa-search' );
} elseif ( 'text' === $attributes['styleDisplay'] ) {
directorist_icon( 'fa fa-search' );
echo $content;
} elseif ( 'icon_and_text' === $attributes['styleDisplay'] ) {
echo $content;
echo $content;
} elseif ( 'icon_and_text' === $attributes['styleDisplay'] ) {
echo $content;
}
?>
</div>
</div>

<?php include_once DIRECTORIST_BLOCK_TEMPLATE_PATH . '/popup.php'; ?>
<?php require_once DIRECTORIST_BLOCK_TEMPLATE_PATH . '/popup.php'; ?>
</div>
5 changes: 4 additions & 1 deletion blocks/build/search-modal/script.asset.php
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
<?php return array('dependencies' => array(), 'version' => 'b6da3778689ecffd1cd5');
<?php return array(
'dependencies' => array(),
'version' => 'b6da3778689ecffd1cd5',
);
5 changes: 4 additions & 1 deletion blocks/build/search-result/index.asset.php
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
<?php return array('dependencies' => array('lodash', 'react-jsx-runtime', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-i18n', 'wp-primitives', 'wp-server-side-render'), 'version' => 'a3762b315f712b932f0c');
<?php return array(
'dependencies' => array( 'lodash', 'react-jsx-runtime', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-i18n', 'wp-primitives', 'wp-server-side-render' ),
'version' => 'a3762b315f712b932f0c',
);
5 changes: 4 additions & 1 deletion blocks/build/signin-signup/index.asset.php
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
<?php return array('dependencies' => array('lodash', 'react-jsx-runtime', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-i18n', 'wp-server-side-render'), 'version' => '29760bdf91c3979b5ab1');
<?php return array(
'dependencies' => array( 'lodash', 'react-jsx-runtime', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-i18n', 'wp-server-side-render' ),
'version' => '29760bdf91c3979b5ab1',
);
5 changes: 4 additions & 1 deletion blocks/build/single-category/index.asset.php
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
<?php return array('dependencies' => array('lodash', 'react-jsx-runtime', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-i18n', 'wp-primitives', 'wp-server-side-render'), 'version' => 'fde5d815460869da1af1');
<?php return array(
'dependencies' => array( 'lodash', 'react-jsx-runtime', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-i18n', 'wp-primitives', 'wp-server-side-render' ),
'version' => 'fde5d815460869da1af1',
);
5 changes: 4 additions & 1 deletion blocks/build/single-listing/index.asset.php
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
<?php return array('dependencies' => array('lodash', 'react-jsx-runtime', 'wp-block-editor', 'wp-blocks', 'wp-i18n', 'wp-server-side-render'), 'version' => 'bc73354bbb1bd58c0813');
<?php return array(
'dependencies' => array( 'lodash', 'react-jsx-runtime', 'wp-block-editor', 'wp-blocks', 'wp-i18n', 'wp-server-side-render' ),
'version' => 'bc73354bbb1bd58c0813',
);
5 changes: 4 additions & 1 deletion blocks/build/single-location/index.asset.php
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
<?php return array('dependencies' => array('lodash', 'react-jsx-runtime', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-i18n', 'wp-primitives', 'wp-server-side-render'), 'version' => '30acc1c616e98b1dbf19');
<?php return array(
'dependencies' => array( 'lodash', 'react-jsx-runtime', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-i18n', 'wp-primitives', 'wp-server-side-render' ),
'version' => '30acc1c616e98b1dbf19',
);
5 changes: 4 additions & 1 deletion blocks/build/single-tag/index.asset.php
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
<?php return array('dependencies' => array('lodash', 'react-jsx-runtime', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-i18n', 'wp-primitives', 'wp-server-side-render'), 'version' => '2753fcee656dcf6ea92c');
<?php return array(
'dependencies' => array( 'lodash', 'react-jsx-runtime', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-i18n', 'wp-primitives', 'wp-server-side-render' ),
'version' => '2753fcee656dcf6ea92c',
);
5 changes: 4 additions & 1 deletion blocks/build/transaction-failure/index.asset.php
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
<?php return array('dependencies' => array('react-jsx-runtime', 'wp-block-editor', 'wp-blocks', 'wp-i18n'), 'version' => '6dccb32e78f873a8991a');
<?php return array(
'dependencies' => array( 'react-jsx-runtime', 'wp-block-editor', 'wp-blocks', 'wp-i18n' ),
'version' => '6dccb32e78f873a8991a',
);
14 changes: 7 additions & 7 deletions blocks/includes/class-block-templates-controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ public function add_block_templates( $query_result, $query, $template_type ) {
if (
array_filter(
$query_result,
static function( $query_result_template ) use ( $template_file ) {
static function ( $query_result_template ) use ( $template_file ) {
return $query_result_template->slug === $template_file->slug &&
$query_result_template->theme === $template_file->theme;
}
Expand Down Expand Up @@ -236,13 +236,13 @@ public function remove_theme_templates_with_custom_alternative( $templates ) {

// Get the slugs of all templates that have been customised and saved in the database.
$customised_template_slugs = array_map(
static function( $template ) {
static function ( $template ) {
return $template->slug;
},
array_values(
array_filter(
$templates,
static function( $template ) {
static function ( $template ) {
// This template has been customised and saved as a post.
return 'custom' === $template->source;
}
Expand All @@ -257,7 +257,7 @@ static function( $template ) {
return array_values(
array_filter(
$templates,
static function( $template ) use ( $customised_template_slugs ) {
static function ( $template ) use ( $customised_template_slugs ) {
// This template has been customised and saved as a post, so return it.
return ! ( 'theme' === $template->source && in_array( $template->slug, $customised_template_slugs, true ) );
}
Expand Down Expand Up @@ -291,11 +291,11 @@ public function get_block_templates_from_db( $slugs = array(), $template_type =
$check_query_args['post_name__in'] = $slugs;
}

$check_query = new \WP_Query( $check_query_args );
$check_query = new \WP_Query( $check_query_args );
$saved_directorist_templates = $check_query->posts;

return array_map(
static function( $saved_directorist_template ) {
static function ( $saved_directorist_template ) {
return Block_Template_Utils::gutenberg_build_template_result_from_post( $saved_directorist_template );
},
$saved_directorist_templates
Expand Down Expand Up @@ -421,4 +421,4 @@ public function render_block_template() {
}
}

new Block_Templates_Controller();
new Block_Templates_Controller();
38 changes: 19 additions & 19 deletions blocks/init.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@

// Check if the current theme is a block theme
if ( wp_is_block_theme() ) {
// Enable widgets support
add_theme_support( 'widgets' );
// Enable widgets support
add_theme_support( 'widgets' );
}

/**
Expand All @@ -44,13 +44,13 @@ function directorist_register_blocks() {

// wp_set_script_translations( 'directorist-block-editor', 'directorist' );

$styles = [
$styles = array(
'directorist-main-style',
'directorist-select2-style',
'directorist-ez-media-uploader-style',
'directorist-swiper-style',
'directorist-sweetalert-style'
];
'directorist-sweetalert-style',
);

if ( AssetHelper::map_type() === 'openstreet' ) {
$styles[] = 'directorist-openstreet-map-leaflet';
Expand Down Expand Up @@ -126,7 +126,7 @@ function directorist_register_block_category( $categories ) {
/**
* Single listing dynamic render callback.
*
* @param array $atts
* @param array $atts
* @param string $content
*
* @return string
Expand Down Expand Up @@ -158,7 +158,7 @@ function directorist_block_render_callback( $attributes, $content, $instance ) {
}

$attributes['is_block_editor'] = true;
$output = directorist_do_shortcode_callback( $shortcode, $attributes, $content );
$output = directorist_do_shortcode_callback( $shortcode, $attributes, $content );

if ( empty( $output ) && current_user_can( 'edit_posts' ) ) {
return sprintf(
Expand Down Expand Up @@ -195,7 +195,7 @@ function directorist_do_shortcode_callback( $tag, array $atts = array(), $conten
/**
* Enable rest api for all directorist taxonomies.
*
* @param array $args Taxonomy arguments
* @param array $args Taxonomy arguments
* @param string $name Taxonomy slug
*
* @return array Modified $args
Expand All @@ -212,7 +212,7 @@ function directorist_tax_show_in_rest( $args, $name ) {
/**
* Enable rest api for directorist post type.
*
* @param array $args Post type arguments
* @param array $args Post type arguments
* @param string $name Post type slug
*
* @return array Modified $args
Expand All @@ -229,16 +229,16 @@ function directorist_post_type_show_in_rest( $args, $name ) {
/**
* Disable gutenberg editor or block editor for our directory post type.
*
* @param bool $current_status
* @param bool $current_status
* @param string $post_type
*
* @return bool
*/
function directorist_disable_block_editor( $current_status, $post_type ) {
if ( $post_type === ATBDP_POST_TYPE ) {
if ( $post_type === ATBDP_POST_TYPE ) {
return false;
}
return $current_status;
return $current_status;
}
add_filter( 'use_block_editor_for_post_type', 'directorist_disable_block_editor', 10, 2 );

Expand All @@ -263,7 +263,7 @@ function directorist_add_single_listing_shortcode( $atts = array() ) {
}

return Helper::get_template_contents( 'single-contents' );
} catch( Exception $e ) {
} catch ( Exception $e ) {
if ( current_user_can( 'edit_posts' ) ) {
return '<p class="directorist-alert directorist-alert-info" style="text-align:center">' . $e->getMessage() . '</p>';
}
Expand All @@ -283,12 +283,12 @@ function directorist_account_block_avatar_image( $size = 40 ) {
$size,
null,
null,
[
'class' => 'rounded-circle'
]
array(
'class' => 'rounded-circle',
)
);
} else {
echo sprintf(
printf(
'<img width="%1$s" src="%2$s" alt="%2$s" class="avatar rounded-circle"/>',
$size,
esc_url( $image_url ),
Expand All @@ -305,8 +305,8 @@ function directorist_register_blocks_common_assets() {

wp_enqueue_style(
'directorist-blocks-common',
plugin_dir_url( __FILE__ ) . 'assets/index' . ( is_rtl() ? '-rtl.css' : '.css' ),
[],
plugin_dir_url( __FILE__ ) . 'assets/index' . ( is_rtl() ? '-rtl.css' : '.css' ),
array(),
isset( $asset['version'] ) ?? ATBDP_VERSION
);
}
Expand Down
3 changes: 2 additions & 1 deletion blocks/src/account-button/render.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,5 @@
<?php include_once DIRECTORIST_BLOCK_TEMPLATE_PATH . '/account.php'; ?>
<div class="directorist-account-block-logout-mode"><?php echo $content; ?></div>

<?php endif;
<?php
endif;
14 changes: 7 additions & 7 deletions blocks/src/search-modal/render.php
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
<div class="directorist-search-popup-block">
<div class="directorist-search-popup-block__button">
<?php
<div class="directorist-search-popup-block__button">
<?php
if ( 'icon' === $attributes['styleDisplay'] ) {
directorist_icon( 'fa fa-search' );
} elseif ( 'text' === $attributes['styleDisplay'] ) {
directorist_icon( 'fa fa-search' );
echo $content;
} elseif ( 'icon_and_text' === $attributes['styleDisplay'] ) {
echo $content;
echo $content;
} elseif ( 'icon_and_text' === $attributes['styleDisplay'] ) {
echo $content;
}
?>
</div>
</div>

<?php include_once DIRECTORIST_BLOCK_TEMPLATE_PATH . '/popup.php'; ?>
<?php require_once DIRECTORIST_BLOCK_TEMPLATE_PATH . '/popup.php'; ?>
</div>
Loading