diff options
Diffstat (limited to 'views/admin/module.phtml')
| -rw-r--r-- | views/admin/module.phtml | 10 |
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 } ?>
|
