Release 1.0.4
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
/**
|
/**
|
||||||
* Plugin Name: KGV Rollen Manager
|
* Plugin Name: KGV Rollen Manager
|
||||||
* Description: Erstellt zusätzliche WordPress-Rollen und vergibt Rechte direkt im Backend.
|
* Description: Erstellt zusätzliche WordPress-Rollen und vergibt Rechte direkt im Backend.
|
||||||
* Version: 1.0.3
|
* Version: 1.0.4
|
||||||
* Author: Ronny Grobel
|
* Author: Ronny Grobel
|
||||||
* Author URI: https://apex-project.de/
|
* Author URI: https://apex-project.de/
|
||||||
* Text Domain: kgv-role-manager
|
* Text Domain: kgv-role-manager
|
||||||
@@ -349,20 +349,20 @@ final class KGV_Rollen_Manager {
|
|||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row"><label for="role_name"><?php esc_html_e( 'Rollenname', 'kgv-role-manager' ); ?></label></th>
|
<th scope="row"><label for="role_name"><?php esc_html_e( 'Rollenname', 'kgv-role-manager' ); ?></label></th>
|
||||||
<td><input name="role_name" id="role_name" type="text" class="regular-text" required value="<?php echo esc_attr( $edit_data['name'] ?? '' ); ?>"></td>
|
<td><input name="role_name" id="role_name" type="text" class="regular-text" style="max-width:320px;width:100%;" required value="<?php echo esc_attr( $edit_data['name'] ?? '' ); ?>"></td>
|
||||||
</tr>
|
</tr>
|
||||||
<?php if ( ! $edit_data ) : ?>
|
<?php if ( ! $edit_data ) : ?>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row"><label for="role_slug"><?php esc_html_e( 'Rollen-Slug', 'kgv-role-manager' ); ?></label></th>
|
<th scope="row"><label for="role_slug"><?php esc_html_e( 'Rollen-Slug', 'kgv-role-manager' ); ?></label></th>
|
||||||
<td>
|
<td>
|
||||||
<input name="role_slug" id="role_slug" type="text" class="regular-text" value="">
|
<input name="role_slug" id="role_slug" type="text" class="regular-text" style="max-width:320px;width:100%;" value="">
|
||||||
<p class="description"><?php esc_html_e( 'Nur Kleinbuchstaben, Zahlen und Unterstriche. Leer lassen = automatisch aus dem Namen erzeugen.', 'kgv-role-manager' ); ?></p>
|
<p class="description"><?php esc_html_e( 'Nur Kleinbuchstaben, Zahlen und Unterstriche. Leer lassen = automatisch aus dem Namen erzeugen.', 'kgv-role-manager' ); ?></p>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row"><label for="source_role"><?php esc_html_e( 'Vorlage', 'kgv-role-manager' ); ?></label></th>
|
<th scope="row"><label for="source_role"><?php esc_html_e( 'Vorlage', 'kgv-role-manager' ); ?></label></th>
|
||||||
<td>
|
<td>
|
||||||
<select name="source_role" id="source_role">
|
<select name="source_role" id="source_role" style="max-width:320px;width:100%;">
|
||||||
<option value=""><?php esc_html_e( 'Keine Vorlage', 'kgv-role-manager' ); ?></option>
|
<option value=""><?php esc_html_e( 'Keine Vorlage', 'kgv-role-manager' ); ?></option>
|
||||||
<?php foreach ( $all_roles as $role_key => $role_data ) : ?>
|
<?php foreach ( $all_roles as $role_key => $role_data ) : ?>
|
||||||
<option value="<?php echo esc_attr( $role_key ); ?>"><?php echo esc_html( translate_user_role( $role_data['name'] ) . ' (' . $role_key . ')' ); ?></option>
|
<option value="<?php echo esc_attr( $role_key ); ?>"><?php echo esc_html( translate_user_role( $role_data['name'] ) . ' (' . $role_key . ')' ); ?></option>
|
||||||
|
|||||||
Reference in New Issue
Block a user