shop = &$this; } else { $source = 'licence'; } ?> $modul_info) { if ($modul_info['active'] !== true) unset($wpsg_update_data['modulinfo'][$modul_key]); } */ ?> $modul_info) { ?> vor PHP-8-Warnungen und version_compare()-Deprecations schuetzen. */ ?> shop->hasModInstalled($modul_key) ? ($this->shop->arAllModule[$modul_key]->version ?? '') : ''); ?>
shop->hasModInstalled($modul_key)) { ?> shop->hasModInstalled($modul_key)) { ?>
shop->hasModInstalled($modul_key)) { ?> shop->hasModInstalled($modul_key)) { ?>
Version installieren', 'wpsg'), WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Admin&action=registrierung&noheader=1&do=installModul&modul='.$modul_key.'&source='.$source); ?> Demo installieren', 'wpsg'), WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Admin&action=registrierung&noheader=1&do=installModul&modul='.$modul_key.'&source='.$source); ?>
'.__('neue Version verfügbar', 'wpsg').''; echo '
'; echo wpsg_translate(__('Version installieren.', 'wpsg'), WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Admin&action=registrierung&noheader=1&do=installModul&modul='.$modul_key.'&source='.$source); echo '

'; } echo $modul_version_available; if ($this->shop->hasModInstalled($modul_key) && $modul_version_available === $modul_version_installed) { echo ' - '.__('aktuell', 'wpsg').''; } else if ($this->shop->hasModInstalled($modul_key) && version_compare($modul_version_available, WPSG_VERSION) > 0) { echo ' - '.__('neue Version verfügbar', 'wpsg').'
'.wpsg_translate(__('wpShopGermany Update notwendig', 'wpsg'), WPSG_URL_WP.'wp-admin/plugins.php'); } else if ($this->shop->hasModInstalled($modul_key) && version_compare($modul_version_available, $modul_version_installed) > 0) { echo ' - '.__('neue Version verfügbar', 'wpsg').''; if ($modul_info['active'] === true) { echo '
'; echo wpsg_translate(__('Version installieren.', 'wpsg'), WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Admin&action=registrierung&noheader=1&do=installModul&modul='.$modul_key.'&source='.$source); } } ?>