Initial commit: Atomaste website

This commit is contained in:
2025-12-10 12:17:30 -05:00
commit 0b9e5d1605
19260 changed files with 5206382 additions and 0 deletions

View File

@@ -0,0 +1,70 @@
<?php
/**
* Render a connection.
*
* @since 1.9.3
*
* @var string $slug Provider slug.
*/
// Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
?>
<div class="wpforms-builder-provider-connection" data-connection_id="{{ data.connection.id }}">
<input type="hidden" class="wpforms-builder-provider-connection-id"
name="providers[{{ data.provider }}][{{ data.connection.id }}][id]"
value="{{ data.connection.id }}">
<div class="wpforms-builder-provider-connection-title">
{{ data.connection.name }}
<button class="wpforms-builder-provider-connection-delete js-wpforms-builder-provider-connection-delete" type="button">
<i class="fa fa-trash-o"></i>
</button>
<input type="hidden"
id="wpforms-builder-constant-contact-v3-provider-{{ data.connection.id }}-name"
name="providers[{{ data.provider }}][{{ data.connection.id }}][name]"
value="{{ data.connection.name }}">
</div>
<div class="wpforms-builder-provider-connection-block wpforms-builder-constant-contact-v3-provider-accounts">
<h4><?php esc_html_e( 'Select Account', 'wpforms-lite' ); ?><span class="required">*</span></h4>
<select class="js-wpforms-builder-constant-contact-v3-provider-connection-account wpforms-required" name="providers[{{ data.provider }}][{{ data.connection.id }}][account_id]"<# if ( _.isEmpty( data.accounts ) ) { #> disabled<# } #>>
<option value="" selected disabled>--- <?php esc_html_e( 'Select Account', 'wpforms-lite' ); ?> ---</option>
<# _.each( data.accounts, function( account, account_id ) { #>
<option value="{{ account_id }}" data-option_id="{{ account['option_id'] }}"
<# if ( account_id === data.connection.account_id ) { #> selected<# } #>>
{{ account.label }}
</option>
<# } ); #>
</select>
</div>
<div class="wpforms-builder-provider-connection-block wpforms-builder-constant-contact-v3-provider-actions">
<h4><?php esc_html_e( 'Action To Perform', 'wpforms-lite' ); ?><span class="required">*</span></h4>
<select class="js-wpforms-builder-constant-contact-v3-provider-connection-action wpforms-required"
id="wpforms-builder-constant-contact-v3-provider-{{ data.connection.id }}-action"
<# if ( _.isEmpty( data.connection.account_id ) ) { #>disabled<# } #>
name="providers[<?php echo esc_attr( $slug ); ?>][{{ data.connection.id }}][action]">
<option value=""<# if ( _.isEmpty( data.connection.action ) ) { #> selected disabled<# } #>>
<?php esc_html_e( '--- Select Action ---', 'wpforms-lite' ); ?>
</option>
<# _.each( data.actions, function( label, name ) { #>
<option value="{{ name }}"<# if ( name === data.connection.action ) { #> selected<# } #>>
{{ label }}
</option>
<# } ); #>
</select>
</div>
<!-- Here is where sub-templates will put its compiled HTML. -->
<div class="wpforms-builder-constant-contact-v3-provider-actions-data" style="margin-bottom: 20px;"></div>
{{{ data.conditional }}}
</div>

View File

@@ -0,0 +1,12 @@
<?php
// Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
?>
<div class="wpforms-builder-provider-connections-error wpforms-hidden">
<span class="wpforms-builder-provider-connections-error-message">
<?php esc_html_e( 'Something went wrong while performing an AJAX request.', 'wpforms-lite' ); ?>
</span>
</div>

View File

@@ -0,0 +1,27 @@
<?php
// Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
?>
<div class="wpforms-builder-provider-connection-block">
<h4>{{ data.field.label }}<# if ( data.field.required ) { #><span class="required">*</span><# } #></h4>
<select
class="wpforms-builder-constant-contact-v3-provider-connection-{{data.name}} <# if ( data.field.map ) { #> wpforms-field-map-select<# } #><# if ( data.field.required ) { #> wpforms-required<# } #>"
name="providers[{{ data.provider.slug }}][{{ data.connection.id }}][{{ data.name }}]"
<# if ( data.field.map ) { #>
data-field-map-allowed="{{ data.field.map }}"
data-field-map-placeholder="<?php esc_html_e( '--- Select Form Field ---', 'wpforms-lite' ); ?>"
<# } #>
>
<# fieldValue = data.connection[data.name] ?? ''; #>
<option value="">{{ data.field.placeholder }}</option>
<# _.each( data.options, function( option, key ) {
selected = fieldValue.toString() === option.id.toString(); #>
<option value="{{ option.id }}" <# if ( selected ) { #> selected<# } #> >
{{ option.label }}
</option>
<# } ) #>
</select>
</div>

View File

@@ -0,0 +1,25 @@
<?php
/**
* Forms selector for Elementor page builder.
*
* @since 1.6.2
*
* @var string $forms Rendered <option>s for the select tag.
*/
if ( ! \defined( 'ABSPATH' ) ) {
exit;
}
?>
<div class="wpforms-elementor wpforms-elementor-form-selector">
<img src="<?php echo esc_url( WPFORMS_PLUGIN_URL . 'assets/images/wpforms-logo.svg' ); ?>" alt="WPForms Logo"/>
<div class="select-wrapper">
<select>
<?php echo $forms; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
</select>
</div>
</div>

View File

@@ -0,0 +1,47 @@
<?php
/**
* No forms template.
*
* @since 1.6.2
*/
if ( ! \defined( 'ABSPATH' ) ) {
exit;
}
?>
<div class="wpforms-admin-empty-state-container wpforms-elementor-no-forms">
<img src="<?php echo esc_url( WPFORMS_PLUGIN_URL . 'assets/images/empty-states/no-form-elementor.svg' ); ?>" alt=""/>
<p>
<?php
echo wp_kses(
__( 'You can use <b>WPForms</b> to build contact forms, surveys, payment forms, and more with just a few clicks.', 'wpforms-lite' ),
[ 'b' => [] ]
);
?>
</p>
<button type="button" class="wpforms-btn"><?php esc_html_e( 'Get Started', 'wpforms-lite' ); ?></button>
<p class="wpforms-admin-no-forms-footer">
<?php
printf(
wp_kses( /* translators: %s - URL to the documentation article. */
__( 'Need some help? Check out our <a href="%s" class="wpforms-comprehensive-link" target="_blank" rel="noopener noreferrer">comprehensive guide</a>.', 'wpforms-lite' ),
[
'a' => [
'href' => [],
'target' => [],
'rel' => [],
'class' => [],
],
]
),
'https://wpforms.com/docs/creating-first-form/'
);
?>
</p>
</div>

View File

@@ -0,0 +1,16 @@
<?php
/**
* Forms builder popup inside Elementor page builder.
*
* @since 1.6.2
*/
if ( ! \defined( 'ABSPATH' ) ) {
exit;
}
?>
<script type="text/html" id="tmpl-wpforms-builder-elementor-popup">
<div id="wpforms-builder-elementor-popup" class="wpforms-builder-popup" style="display:none;">
<iframe src="about:blank" width="100%" height="100%" id="wpforms-builder-iframe"></iframe>
</div>
</script>

View File

@@ -0,0 +1,107 @@
<?php
/**
* WPCode integration code snippets page.
*
* @since 1.8.5
*
* @var array $snippets WPCode snippets list.
* @var bool $action_required Indicate that user should install or activate WPCode.
* @var string $action Popup button action.
* @var string $plugin WPCode Lite download URL | WPCode Lite plugin slug.
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
?>
<?php
$container_class = $action_required ? 'wpforms-wpcode-blur' : '';
$popup_title = esc_html__( 'Please Install WPCode to Use the WPForms Snippet Library', 'wpforms-lite' );
$popup_button_text = esc_html__( 'Install + Activate WPCode', 'wpforms-lite' );
if ( $action === 'update' ) {
$popup_title = esc_html__( 'Please Update WPCode to Use the WPForms Snippet Library', 'wpforms-lite' );
$popup_button_text = esc_html__( 'Update + Activate WPCode', 'wpforms-lite' );
}
if ( $action === 'activate' ) {
$popup_title = esc_html__( 'Please Activate WPCode to Use the WPForms Snippet Library', 'wpforms-lite' );
$popup_button_text = esc_html__( 'Activate WPCode', 'wpforms-lite' );
}
?>
<div class="wpforms-wpcode">
<?php if ( $action_required ) : ?>
<div class="wpforms-wpcode-popup">
<div class="wpforms-wpcode-popup-title"><?php echo esc_html( $popup_title ); ?></div>
<div class="wpforms-wpcode-popup-description">
<?php esc_html_e( 'Using WPCode, you can install WPForms code snippets with 1 click right from this page or the WPCode Library in the WordPress admin.', 'wpforms-lite' ); ?>
</div>
<div data-action="<?php echo esc_attr( $action ); ?>" data-plugin="<?php echo esc_attr( $plugin ); ?>" class="wpforms-wpcode-popup-button wpforms-btn wpforms-btn-lg wpforms-btn-orange"><?php echo esc_html( $popup_button_text ); ?></div>
<a
href="https://wordpress.org/plugins/insert-headers-and-footers/?utm_source=wpformsplugin&utm_medium=WPCode+WordPress+Repo&utm_campaign=plugin&utm_content=WPCode"
class="wpforms-wpcode-popup-link">
<?php esc_html_e( 'Learn more about WPCode', 'wpforms-lite' ); ?>
</a>
</div>
<?php endif; ?>
<div class="wpforms-wpcode-container <?php echo sanitize_html_class( $container_class ); ?>">
<div class="wpforms-setting-row tools wpforms-wpcode-header">
<div class="wpforms-wpcode-header-meta">
<h4><?php esc_html_e( 'Code Snippets', 'wpforms-lite' ); ?></h4>
<p>
<?php
printf(
wp_kses( /* translators: %s - WPCode library website URL. */
__( 'Using WPCode, you can install WPForms code snippets with 1 click directly from this page or the <a href="%s" target="_blank" rel="noopener noreferrer">WPCode library</a>.', 'wpforms-lite' ),
[
'a' => [
'href' => [],
'rel' => [],
'target' => [],
],
]
),
esc_url( admin_url( 'admin.php?page=wpcode-library' ) )
);
?>
</p>
</div>
<div class="wpforms-wpcode-header-search">
<label for="wpforms-wpcode-snippet-search"></label>
<input
type="search" placeholder="<?php esc_attr_e( 'Search Snippets', 'wpforms-lite' ); ?>"
id="wpforms-wpcode-snippet-search">
</div>
</div>
<div id="wpforms-wpcode-snippets-list">
<div class="list">
<?php
foreach ( $snippets as $snippet ) :
$button_text = $snippet['installed'] ? __( 'Edit Snippet', 'wpforms-lite' ) : __( 'Install Snippet', 'wpforms-lite' );
$button_type_class = $snippet['installed'] ? 'button-primary' : 'button-secondary';
$button_action = $snippet['installed'] ? 'edit' : 'install';
$badge_text = $snippet['installed'] ? __( 'Installed', 'wpforms-lite' ) : '';
?>
<div class="wpforms-wpcode-snippet">
<div class="wpforms-wpcode-snippet-header">
<h3 class="wpforms-wpcode-snippet-title"><?php echo esc_html( $snippet['title'] ); ?></h3>
<div class="wpforms-wpcode-snippet-note"><?php echo esc_html( $snippet['note'] ); ?></div>
</div>
<div class="wpforms-wpcode-snippet-footer">
<div class="wpforms-wpcode-snippet-badge"><?php echo esc_html( $badge_text ); ?></div>
<a
href="<?php echo esc_url( $snippet['install'] ); ?>"
class="button wpforms-wpcode-snippet-button <?php echo sanitize_html_class( $button_type_class ); ?>"
data-action="<?php echo esc_attr( $button_action ); ?>"><?php echo esc_html( $button_text ); ?> </a>
</div>
</div>
<?php endforeach; ?>
</div>
<div id="wpforms-wpcode-no-results"><?php esc_html_e( "Sorry, we didn't find any snippets that match your criteria.", 'wpforms-lite' ); ?></div>
</div>
</div>
</div>