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,24 @@
<?php
/**
* Created by PhpStorm.
* User: Ovidiu
* Date: 7/25/2017
* Time: 5:39 PM
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden!
}
?>
<h2 class="tcb-modal-title"><?php echo __( 'Add / edit design state', 'thrive-ult'); ?></h2>
<div class="tve-templates-wrapper">
<div class="tvd-input-field margin-bottom-5 margin-top-25">
<input type="text" id="tve-ult-state-name" required>
<label for="tve-ult-state-name"><?php echo __( 'State Name', 'thrive-ult'); ?></label>
</div>
</div>
<div class="tcb-modal-footer">
<button type="button" class="tcb-right tve-button medium green click white-text" data-fn="save">
<?php echo __( 'Save', 'thrive-ult') ?>
</button>
</div>

View File

@@ -0,0 +1,46 @@
<?php
/**
* Created by PhpStorm.
* User: Ovidiu
* Date: 7/20/2017
* Time: 12:32 PM
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden!
}
$tu_campaigns = tve_ult_get_campaign_with_shortcodes();
?>
<h2 class="tcb-modal-title"><?php echo __( 'Thrive Ultimatum Campaign Shortcodes', 'thrive-ult'); ?></h2>
<hr class="margin-top-0">
<div class="margin-top-0">
<?php echo __( 'Select a Campaign and a Shortcode design you want to be displayed in your content. All the logic of selected Campaign will be applied on selected design too. Please make sure you do the right settings for your Campaign', 'thrive-ult'); ?>
</div>
<div class="tve-templates-wrapper">
<div class="row margin-top-20">
<div class="col col-xs-6"><?php echo __( 'Select Campaign:', 'thrive-ult'); ?></div>
<div class="col col-xs-6">
<select id="tve_ult_campaign" name="tve_ult_campaign" class="change" data-fn="campaign_changed">
<option value=""><?php echo __( 'Select campaign', 'thrive-ult'); ?></option>
<?php foreach ( $tu_campaigns as $campaign ) : ?>
<option value="<?php echo $campaign->ID ?>"><?php echo $campaign->post_title ?></option>
<?php endforeach; ?>
</select>
</div>
</div>
<div class="row margin-top-20">
<div class="col col-xs-6"><?php echo __( 'Select Shortcode:', 'thrive-ult'); ?></div>
<div class="col col-xs-6">
<select id="tve_ult_shortcode" name="tve_ult_shortcode">
<option><?php echo __( 'Select shortcode', 'thrive-ult'); ?></option>
</select>
</div>
</div>
</div>
<div class="tcb-modal-footer">
<button type="button" class="tcb-right tve-button medium green click white-text" data-fn="generate_countdown_html">
<?php echo __( 'Save and close', 'thrive-ult') ?>
</button>
</div>

View File

@@ -0,0 +1,42 @@
<?php
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden!
}
global $design;
if ( empty( $design ) ) {
$design = tve_ult_get_design( $_REQUEST[ TVE_Ult_Const::DESIGN_QUERY_KEY_NAME ] );
}
$design_type_details = TVE_Ult_Const::design_details( $design['post_type'] );
$name = $design_type_details['name'];
?>
<div class="error-container"></div>
<div class="tve-modal-content">
<div id="cb-cloud-menu" class="modal-sidebar">
<div class="lp-menu-wrapper mt-30">
<div class="sidebar-title">
<p><?php echo __( 'Type', 'thrive-ult'); ?></p>
<span class="tcb-hl"></span>
</div>
<div id="types-wrapper" class="mt-10"></div>
</div>
</div>
<div id="cb-cloud-templates" class="modal-content">
<div class="warning-ct-change no-margin">
<div class="tcb-notification info-text">
<div class="tcb-warning-label"><?php echo __( 'Warning!', 'thrive-ult'); ?></div>
<div class="tcb-notification-content"></div>
</div>
</div>
<div class="tcb-modal-header flex-center space-between">
<div id="cb-pack-title" class="tcb-modal-title"><?php echo __( 'Templates', 'thrive-ult') ?></div>
<span data-fn="clearCache" class="tcb-refresh mr-30 click flex-center">
<span class="mr-10"><?php tcb_icon( 'sync-regular' ); ?></span>
<span class="mr-10"><?php echo __( 'Refresh from cloud', 'thrive-ult'); ?></span>
</span>
</div>
<div id="cb-pack-content"></div>
</div>
</div>

View File

@@ -0,0 +1,21 @@
<?php
/**
* Created by PhpStorm.
* User: Ovidiu
* Date: 7/21/2017
* Time: 3:27 PM
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden!
}
?>
<h2 class="tcb-modal-title"><?php echo __( 'Reset to default content', 'thrive-ult') ?></h2>
<div class="margin-top-20">
<?php echo __( 'Are you sure you want to reset this variation to the default template? This action cannot be undone.', 'thrive-ult') ?>
</div>
<div class="tcb-modal-footer">
<button type="button" class="tcb-right tve-button medium red click" data-fn="reset">
<?php echo __( 'Reset to default content', 'thrive-ult') ?>
</button>
</div>

View File

@@ -0,0 +1,28 @@
<?php
/**
* Created by PhpStorm.
* User: Ovidiu
* Date: 7/21/2017
* Time: 3:55 PM
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden!
}
?>
<h2 class="tcb-modal-title"><?php echo __( 'Save Page Template', 'thrive-ult'); ?></h2>
<div class="margin-top-20">
<?php echo __( 'You can save the current page as a template for use on another post / page on your site.', 'thrive-ult') ?>
</div>
<div class="tve-templates-wrapper">
<div class="tvd-input-field margin-bottom-5 margin-top-25">
<input type="text" id="tve-template-name" required>
<label for="tve-template-name"><?php echo __( 'Template Name', 'thrive-ult'); ?></label>
</div>
</div>
<div class="tcb-modal-footer flex-end">
<button type="button" class="tcb-right tve-button medium green click white-text" data-fn="save">
<?php echo __( 'Save Template', 'thrive-ult') ?>
</button>
</div>

View File

@@ -0,0 +1,63 @@
<?php
/**
* Created by PhpStorm.
* User: Ovidiu
* Date: 7/21/2017
* Time: 12:11 PM
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden!
}
/*
* Lightbox content for listing all the templates for a campaign design
*/
global $design;
if ( empty( $design ) ) {
$design = tve_ult_get_design( $_REQUEST[ TVE_Ult_Const::DESIGN_QUERY_KEY_NAME ] );
}
$design_type_details = TVE_Ult_Const::design_details( $design['post_type'] );
$current_template = ! empty( $design[ TVE_Ult_Const::FIELD_TEMPLATE ] ) ? $design[ TVE_Ult_Const::FIELD_TEMPLATE ] : '';
$templates = TU_Template_Manager::get_templates( $design['post_type'] );
?>
<h2 class="tcb-modal-title"><?php echo sprintf( __( 'Choose the %s template you would like to use for this design', 'thrive-ult'), $design_type_details['name'] ); ?></h2>
<div class="margin-top-20">
<?php echo __( 'If you change your the template without saving the current revision, you won\'t be able to revert back to it later.', 'thrive-ult') ?>
</div>
<div class="tve-templates-wrapper">
<div class="tve-header-tabs">
<div class="tab-item active click" data-fn="tab_click" data-content="default"><?php echo __( 'Default Templates', 'thrive-ult'); ?></div>
<div class="tab-item click" data-fn="tab_click" data-content="saved"><?php echo sprintf( __( 'Saved %s Templates', 'thrive-ult'), $design_type_details['name'] ); ?></div>
</div>
<div class="tve-tabs-content">
<div class="tve-tab-content active" data-content="default">
<div class="tve-default-templates-list expanded-set">
<?php foreach ( $templates as $data ) : ?>
<div class="tve-template-item">
<div class="template-wrapper click<?php echo $current_template == $data['key'] ? ' active' : '' ?>" data-fn="select_template" data-key="<?php echo $data['key']; ?>">
<div class="template-thumbnail" style="background-image: url('<?php echo $data['thumbnail']; ?>')"></div>
<div class="template-name">
<?php echo $data['name']; ?>
</div>
<div class="selected"></div>
</div>
</div>
<?php endforeach; ?>
</div>
</div>
<div class="tve-tab-content" data-content="saved">
<div class="tve-saved-templates-list expanded-set"></div>
</div>
<div class="tve-template-preview"></div>
</div>
</div>
<div class="tcb-modal-footer">
<button type="button" class="tcb-right tve-button medium green click white-text" data-fn="save">
<?php echo __( 'Choose Template', 'thrive-ult') ?>
</button>
</div>