Upload folder via GUI - admin
This commit is contained in:
@@ -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 '<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 ) {
|
||||
$color = esc_attr( $role['color'] ); $bg = esc_attr( $role['bg_color'] );
|
||||
@@ -978,7 +978,8 @@ function wbf_admin_roles() {
|
||||
}
|
||||
|
||||
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 style='font-size:.82em;color:#555'>$perms</td>
|
||||
<td style='font-size:.82em;color:#666'>" . esc_html( $role['description'] ?? '' ) . "</td>
|
||||
|
||||
Reference in New Issue
Block a user