Commit inicial - WordPress Análisis de Precios Unitarios

- WordPress core y plugins
- Tema Twenty Twenty-Four configurado
- Plugin allow-unfiltered-html.php simplificado
- .gitignore configurado para excluir wp-config.php y uploads

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
root
2025-11-03 21:04:30 -06:00
commit a22573bf0b
24068 changed files with 4993111 additions and 0 deletions

View File

@@ -0,0 +1,35 @@
<?php
?>
<fieldset class="bwfan-tab-content bwfan-activeTab" setting-id="tab-birthday">
<div class="form-group field-input">
<label><?php esc_html_e( 'Show birthday field on checkout', 'wp-marketing-automations-pro' ); ?></label>
<div class="field-wrap">
<div class="wrapper">
<input class="bwfan_enable_birthday_checkout" name="bwfan_enable_birthday_checkout" type="checkbox" value="1" <?php echo empty( $global_settings['bwfan_enable_birthday_checkout'] ) ? '' : 'checked'; ?> />
<span class=""><?php esc_html_e( 'Enable birthday field to be shown on checkout page.', 'wp-marketing-automations-pro' ); ?></span>
</div>
</div>
</div>
<div class="form-group field-input">
<label><?php esc_html_e( 'Field Description', 'wp-marketing-automations-pro' ); ?></label>
<div class="field-wrap">
<div class="wrapper">
<input type="text" name="bwfan_birthday_field_desc" value="<?php echo empty( $global_settings['bwfan_birthday_field_desc'] ) ? '' : $global_settings['bwfan_birthday_field_desc']; //phpcs:ignore WordPress.Security.EscapeOutput ?>"/>
<span class=""><?php esc_html_e( 'This description will be shown with the birthday field.', 'auutonami-automations-pro' ); ?></span>
</div>
</div>
</div>
<div class="form-group field-input">
<label><?php esc_html_e( 'Checkout Field Placement', 'wp-marketing-automations-pro' ); ?></label>
<div class="field-wrap">
<div class="wrapper">
<select name="bwfan_birthday_field_position">
<?php $selected_position = isset( $global_settings['bwfan_birthday_field_position'] ) && ! empty( $global_settings['bwfan_birthday_field_position'] ) ? $global_settings['bwfan_birthday_field_position'] : ''; ?>
<option value="after_order_notes" <?php echo $selected_position === "after_order_notes" ? 'selected' : ''; ?> >After Order Notes</option>
<option value="before_order_notes" <?php echo $selected_position === "before_order_notes" ? 'selected' : ''; ?> >Before Order Notes</option>
<option value="after_billing_details" <?php echo $selected_position === "after_billing_details" ? 'selected' : ''; ?> >After Billing Details</option>
</select>
</div>
</div>
</div>
</fieldset>

View File

@@ -0,0 +1,32 @@
<?php
$license = BWFAN_Common::get_pro_license();
$token = get_option( 'bwfan_u_key', 0 );
$site_url = urlencode( home_url() );
$automation_id = sanitize_key( $_GET['edit'] );
$iframe_src = "//app.getautonami.com/get/$license/$token/$site_url/crm.automation.$automation_id";
/** Remove extra slashes */
$iframe_src = preg_replace('/([^:])(\/{2,})/', '$1/', $iframe_src);
?>
<div class="bwf-c-editor-modal-wrapper" id="bwf-modal-editor">
<div class="bwf-c-editor-modal bwf-c-editor-modal-full-width" id="bwf-modal-editor-inner">
</div>
</div>
<div class="bwfan_izimodal_default" style="display: none" id="modal-autonami-product-tool">
<div class="bwfan-search-filter-modal-wrap">
<div class="bwfan-modal-header bwfan_p15">
<div class="modal-header-title bwfan_heading_l bwfan_head_mr"><?php esc_html_e( 'Select a Product', 'wp-marketing-automations-pro' ) ?></div>
<div class="modal-header-search" id="bwf-c-product-tool-search">
<span class="dashicons dashicons-search modal-search-icon"></span>
<input type="search" id="modal-search-action-field" placeholder="<?php esc_html_e( 'Search Product', 'wp-marketing-automations-pro' ) ?>">
</div>
<span class="dashicons dashicons-no-alt bwfan_btn_close bwfan_modal_close" data-izimodal-close></span>
</div>
<div class="bwfan-modal-content">
<div class="bwfan-modal-content-content bwfan_p15" id="modal-autonami-product-tool-content">
</div>
</div>
</div>
</div>

View File

@@ -0,0 +1,11 @@
<#
is_enable_dragdrop = ('editor' === selected_template) ? '' : 'bwfan-display-none';
editor = !!data.actionSavedData && !!data.actionSavedData.data && !!data.actionSavedData.data.editor ? data.actionSavedData.data.editor : {};
body = !!editor.body ? editor.body : '';
design = !!editor.design ? editor.design : '';
#>
<div class="bwfan-email-editor bwfan-col-sm-12 bwfan-pl-0 bwfan-pr-0 bwfan-mb-15 {{is_enable_dragdrop}}">
<button class="button bwfan-button primary" id="bwf-launch-editor-modal"><?php esc_html_e( 'Launch Editor', 'wp-marketing-automations-pro' ) ?></button>
<input name="bwfan[{{data.action_id}}][data][editor][body]" type="hidden" value="{{body}}" id="bwfan-editor-body"/>
<input name="bwfan[{{data.action_id}}][data][editor][design]" type="hidden" value="{{design}}" id="bwfan-editor-design"/>
</div>

View File

@@ -0,0 +1,2 @@
<?php
// Silence is golden.

View File

@@ -0,0 +1,45 @@
<?php
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
/**
* @var $event BWFAN_Wp_Sendemail
*/
?>
<div class="bwfan_email_tracking bwfan-mb-15">
<label for="bwfan_append_utm">
<input type="checkbox" name="bwfan[{{data.action_id}}][data][append_utm]" id="bwfan_append_utm" value="1" {{is_append_utm}}/>
<?php
echo esc_html__( 'Add UTM parameters to the links', 'wp-marketing-automations-pro' );
$message = __( 'Add UTM parameters in all the links present in the email.', 'wp-marketing-automations-pro' );
echo $event->add_description( $message, 'xl' ); //phpcs:ignore WordPress.Security.EscapeOutput
?>
</label>
<div class="bwfan_utm_sources {{show_utm_parameters}}">
<div class="bwfan-input-form clearfix">
<div class="bwfan-col-sm-4 bwfan-pl-0"><span class="bwfan_label_input"><?php echo esc_html__( 'UTM Source', 'wp-marketing-automations-pro' ); ?></span></div>
<div class="bwfan-col-sm-8 bwfan-pr-0">
<input type="text" class="bwfan-input-wrapper" name="bwfan[{{data.action_id}}][data][utm_source]" value="{{entered_utm_source}}" id="bwfan_utm_source"/>
</div>
</div>
<div class="bwfan-input-form clearfix">
<div class="bwfan-col-sm-4 bwfan-pl-0"><span class="bwfan_label_input"><?php echo esc_html__( 'UTM Medium', 'wp-marketing-automations-pro' ); ?></span></div>
<div class="bwfan-col-sm-8 bwfan-pr-0">
<input type="text" class="bwfan-input-wrapper" name="bwfan[{{data.action_id}}][data][utm_medium]" value="{{entered_utm_medium}}" id="bwfan_utm_medium"/>
</div>
</div>
<div class="bwfan-input-form clearfix">
<div class="bwfan-col-sm-4 bwfan-pl-0"><span class="bwfan_label_input"><?php echo esc_html__( 'UTM Campaign', 'wp-marketing-automations-pro' ); ?></span></div>
<div class="bwfan-col-sm-8 bwfan-pr-0">
<input type="text" class="bwfan-input-wrapper" name="bwfan[{{data.action_id}}][data][utm_campaign]" value="{{entered_utm_campaign}}" id="bwfan_utm_campaign"/>
</div>
</div>
<div class="bwfan-input-form clearfix">
<div class="bwfan-col-sm-4 bwfan-pl-0"><span class="bwfan_label_input"><?php echo esc_html__( 'UTM Term', 'wp-marketing-automations-pro' ); ?></span></div>
<div class="bwfan-col-sm-8 bwfan-pr-0">
<input type="text" class="bwfan-input-wrapper" name="bwfan[{{data.action_id}}][data][utm_term]" value="{{entered_utm_term}}" id="bwfan_utm_term"/>
</div>
</div>
</div>
</div>