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,5 @@
<div class="a-title tcb-truncate"><#=label#></div><br>
<div class="a-grey grey-text tcb-truncate"><#=animation#></div><br>
<# if (edit_url) { #>
<a href="<#=edit_url#>" target="_blank"><?php echo __( 'Edit this lightbox', 'thrive-cb' ) ?></a>
<# } #>

View File

@@ -0,0 +1,36 @@
<span class="subtitle"><?php echo __( 'Thrive Lightbox Settings', 'thrive-cb' ) ?></span>
<# if ( this.get().length ) { #>
<div class="control-grid full-width">
<label for="evt-lightbox"><?php echo __( 'Select the Thrive Lightbox to be displayed', 'thrive-cb' ) ?></label>
<select id="evt-lightbox" class="change" data-fn="lightbox_change">
<# _.each( this.get(), function( lb ) { #>
<option value="<#=lb.id#>"<#=this.model.config && this.model.config.l_id == lb.id ? ' selected="selected"' : '' #>><#=lb.title#></option>
<# }, this ) #>
</select>
</div>
<div class="tcb-text-right lightbox-add tve-add-tag clearfix">
<a href="javascript:void(0)" class="click tcb-right" data-fn="create_lightbox_toggle"><span class="circle mr-5">+</span><?php echo __( 'Create new lightbox', 'thrive-cb' ) ?></a>
<div class="form-create-lb tcb-right control-grid" style="display: none;">
<input type="text" placeholder="<?php echo __( 'Lightbox title', 'thrive-cb' ) ?>" class="create-lb keyup-enter mr-10" data-fn="create_lightbox">
<button type="button" class="tcb-right tve-button small click" data-fn="create_lightbox"><?php tcb_icon( 'check-regular' ); ?></button>
</div>
</div>
<div class="control-grid full-width">
<label for="evt-animation"><?php echo __( 'Lightbox animation', 'thrive-cb' ) ?></label>
<select id="evt-animation" class="change" data-fn="animation_change">
<?php foreach (TCB_Thrive_Lightbox::animations() as $key => $label ) : ?>
<option value="<?php echo $key ?>"<#=this.model.config && this.model.config.l_anim == '<?php echo $key ?>' ? ' selected="selected"' : ''#>> <?php echo esc_html($label) ?></option>
<?php endforeach ?>
</select>
</div>
<# } else { #>
<p><?php echo __( "You don't have any lightboxes yet. Create one using the link below.", 'thrive-cb' ) ?></p>
<div class="tcb-text-right lightbox-add tve-add-tag clearfix">
<a href="javascript:void(0)" class="click tcb-right" data-fn="create_lightbox_toggle"><span class="circle mr-5">+</span><?php echo __( 'Create new lightbox', 'thrive-cb' ) ?></a>
<div class="form-create-lb tcb-right control-grid" style="display: none;">
<input type="text" placeholder="<?php echo __( 'Lightbox title', 'thrive-cb' ) ?>" class="create-lb keyup-enter mr-10" data-fn="create_lightbox">
<button type="button" class="tcb-right tve-button small click" data-fn="create_lightbox"><?php tcb_icon( 'check-regular' ); ?></button>
</div>
</div>
<# } #>

View File

@@ -0,0 +1,3 @@
<div class="tve-delete-message mt-5 mb-5">
<?php echo __( 'Are you sure you want to delete this?', 'thrive-cb' ); ?>
</div>

View File

@@ -0,0 +1,10 @@
<div class="drop-panel panel-light tve-delete-confirmation">
<div class="popup-content">
</div>
<div class="action-buttons control-grid">
<div data-fn="onCancel" class="click tve-button drop-panel-action btn-cancel"><?php echo __( 'No', 'thrive-cb' ) ?></div>
<div data-fn="onApply" class="click tve-button drop-panel-action btn-apply"><?php echo __( 'Yes', 'thrive-cb' ) ?></div>
</div>
<div class="tcb-panel-arrow tve-top-drop-panel"></div>
</div>

View File

@@ -0,0 +1,55 @@
<# if ( this.can_add_events() ) { #>
<div class="form-state state-default tcb-text-right" style="display: none">
<button type="button" class="tve-button continue medium green click" data-fn="add_event">
<?php echo __( 'Add event', 'thrive-cb' ) ?>
</button>
</div>
<# } #>
<# if ( this.model ) { #>
<div class="form-state state-trigger" style="display: none">
<div class="tcb-subtitle-steps">
<span class="subtitle step"><?php echo __( 'Step 1:', 'thrive-cb' ) ?></span>
<span class="subtitle"><?php echo __( 'Select your Trigger', 'thrive-cb' ) ?></span>
</div>
<div class="control-grid left-align" id="form-triggers">
<# _.each( this.get_triggers(), function( trigger, key ) { #>
<div class="evt-trigger click form-select-item<#=this.model.t == key ? ' selected' : ''#>" data-fn="item_select" data-field="t" data-item="<#=key#>">
<#= TVE.icon( trigger.icon ) #>
<div class="trigger-name"><#= trigger.label #></div>
<span class="tcb-modal-check">
<?php tcb_icon( 'check-regular' ); ?>
</span>
</div>
<# }, this ) #>
</div>
<div id="trigger-settings" class=""></div>
<div class="control-grid form-step-action tcb-modal-footer p-0 mt-20">
<button type="button" class="tcb-left tve-button text-only click pl-0" data-fn="trigger_cancel"><?php echo __( 'Cancel', 'thrive-cb' ) ?></button>
<button type="button" style="display: none" class="tcb-right tve-button continue medium green click white-text" data-fn="trigger_continue"><?php echo __( 'Continue', 'thrive-cb' ) ?></button>
</div>
</div>
<div class="form-state state-action" style="display: none">
<div class="tcb-subtitle-steps">
<span class="subtitle step"><?php echo __( 'Step 2:', 'thrive-cb' ) ?></span>
<span class="subtitle"><?php echo __( 'Set the action for the trigger', 'thrive-cb' ) ?></span>
</div>
<div class="control-grid left-align" id="form-actions">
<# _.each( this.get_actions(), function( action, key ) { #>
<div class="item-box evt-trigger click tcb-text-center form-select-item<#=this.model.a == key ? ' selected' : ''#><#= action.disabled ? ' tve-disabled' : '' #>" data-fn="item_select" data-field="a" data-item="<#=key#>"<#= action.disabled ? ' title="<?php echo __( 'This is only available if you have Thrive Leads installed and activated', 'thrive-cb' ) ?>"' : ''#>>
<#= TVE.icon( action.icon ) #>
<div class="trigger-name"><#= action.label #></div>
<span class="tcb-modal-check">
<?php tcb_icon( 'check-regular' ); ?>
</span>
</div>
<# }, this ) #>
</div>
<div id="action-settings"></div>
<div class="control-grid form-step-action tcb-modal-footer p-0 mt-20">
<button type="button" class="tcb-left tve-button text-only click pl-0" data-fn="action_cancel"><?php echo __( 'Back', 'thrive-cb' ) ?></button>
<button type="button" style="display: none" class="tcb-right tve-button continue medium click tcb-modal-save" data-fn="action_continue"><?php echo __( 'Save', 'thrive-cb' ) ?></button>
</div>
</div>
<# } #>

View File

@@ -0,0 +1,30 @@
<div class="tcb-events-summary">
<span class="tcb-modal-description"><?php echo __( 'Existing Events', 'thrive-cb' ) ?></span>
<div class="event-collection control-grid mt-10">
<# _.each( dataStore.events, function( evt, index ) { #>
<div class="action-wrapper">
<div class="evt-trigger tcb-text-center item-box mr-30">
<#= TVE.icon( dataStore.triggers[ evt.t ].icon ) #>
<div class="trigger-name"><#= dataStore.triggers[ evt.t ].label #></div>
</div>
<div class="item-box evt-action mr-30">
<#= view.render_action_preview( evt ) #>
</div>
<div class="event-row-actions">
<span class="click" title="<?php echo __( 'Edit', 'thrive-cb' ) ?>" data-fn="edit_event" data-index="<#=index#>"><?php tcb_icon( 'edit' ) ?></span>
<span class="click" title="<?php echo __( 'Delete', 'thrive-cb' ) ?>" data-fn="open_delete_confirmation" data-index="<#=index#>"><?php tcb_icon( 'trash' ) ?></span>
</div>
<div class="delete-confirmation-wrapper" style="display: none">
<span><?php echo __( 'Are you sure you want to delete this page event? ', 'thrive-cb' ) ?></span>
<div class="buttons-wrapper">
<button class="click" data-fn="close_delete_confirmation"><?php echo __( 'No, cancel', 'thrive-cb' ) ?></button>
<button class="click" data-fn="delete_event"><?php echo __( 'Yes, delete', 'thrive-cb' ) ?></button>
</div>
</div>
</div>
<# }, view ) #>
</div>
</div>

View File

@@ -0,0 +1 @@
<p class="tcb-modal-description"><?php echo __( 'There are no events setup for this page. Use the options below to create a new event.', 'thrive-cb' ) ?></p>

View File

@@ -0,0 +1,14 @@
<span class="subtitle"><?php echo __( 'Exit Intent Settings', 'thrive-cb' ) ?></span>
<p><label class="tcb-checkbox"><input type="checkbox" class="change"<#=m.config && m.config.e_mobile ? ' checked' : ''#> data-fn="enable_mobile"> <span><?php echo __( 'Perform action on mobile devices', 'thrive-cb' ) ?></span></label>
</p>
<# if ( m.config && m.config.e_mobile ) { #>
<p><?php echo __( 'It is not possible to detect exit intent on a mobile device, so instead the selected action will be performed after a time delay. How long after page load before the action is performed on mobile devices ?', 'thrive-cb' ) ?></p>
<div class="control-grid tcb-relative">
<input type="range" value="<#=m.config.e_delay||10#>" min="1" max="300" id="exit-timer-slider" class="input fill mr-40 change" data-fn-input="slider_update" data-fn-change="config" data-config="e_delay" data-target="#exit-timer">
<input type="text" value="<#=m.config.e_delay||10#>" id="exit-timer" class="input tcb-text-center fixed-65 change slider-input" placeholder="SEC" data-fn-input="slider_update" data-fn-change="config" data-config="e_delay" data-target="#exit-timer-slider">
<span class="placeholder">
<?php echo __( 'SEC', 'thrive-cb' ) ?>
</span>
</div>
<# } #>

View File

@@ -0,0 +1,9 @@
<span class="subtitle"><?php echo __( 'Timer (duration after page load) Settings', 'thrive-cb' ) ?></span>
<p><?php echo __( 'How many seconds after page load should the event be triggered ?', 'thrive-cb' ) ?></p>
<div class="control-grid tcb-relative">
<input type="range" value="<#=m.config.t_delay||10#>" min="1" max="300" id="exit-timer-slider" class="input fill mr-40 change" data-fn-input="slider_update" data-fn-change="config" data-config="t_delay" data-target="#exit-timer">
<input type="text" value="<#=m.config.t_delay||10#>" id="exit-timer" class="input tcb-text-center fixed-65 change slider-input" data-fn-input="slider_update" data-fn-change="config" data-config="t_delay" data-target="#exit-timer-slider">
<span class="placeholder">
<?php echo __( 'SEC', 'thrive-cb' ) ?>
</span>
</div>