Compare commits
5 Commits
1.0.0
...
docs-readm
| Author | SHA1 | Date | |
|---|---|---|---|
| 82a12dd723 | |||
| 2d8942c8b0 | |||
| d4d6e9ddf1 | |||
| e0078f5b8b | |||
| fc439ab9a5 |
@@ -2,12 +2,14 @@
|
||||
/**
|
||||
* Plugin Name: KGV Rollen Manager
|
||||
* Description: Erstellt zusätzliche WordPress-Rollen und vergibt Rechte direkt im Backend.
|
||||
* Version: 1.0.0
|
||||
* Version: 1.0.4
|
||||
* Author: Ronny Grobel
|
||||
* Author URI: https://apex-project.de/
|
||||
* Text Domain: kgv-role-manager
|
||||
* Plugin URI: https://apex-project.de/
|
||||
* Update URI: https://git.apex-project.de/RonnyG/KGV-Role-Manager
|
||||
* Gitea Plugin URI: https://git.apex-project.de/RonnyG/KGV-Role-Manager
|
||||
* Update URI: https://git.apex-project.de/Wordpress_Plugins/KGV-Role-Manager
|
||||
* Gitea Plugin URI: https://git.apex-project.de/Wordpress_Plugins/KGV-Role-Manager
|
||||
* Requires Plugins: KGV-Updater
|
||||
*/
|
||||
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
@@ -347,20 +349,20 @@ final class KGV_Rollen_Manager {
|
||||
<tbody>
|
||||
<tr>
|
||||
<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>
|
||||
<?php if ( ! $edit_data ) : ?>
|
||||
<tr>
|
||||
<th scope="row"><label for="role_slug"><?php esc_html_e( 'Rollen-Slug', 'kgv-role-manager' ); ?></label></th>
|
||||
<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>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="source_role"><?php esc_html_e( 'Vorlage', 'kgv-role-manager' ); ?></label></th>
|
||||
<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>
|
||||
<?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>
|
||||
|
||||
39
readme.txt
Normal file
39
readme.txt
Normal file
@@ -0,0 +1,39 @@
|
||||
=== KGV Rollen Manager ===
|
||||
Contributors: ronnygrobel
|
||||
Tags: roles, capabilities, benutzerrollen, berechtigungen, backend
|
||||
Requires at least: 6.0
|
||||
Tested up to: 6.8
|
||||
Stable tag: 1.0.4
|
||||
Requires PHP: 7.2
|
||||
License: GPLv2 or later
|
||||
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
||||
|
||||
Erstellt zusaetzliche WordPress-Rollen und verwaltet Berechtigungen im Backend.
|
||||
|
||||
== Description ==
|
||||
|
||||
KGV Rollen Manager erweitert WordPress um zusaetzliche Vereinsrollen und unterstuetzt die Rechtevergabe direkt im Backend.
|
||||
|
||||
= Features =
|
||||
|
||||
* Anlegen vordefinierter Rollen
|
||||
* Verwaltung von Rollenrechten
|
||||
* Integration in WordPress-Benutzerverwaltung
|
||||
|
||||
== Installation ==
|
||||
|
||||
1. Plugin in `wp-content/plugins/KGV-Role-Manager/` hochladen.
|
||||
2. Plugin aktivieren.
|
||||
3. Rollen und Rechte im Backend konfigurieren.
|
||||
|
||||
== Frequently Asked Questions ==
|
||||
|
||||
= Kann ich bestehende Rollen weiter verwenden? =
|
||||
|
||||
Ja, das Plugin ergaenzt WordPress-Rollen und kann mit bestehenden Rollen kombiniert werden.
|
||||
|
||||
== Changelog ==
|
||||
|
||||
= 1.0.4 =
|
||||
* Aktuelle Version laut Plugin-Header.
|
||||
* Pflege und Stabilitaetsupdates.
|
||||
Reference in New Issue
Block a user