summaryrefslogtreecommitdiff
path: root/views/admin/module.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/module.phtml
parentcb653c28aeb5929f7ec30c47c59b1180d3901c03 (diff)
- Lizenzverwaltung
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@6488 0d5edaf7-2b12-4e95-93f4-047927463d4b
Diffstat (limited to 'views/admin/module.phtml')
-rw-r--r--views/admin/module.phtml10
1 files changed, 5 insertions, 5 deletions
diff --git a/views/admin/module.phtml b/views/admin/module.phtml
index 394ee7a..51b830e 100644
--- a/views/admin/module.phtml
+++ b/views/admin/module.phtml
@@ -131,7 +131,7 @@
<?php } ?>
- <?php if (!isset($this->arAllModule[$_REQUEST['modul']]->version) || ((wpsg_isTrue($this->arAllModule[$_REQUEST['modul']]->free) || (is_array($this->arLizenz) && in_array($_REQUEST['modul'], (array)$this->arLizenz['mods'])) || $this->arAllModule[$_REQUEST['modul']]->getDemoDays() > 0))) { ?>
+ <?php if (!isset($this->arAllModule[$_REQUEST['modul']]->version) || ((wpsg_isTrue($this->arAllModule[$_REQUEST['modul']]->free) || (is_array($this->arLizenz) && in_array($_REQUEST['modul'], (array)$this->arLizenz['mods']))))) { ?>
<?php if ($this->arAllModule[$_REQUEST['modul']]->inline === true) { ?>
<p class="submit"><input type="submit" value="<?php echo __('Einstellungen speichern', 'wpsg'); ?>" class="button-primary" id="submit" name="submit"></p>
<?php } ?>
@@ -157,7 +157,7 @@
</form>
<?php } ?>
- <?php if (array_key_exists($_REQUEST['modul'], $this->arModule) && (!isset($this->arAllModule[$_REQUEST['modul']]->version) || (($this->arAllModule[$_REQUEST['modul']]->free === true || (is_array($this->arLizenz) && in_array($_REQUEST['modul'], (array)$this->arLizenz['mods'])) || $this->arAllModule[$_REQUEST['modul']]->getDemoDays() > 0)))) { ?>
+ <?php if (array_key_exists($_REQUEST['modul'], $this->arModule) && (!isset($this->arAllModule[$_REQUEST['modul']]->version) || (($this->arAllModule[$_REQUEST['modul']]->free === true || (is_array($this->arLizenz) && in_array($_REQUEST['modul'], (array)$this->arLizenz['mods'])))))) { ?>
<?php echo $this->arModule[$_REQUEST['modul']]->settings_edit_afterform(); ?>
<?php } ?>
@@ -196,7 +196,7 @@
<hr />
<?php $wpsg_update_data = wpsg_get_update_data(); ?>
- <?php if (wpsg_isSizedArray($wpsg_update_data)) { ?>
+ <?php if (wpsg_isSizedArray($wpsg_update_data['modulinfo'])) { ?>
<table class="table modultable">
<thead>
@@ -236,8 +236,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 } ?>