Basic implementation event signup

This commit is contained in:
2024-05-27 16:59:30 +02:00
parent a66f2d2422
commit a69d83bc0a
321 changed files with 138376 additions and 644 deletions

26
assets/ajax.js Normal file
View File

@ -0,0 +1,26 @@
function kompass_generate_ajax_url(module, ajaxmethode, params) {
return ajaxurl + '?action=kompass_show_ajax&module=' + module + '&method=' + ajaxmethode + '&' + params;
}
function kompass_load_ajax_nw(module, ajaxmethode, params='') {
ajaxurl = kompass_generate_ajax_url(module, ajaxmethode, params);
window.open(ajaxurl);
}
function kompass_load_ajax_div(module, ajaxmethode, targetid, params = '') {
var xhr = new XMLHttpRequest();
xhr.onreadystatechange = function() {
if (xhr.readyState === XMLHttpRequest.DONE) {
if (xhr.status === 200) {
// Erfolgreiche Antwort erhalten
document.getElementById(targetid).innerHTML = xhr.responseText;
} else {
console.log(xhr);
// Fehlerbehandlung
//console.error('Fehler beim Laden der Inhalte');
}
}
};
var scriptcall = kompass_generate_ajax_url(module, ajaxmethode, params);
xhr.open('GET', scriptcall,true);
xhr.send();
}

BIN
assets/klilie.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 132 KiB

BIN
assets/rr.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 132 KiB

BIN
assets/woe.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 73 KiB

View File

@ -236,12 +236,19 @@ ul#adminmenu a.wp-has-current-submenu::after, ul#adminmenu > li.current > a.curr
width: 285px !important;
}
#wp-admin-bar-comments {
#wp-admin-bar-comments,
#wp-admin-bar-new-content {
display: none !important;
}
#wp-admin-bar-kompass_gruppen {
display: block !important;
}
#wp-admin-bar-kompass_events {
display: block !important;
}
}
#adminmenu div.wp-menu-name {