summaryrefslogtreecommitdiff
path: root/views/admin/licence.phtml
diff options
context:
space:
mode:
authorDaniel Schmitzer <noreply@maennchen1.de>2017-09-08 10:05:07 +0000
committerDaniel Schmitzer <noreply@maennchen1.de>2017-09-08 10:05:07 +0000
commita48b279544268da05a2260ad3de97fd5f257fa9d (patch)
tree7e295030550359eaee0ecfcd2b5417efd5ba797c /views/admin/licence.phtml
parentcb653c28aeb5929f7ec30c47c59b1180d3901c03 (diff)
- Lizenzverwaltung
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@6488 0d5edaf7-2b12-4e95-93f4-047927463d4b
Diffstat (limited to 'views/admin/licence.phtml')
-rw-r--r--views/admin/licence.phtml6
1 files changed, 3 insertions, 3 deletions
diff --git a/views/admin/licence.phtml b/views/admin/licence.phtml
index b4fbec5..2577736 100644
--- a/views/admin/licence.phtml
+++ b/views/admin/licence.phtml
@@ -6,7 +6,7 @@
$wpsg_update_data = wpsg_get_update_data();
- if (!is_array($wpsg_update_data) || !current_user_can('wpsg_lizence')) die();
+ if (!is_array($wpsg_update_data) || !current_user_can('wpsg_lizence') || !wpsg_isSizedInt($wpsg_update_data['returnCode'])) die();
?>
@@ -215,8 +215,8 @@
<?php echo __('enthalten', 'wpsg'); ?>
<?php } else { ?>
- <?php if (wpsg_isSizedString($modul_info['url_shop'])) { ?>
- <a href="<?php echo $modul_info['url_shop']; ?>" target="_blank"><?php echo __('Modulcode erwerben', 'wpsg'); ?></a>
+ <?php if (wpsg_isSizedString($modul_info['shop_url'])) { ?>
+ <a href="<?php echo $modul_info['shop_url']; ?>" target="_blank"><?php echo __('Modulcode erwerben', 'wpsg'); ?></a>
<?php } else { ?>
<a href="https://shop.maennchen1.de" target="_blank"><?php echo __('Modulcode erwerben', 'wpsg'); ?></a>
<?php } ?>