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,63 @@
/*
* Contains variables passed from php stored in the variable wpdbt_admin_vars.
* It also includes the definition of variables used in the plugin scripts.
*/
/* -------------------------------------------------------------------------- */
/* CONST */
/* -------------------------------------------------------------------------- */
const MODE_GENERAL =
wpdbt_admin_vars.data.current_page == 'details' ||
wpdbt_admin_vars.data.current_page == 'general';
const KEY_ATRIBUTE = (MODE_GENERAL == false) ? "id" : "key";
/* -------------------------------------------------------------------------- */
/* INPUT */
/* -------------------------------------------------------------------------- */
var input_current_url = document.getElementById('input-current-url');
var input_name = document.getElementById("search-name");
/* -------------------------------------------------------------------------- */
/* GETS */
/* -------------------------------------------------------------------------- */
$_GET_autoload = '';
$_GET_category = '';
$_GET_details = '';
$_GET_origin = '';
$_GET_status = '';
$_GET_name = '';
$_GET_page = '';
/* -------------------------------------------------------------------------- */
/* LOADER */
/* -------------------------------------------------------------------------- */
var loader = document.getElementById("container_list_loader");
var content_list = document.getElementById("container_list_display");
var content_list_not_found = document.getElementById("container_list_not_found");
/* -------------------------------------------------------------------------- */
/* SELECTORS */
/* -------------------------------------------------------------------------- */
var checkbox_elements = document.getElementsByClassName("check-elements");
var checkbox_all = document.getElementById("check-typebox-all");
var span_selected = document.getElementById("span-selected");
var title_modal = document.getElementById("modal-1-title");
/* -------------------------------------------------------------------------- */
/* PAGINATION */
/* -------------------------------------------------------------------------- */
var btn_first = document.getElementById("btn-first");
var btn_last = document.getElementById("btn-last");
var selectPagination = document.getElementById("select_pagination");
/* -------------------------------------------------------------------------- */
/* LIS ELEMENTS */
/* -------------------------------------------------------------------------- */
var current_elements = document.querySelector("#current-elements span#span-elements");