consolidate php

This commit is contained in:
2025-12-09 00:20:32 +00:00
parent a7b6c529a9
commit eba6536050
44 changed files with 3458 additions and 4911 deletions

View File

@@ -83,7 +83,7 @@
var table = new Tabulator("#wunderobs", {
virtualDom: true,
virtualDomBuffer: 300,
ajaxURL: "lsr.php?getCombinedTable=p",
ajaxURL: "main.php?service=lsr&getCombinedTable=p",
ajaxConfig: "GET",
autoResize: true,
initialSort: [{ column: "start", dir: "desc" }],
@@ -181,7 +181,7 @@
function lsr(lsr, id, source) {
$.get({
url: 'lsr.php?updater=true&lsr=' + lsr + "&id=" + id + "&table="+source,
url: 'main.php?service=lsr&updater=true&lsr=' + lsr + "&id=" + id + "&table="+source,
error: function(xhr, error) {
alert('Unable to update, please refresh page');
}
@@ -195,7 +195,7 @@
function hide(hide, id, source) {
$.get({
url: 'lsr.php?updater=true&hide=' + hide + "&id=" + id + "&table="+source,
url: 'main.php?service=lsr&updater=true&hide=' + hide + "&id=" + id + "&table="+source,
error: function(xhr, error) {
alert('Unable to update, please refresh page');
}