Upload folder via GUI - admin

This commit is contained in:
Git Manager GUI
2026-04-08 14:21:21 +02:00
parent 764f760b61
commit f5ff8f1933

View File

@@ -957,7 +957,7 @@ function wbf_admin_roles() {
echo '<div class="wrap"><h1>Rollen-Verwaltung <a href="?page=wbf-roles#new-role" class="page-title-action">+ Neue Rolle</a></h1>'; echo '<div class="wrap"><h1>Rollen-Verwaltung <a href="?page=wbf-roles#new-role" class="page-title-action">+ Neue Rolle</a></h1>';
echo '<table class="widefat striped" style="margin-bottom:2rem"> echo '<table class="widefat striped" style="margin-bottom:2rem">
<thead><tr><th style="width:180px">Rolle</th><th>Level</th><th>Permissions</th><th>Beschreibung</th><th>Aktionen</th></tr></thead><tbody>'; <thead><tr><th style="width:180px">Rolle</th><th>Schlüssel</th><th>Level</th><th>Permissions</th><th>Beschreibung</th><th>Aktionen</th></tr></thead><tbody>';
foreach ( $roles as $key => $role ) { foreach ( $roles as $key => $role ) {
$color = esc_attr( $role['color'] ); $bg = esc_attr( $role['bg_color'] ); $color = esc_attr( $role['color'] ); $bg = esc_attr( $role['bg_color'] );
@@ -978,7 +978,8 @@ function wbf_admin_roles() {
} }
echo "<tr> echo "<tr>
<td>$badge " . ( ( $role['locked'] ?? false ) ? '<span style="color:#999;font-size:.8em">(🔒)</span>' : '' ) . "</td> <td>$badge " . ( ( $role['locked'] ?? false ) ? '<span style=\"color:#999;font-size:.8em\">(🔒)</span>' : '' ) . "</td>
<td><code>" . esc_html( $key ) . "</code></td>
<td><strong>" . esc_html( $role['level'] ) . "</strong></td> <td><strong>" . esc_html( $role['level'] ) . "</strong></td>
<td style='font-size:.82em;color:#555'>$perms</td> <td style='font-size:.82em;color:#555'>$perms</td>
<td style='font-size:.82em;color:#666'>" . esc_html( $role['description'] ?? '' ) . "</td> <td style='font-size:.82em;color:#666'>" . esc_html( $role['description'] ?? '' ) . "</td>