sync(dev): fehlende Admin-Theme-Assets vom Live-Stand ergaenzt (nichts ueberschrieben)

This commit is contained in:
Thomas Bartelt
2026-09-13 19:58:55 +02:00
parent 726f897c3d
commit 37017b25dd
302 changed files with 33189 additions and 0 deletions
+66
View File
@@ -0,0 +1,66 @@
$(document).ready(function() {
$('#adminLeftFloater').rsTabs();
$('#button_analytics').click(function() {
var jqxhr = $.ajax({
type: 'POST',
url: './index.php?admin_modul=admin_seo&mod=ajax',
data: {
'action': 'save_analytics_code',
'google_analytics_code': $('#google_analytics_code').val()
}
});
jqxhr.success(function(data) {
try {
var mydata = $.parseJSON(data);
if (mydata.status == 'success') {
alert('erfolgreich gespeichert');
} else {
alert("ERROR: PHP");
}
} catch(e) {
alert("ERROR: JSON");
}
});
jqxhr.error(function() {
alert("ERROR: URL");
});
});
$('.button_metatags').click(function() {
var metatags = [];
$('.metatag_field').each(function(){
metatags.push($(this).val());
});
var jqxhr = $.ajax({
type: 'POST',
url: './index.php?admin_modul=admin_seo&mod=ajax&action=save_metatags',
data: $('#admin_seo_edit').serialize()
});
jqxhr.success(function(data) {
try {
var mydata = $.parseJSON(data);
if (mydata.status == 'success') {
alert('erfolgreich gespeichert');
} else {
alert("ERROR: PHP");
}
} catch(e) {
alert("ERROR: JSON");
}
});
jqxhr.error(function() {
alert("ERROR: URL");
});
});
});