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,19 @@
<div class="tve-custom-proprieties-container tve-api-option-group tve-api-option-group-list" <?php echo ! isset( $data['type'] ) || $data['type'] == 'list' ? '' : 'style="display: none;"'; ?>>
<div class="tve-sp"></div>
<p class="tl-mock-paragraph"><?php echo esc_html__( 'Choose the type of optin you would like for the Drip integration. When choosing single opt-in the confirmation message should be disabled for the list on your GetDrip Account', 'thrive-dash' ) ?></p>
<div class="tvd-row tvd-collapse">
<div class="tvd-col tvd-s4">
<div class="tve_lightbox_select_holder tve_lightbox_input_inline tve_lightbox_select_inline tvd-input-field">
<label for="tve-api-extra" class="tve-custom-select">
<select class="tve-api-extra tl-api-connection-list" name="drip_optin">
<option value="s" <?php echo $data['optin'] === 's' ? ' selected="selected"' : '' ?>><?php echo esc_html__( 'Single optin', 'thrive-dash' ) ?></option>
<option value="d" <?php echo $data['optin'] === 'd' ? ' selected="selected"' : '' ?>><?php echo esc_html__( 'Double optin', 'thrive-dash' ) ?></option>
</select>
</label>
</div>
</div>
</div>
<br>
<p><?php echo esc_html__( '(Double optin means your subscribers will need to confirm their email address before being added to your list).', 'thrive-dash' ) ?></p>
</div>
</div>

View File

@@ -0,0 +1,79 @@
<div class="tve-custom-proprieties-container tve-api-option-group tve-api-option-group-automation" <?php echo ! isset( $data['type'] ) || $data['type'] == 'list' ? 'style="display: none;"' : ''; ?>>
<div class="tve-sp"></div>
<h6><?php echo esc_html__( 'Choose the proprieties you would like to attach to the call. You can only use underscores and dashes in the custom field input.', 'thrive-dash' ) ?></h6>
<div class="tve-custom-fields-container">
<div class="tvd-row tvd-collapse tve-custom-fields">
<?php
$proprieties = isset( $data['proprieties'] ) ? $data['proprieties'] : array();
reset( $proprieties );
$first_key = key( $proprieties );
?>
<div class="tvd-col tvd-s6">
<div class="tvd-input-field">
<p><?php echo esc_html__( 'Custom Field', 'thrive-dash' ) ?></p>
<input type="text"
class="drip-custom-field tve_disabled tve_lightbox_input tve_lightbox_input_inline tve_change"
name="drip_field" data-ctrl="auto_responder.api.change_input_name"
value="<?php echo ! empty( $first_key ) ? esc_attr( $first_key ) : 'thrive_custom_field' ?>"/>
</div>
</div>
<div class="tvd-col tvd-s6">
<div class="tvd-input-field">
<p><?php echo esc_html__( 'Custom Field Value', 'thrive-dash' ) ?></p>
<input type="text"
class="drip-custom-field-value tve-api-extra tve_lightbox_input tve_lightbox_input_inline"
name="drip_field[<?php echo ! empty( $first_key ) ? esc_attr( $first_key ) : 'thrive_custom_field' ?>]"
value="<?php echo ! empty( $proprieties[ $first_key ] ) ? esc_attr( $proprieties[ $first_key ] ) : 'Custom Field Value' ?>"
/>
</div>
</div>
</div>
<?php if ( ! empty( $proprieties ) && count( $proprieties ) > 1 ) : ?>
<?php array_shift( $proprieties ); ?>
<?php foreach ( $proprieties as $field => $field_value ) : ?>
<div class="tvd-row tvd-collapse tve-custom-fields">
<div class="tvd-col tvd-s6">
<div class="tvd-input-field">
<p><?php echo esc_html__( 'Custom Field', 'thrive-dash' ) ?></p>
<input type="text"
class="drip-custom-field tve-api-extra-excluded tve_lightbox_input tve_lightbox_input_inline tve_change"
name="drip_field" data-ctrl="auto_responder.api.change_input_name"
value="<?php echo esc_attr( $field ); ?>"
/>
</div>
</div>
<div class="tvd-col tvd-s6">
<div class="tvd-input-field">
<p><?php echo esc_html__( 'Custom Field Value', 'thrive-dash' ) ?></p>
<input type="text"
class="drip-custom-field-value tve-api-extra tve_lightbox_input tve_lightbox_input_inline"
name="drip_field[<?php echo esc_attr( $field ) ?>]"
value="<?php echo esc_attr( $field_value ); ?>"
/>
</div>
</div>
<div class="tvd-col tvd-s6">
<a href="javascript:void(0)" data-ctrl="auto_responder.api.remove_field"
class="tve_click tve_lightbox_link tve_lightbox_link_remove"><?php echo esc_html__( 'Remove', 'thrive-dash' ) ?></a>
</div>
</div>
<?php endforeach; ?>
<?php endif; ?>
</div>
<div class="tvd-row tvd-collapse">
<div class="tvd-col tvd-s2">
<a href="javascript:void(0)" data-ctrl="auto_responder.api.add_new_field" class="tve_click tve_lightbox_link tve_lightbox_link_create">
<?php echo esc_html__( 'Add a new custom field', 'thrive-dash' ) ?>
</a>
</div>
</div>
</div>

View File

@@ -0,0 +1,18 @@
<div class="tve-sp"></div>
<h6><?php echo esc_html__( 'Choose the type of Drip integration you would like to use', 'thrive-dash' ) ?></h6>
<div class="tvd-row tvd-collapse">
<div class="tvd-col tvd-s4">
<?php ?>
<div class="tve_lightbox_select_holder tve_lightbox_input_inline tve_lightbox_select_inline tvd-input-field">
<label for="tve-api-extra" class="tve-custom-select">
<select class="tve-api-extra tl-api-connection-list tve_change" name="drip_type" data-ctrl="auto_responder.api.change_integration_type">
<option value="list" <?php isset( $data['type'] ) ? selected( $data['type'], 'list' ) : ''; ?>><?php echo esc_html__( 'Mailing List', 'thrive-dash' ) ?></option>
<option value="automation" <?php isset( $data['type'] ) ? selected( $data['type'], 'automation' ) : ''; ?>><?php echo esc_html__( 'Drip Automation', 'thrive-dash' ) ?></option>
</select>
</label>
</div>
</div>
</div>
<br>
<p><?php echo esc_html__( '(You can select from having a Mailing List integration or use Drip Automation services which allow you to create actions from events with custom proprieties sent trough the API)', 'thrive-dash' ) ?></p>