feat: "Lizenz upgraden" oeffnet vorausgefuellte mail (v1.5.4)
Button im Lizenz-tab (status "Plaetze belegt") oeffnet jetzt einen mailto-link an info@lucas-orth.de, Betreff "Lizenzupgrade", body mit leeren feldern "Lizenzkey:" und "Bestellmail:" zum ausfuellen (key NICHT vorausgefuellt). + i18n DE/EN. version 1.5.4. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
* Plugin Name: GDPR Content Blocker
|
||||
* Plugin URI: https://lucas-orth.de/wp-plugins/gdpr-content-blocker/
|
||||
* Description: DSGVO-konformer Consent-Blocker für externe iframes. Lädt Drittinhalte erst nach aktiver Einwilligung.
|
||||
* Version: 1.5.3
|
||||
* Version: 1.5.4
|
||||
* Author: Lucas Orth
|
||||
* Author URI: https://lucas-orth.de
|
||||
* Text Domain: gdpr-content-blocker
|
||||
@@ -15,7 +15,7 @@
|
||||
|
||||
defined( 'ABSPATH' ) || exit;
|
||||
|
||||
define( 'CB_VERSION', '1.5.3' );
|
||||
define( 'CB_VERSION', '1.5.4' );
|
||||
define( 'CB_FILE', __FILE__ );
|
||||
define( 'CB_DIR', plugin_dir_path( __FILE__ ) );
|
||||
define( 'CB_URL', plugin_dir_url( __FILE__ ) );
|
||||
|
||||
@@ -371,9 +371,18 @@ class CB_License {
|
||||
</tbody></table>
|
||||
|
||||
<?php if ( $status === 'limit' ) : ?>
|
||||
<!-- Not enough seats to activate this site: offer an upgrade. -->
|
||||
<?php
|
||||
// Upgrade = open a pre-addressed e-mail with empty fields to fill in.
|
||||
$mail_subject = rawurlencode( __( 'Lizenzupgrade', 'gdpr-content-blocker' ) );
|
||||
$mail_body = rawurlencode(
|
||||
__( 'Lizenzkey:', 'gdpr-content-blocker' ) . " \r\n"
|
||||
. __( 'Bestellmail:', 'gdpr-content-blocker' ) . ' '
|
||||
);
|
||||
$mailto = 'mailto:info@lucas-orth.de?subject=' . $mail_subject . '&body=' . $mail_body;
|
||||
?>
|
||||
<!-- Not enough seats to activate this site: offer an upgrade by e-mail. -->
|
||||
<p style="margin:8px 0 16px;">
|
||||
<a href="https://lucas-orth.de/wp-plugins/gdpr-content-blocker/" target="_blank" rel="noopener noreferrer" class="button button-primary">
|
||||
<a href="<?php echo esc_url( $mailto ); ?>" class="button button-primary">
|
||||
<?php esc_html_e( 'Lizenz upgraden', 'gdpr-content-blocker' ); ?>
|
||||
</a>
|
||||
<span class="description" style="margin-left:8px;">
|
||||
|
||||
Binary file not shown.
@@ -57,6 +57,15 @@ msgstr "Status"
|
||||
msgid "Domain"
|
||||
msgstr "Domain"
|
||||
|
||||
msgid "Lizenzupgrade"
|
||||
msgstr "License upgrade"
|
||||
|
||||
msgid "Lizenzkey:"
|
||||
msgstr "License key:"
|
||||
|
||||
msgid "Bestellmail:"
|
||||
msgstr "Order e-mail:"
|
||||
|
||||
msgid "Lizenz upgraden"
|
||||
msgstr "Upgrade license"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user