diff options
| author | Roger Rehnelt <noreply@maennchen1.de> | 2026-10-04 14:32:44 +0200 |
|---|---|---|
| committer | Roger Rehnelt <noreply@maennchen1.de> | 2026-10-04 14:32:44 +0200 |
| commit | c8ca3049162cb491d3baa5873c50a619fa940f49 (patch) | |
| tree | 6bd02a9eb5a309cb2f6a3641662f9e6ce6016103 /views/admin | |
| parent | d7d4ccd3139c0fffa087c24b02e7f7497e277c20 (diff) | |
Kampagnen: nur mit gültigem Schlüssel (Pro und Enterprise)
Module mit keyRequired laden nur mit gültigem Aktivierungsschlüssel; die Moduleinstellungen nennen das. Keine eigene Modullizenz.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'views/admin')
| -rw-r--r-- | views/admin/module.phtml | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/views/admin/module.phtml b/views/admin/module.phtml index 0580bb9..621134b 100644 --- a/views/admin/module.phtml +++ b/views/admin/module.phtml @@ -54,7 +54,13 @@ <br />
- <?php if (!isset($wpsg_update_data['modulinfo'][$_REQUEST['modul']]) || @$wpsg_update_data['modulinfo'][$_REQUEST['modul']]['demo_active'] === true || @$wpsg_update_data['modulinfo'][$_REQUEST['modul']]['active'] === true || $wpsg_update_data['modulinfo'][$_REQUEST['modul']]['free'] === true) { ?>
+ <?php if (wpsg_module_key_missing($this->arAllModule[$_REQUEST['modul']], $this->bLicence)) { ?>
+
+ <?php echo wpsg_drawForm_TextStart(); ?>
+ <span class="wpsg_error"><?php echo esc_html__('Nur in Pro und Enterprise: Ohne gültigen Update-Zugang können Sie dieses Modul nicht verwenden.', 'wpsg'); ?></span>
+ <?php echo wpsg_drawForm_TextEnd(__('Modul aktiviert', 'wpsg')); ?>
+
+ <?php } else if (!isset($wpsg_update_data['modulinfo'][$_REQUEST['modul']]) || @$wpsg_update_data['modulinfo'][$_REQUEST['modul']]['demo_active'] === true || @$wpsg_update_data['modulinfo'][$_REQUEST['modul']]['active'] === true || $wpsg_update_data['modulinfo'][$_REQUEST['modul']]['free'] === true) { ?>
<?php if (($this->arAllModule[$_REQUEST['modul']]->plugin_module??false) !== true) { ?>
<?php $modul_install = $this->get_option($_REQUEST['modul'], $this->view['global']); ?>
|
