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 Name: GDPR Content Blocker
|
||||||
* Plugin URI: https://lucas-orth.de/wp-plugins/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.
|
* 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: Lucas Orth
|
||||||
* Author URI: https://lucas-orth.de
|
* Author URI: https://lucas-orth.de
|
||||||
* Text Domain: gdpr-content-blocker
|
* Text Domain: gdpr-content-blocker
|
||||||
@@ -15,7 +15,7 @@
|
|||||||
|
|
||||||
defined( 'ABSPATH' ) || exit;
|
defined( 'ABSPATH' ) || exit;
|
||||||
|
|
||||||
define( 'CB_VERSION', '1.5.3' );
|
define( 'CB_VERSION', '1.5.4' );
|
||||||
define( 'CB_FILE', __FILE__ );
|
define( 'CB_FILE', __FILE__ );
|
||||||
define( 'CB_DIR', plugin_dir_path( __FILE__ ) );
|
define( 'CB_DIR', plugin_dir_path( __FILE__ ) );
|
||||||
define( 'CB_URL', plugin_dir_url( __FILE__ ) );
|
define( 'CB_URL', plugin_dir_url( __FILE__ ) );
|
||||||
|
|||||||
@@ -371,9 +371,18 @@ class CB_License {
|
|||||||
</tbody></table>
|
</tbody></table>
|
||||||
|
|
||||||
<?php if ( $status === 'limit' ) : ?>
|
<?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;">
|
<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' ); ?>
|
<?php esc_html_e( 'Lizenz upgraden', 'gdpr-content-blocker' ); ?>
|
||||||
</a>
|
</a>
|
||||||
<span class="description" style="margin-left:8px;">
|
<span class="description" style="margin-left:8px;">
|
||||||
|
|||||||
Binary file not shown.
@@ -57,6 +57,15 @@ msgstr "Status"
|
|||||||
msgid "Domain"
|
msgid "Domain"
|
||||||
msgstr "Domain"
|
msgstr "Domain"
|
||||||
|
|
||||||
|
msgid "Lizenzupgrade"
|
||||||
|
msgstr "License upgrade"
|
||||||
|
|
||||||
|
msgid "Lizenzkey:"
|
||||||
|
msgstr "License key:"
|
||||||
|
|
||||||
|
msgid "Bestellmail:"
|
||||||
|
msgstr "Order e-mail:"
|
||||||
|
|
||||||
msgid "Lizenz upgraden"
|
msgid "Lizenz upgraden"
|
||||||
msgstr "Upgrade license"
|
msgstr "Upgrade license"
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# 138 unique strings
|
# 141 unique strings
|
||||||
MSGID Ungültige Antwort vom Lizenzserver.
|
MSGID Ungültige Antwort vom Lizenzserver.
|
||||||
MSGID Keine Berechtigung.
|
MSGID Keine Berechtigung.
|
||||||
MSGID Bitte einen Lizenzschlüssel eingeben.
|
MSGID Bitte einen Lizenzschlüssel eingeben.
|
||||||
@@ -16,6 +16,9 @@ MSGID Alle Plätze belegt
|
|||||||
MSGID Nicht aktiviert
|
MSGID Nicht aktiviert
|
||||||
MSGID Status
|
MSGID Status
|
||||||
MSGID Domain
|
MSGID Domain
|
||||||
|
MSGID Lizenzupgrade
|
||||||
|
MSGID Lizenzkey:
|
||||||
|
MSGID Bestellmail:
|
||||||
MSGID Lizenz upgraden
|
MSGID Lizenz upgraden
|
||||||
MSGID Schalten Sie weitere Domains frei, um diese Seite zusätzlich zu aktivieren – oder geben Sie unten eine bestehende Domain frei.
|
MSGID Schalten Sie weitere Domains frei, um diese Seite zusätzlich zu aktivieren – oder geben Sie unten eine bestehende Domain frei.
|
||||||
MSGID Belegte Domains
|
MSGID Belegte Domains
|
||||||
|
|||||||
@@ -137,5 +137,8 @@
|
|||||||
"Textausrichtung": "Text alignment",
|
"Textausrichtung": "Text alignment",
|
||||||
"Mittig": "Centered",
|
"Mittig": "Centered",
|
||||||
"Linksbündig": "Left-aligned",
|
"Linksbündig": "Left-aligned",
|
||||||
"Rechtsbündig": "Right-aligned"
|
"Rechtsbündig": "Right-aligned",
|
||||||
|
"Lizenzupgrade": "License upgrade",
|
||||||
|
"Lizenzkey:": "License key:",
|
||||||
|
"Bestellmail:": "Order e-mail:"
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user