first commit

This commit is contained in:
2024-07-15 11:28:08 +02:00
commit f52d538ea5
21891 changed files with 6161164 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
<?php
/**
* Action box template
*/
?>
<div class="pricing-table__action">
<?php $this->__html( 'button_before', '<div class="pricing-table__action-before">%s</div>' ); ?>
<?php $this->__glob_inc_if( 'button', array( 'button_url', 'button_text' ) ); ?>
<?php $this->__html( 'button_after', '<div class="pricing-table__action-after">%s</div>' ); ?>
</div>

View File

@@ -0,0 +1,6 @@
<?php
/**
* Featured badge template
*/
echo $this->__get_badge_image();

View File

@@ -0,0 +1,44 @@
<?php
/**
* Pricing table action button
*/
$settings = $this->get_settings_for_display();
$button_size = ! empty( $settings['button_size'] ) ? $settings['button_size'] : 'auto';
$this->add_render_attribute( 'button', array(
'class' => array(
'elementor-button',
'elementor-size-md',
'pricing-table-button',
'button-' . $button_size . '-size',
),
'href' => $settings['button_url'],
) );
if ( isset( $settings['button_is_external'] ) && filter_var( $settings['button_is_external'], FILTER_VALIDATE_BOOLEAN ) ) {
$this->add_render_attribute( 'button', 'target', '_blank' );
}
if ( isset( $settings['button_nofollow'] ) && filter_var( $settings['button_nofollow'], FILTER_VALIDATE_BOOLEAN ) ) {
$this->add_render_attribute( 'button', 'rel', 'nofollow' );
}
?>
<a <?php echo $this->get_render_attribute_string( 'button' ); ?>><?php
$position = $settings['button_icon_position'];
$icon = $settings['add_button_icon'];
if ( $icon && 'left' === $position ) {
echo $this->__icon( 'button_icon', '<span class="jet-elements-icon button-icon">%s</span>' );
}
echo $this->__html( 'button_text' );
if ( $icon && 'right' === $position ) {
echo $this->__icon( 'button_icon', '<span class="jet-elements-icon button-icon">%s</span>' );
}
?></a>

View File

@@ -0,0 +1,6 @@
<?php
/**
* Features list end template
*/
?>
</div>

View File

@@ -0,0 +1,15 @@
<?php
/**
* Features list item template
*/
$classes = 'pricing-feature-' . $this->__loop_item( array( '_id' ) );
$classes .= ' ' . $this->__loop_item( array( 'item_included' ) );
?>
<div class="pricing-feature <?php echo $classes; ?>">
<div class="pricing-feature__inner"><?php
echo $this->__pricing_feature_icon();
printf( '<span class="pricing-feature__text">%s</span>', $this->__loop_item( array( 'item_text' ) ) );
?></div>
</div>

View File

@@ -0,0 +1,6 @@
<?php
/**
* Features list start template
*/
?>
<div class="pricing-table__features">

View File

@@ -0,0 +1,10 @@
<?php
/**
* Pricing table heading template
*/
?>
<div class="pricing-table__heading">
<?php $this->__icon( 'icon', '<div class="pricing-table__icon"><div class="pricing-table__icon-box"><span class="jet-elements-icon">%s</span></div></div>' ); ?>
<?php $this->__html( 'title', '<h2 class="pricing-table__title">%s</h2>' ); ?>
<?php $this->__html( 'subtitle', '<h4 class="pricing-table__subtitle">%s</h4>' ); ?>
</div>

View File

@@ -0,0 +1,12 @@
<?php
/**
* Pricing table main template
*/
?>
<div class="pricing-table <?php $this->__html( 'featured', 'featured-table' ); ?>">
<?php $this->__glob_inc_if( 'heading', array( 'icon', 'title', 'subtitle' ) ); ?>
<?php $this->__glob_inc_if( 'price', array( 'price_prefix', 'price', 'price_suffix' ) ); ?>
<?php $this->__get_global_looped_template( 'features', 'features_list' ); ?>
<?php $this->__glob_inc_if( 'action', array( 'button_before', 'button_url', 'button_text', 'button_after' ) ); ?>
<?php $this->__glob_inc_if( 'badge', array( 'featured' ) ); ?>
</div>

View File

@@ -0,0 +1,11 @@
<?php
/**
* Pricing table price block template
*/
?>
<div class="pricing-table__price"><?php
$this->__html( 'price_prefix', '<span class="pricing-table__price-prefix">%s</span>' );
$this->__html( 'price', '<span class="pricing-table__price-val">%s</span>' );
$this->__html( 'price_suffix', '<span class="pricing-table__price-suffix">%s</span>' );
$this->__html( 'price_desc', '<p class="pricing-table__price-desc">%s</p>' );
?></div>