Sync: Inhalte aus origin/main in develop übernommen; .gitea und .github unverändert belassen (falls vorhanden).
All checks were successful
Deploy Workshop-Wahlen (DEV / PROD) / deploy (push) Successful in 13s
All checks were successful
Deploy Workshop-Wahlen (DEV / PROD) / deploy (push) Successful in 13s
This commit is contained in:
@@ -14,10 +14,8 @@ function kc_teamer_page() {
|
||||
delete_option('kc_teamer_password_hash');
|
||||
echo '<div class="notice notice-success">Teamer-Passwort entfernt.</div>';
|
||||
} else {
|
||||
// Sichere Speicherung mit password_hash
|
||||
$hash = password_hash($pw, PASSWORD_DEFAULT);
|
||||
update_option('kc_teamer_password_hash', $hash);
|
||||
echo '<div class="notice notice-success">Teamer-Passwort gespeichert.</div>';
|
||||
update_option('kc_teamer_password_hash', wp_hash_password($pw));
|
||||
echo '<div class="notice notice-success">Teamer-Passwort gespeichert.</div>';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -309,7 +309,7 @@ function kc_teilnehmer_page() {
|
||||
echo '</details>';
|
||||
}
|
||||
// JS für Wahl- und Phasen-Filter
|
||||
// CSS moved to admin-teilnehmer.css
|
||||
echo '<style>.kc-wahl-filter-btn.active{background:#4CAF50;color:#fff;} .kc-phase-filter-btn.active{background:#1976d2;color:#fff;}</style>';
|
||||
echo '<script>
|
||||
(function() {
|
||||
var btns = Array.prototype.slice.call(document.querySelectorAll(".kc-wahl-filter-btn"));
|
||||
|
||||
Reference in New Issue
Block a user