diff options
Diffstat (limited to 'views/admin')
| -rw-r--r-- | views/admin/module.phtml | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/views/admin/module.phtml b/views/admin/module.phtml index 2c0ffca..b54c7d2 100644 --- a/views/admin/module.phtml +++ b/views/admin/module.phtml @@ -54,10 +54,14 @@ <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 $modul_install = $this->get_option($_REQUEST['modul'], $this->view['global']); ?>
- <?php echo wpsg_drawForm_Select('aktiv', __('Modul aktiviert', 'wpsg'), array('0' => __('Nein', 'wpsg'), '1' => __('Ja', 'wpsg')), ((wpsg_isSizedInt($modul_install))?'1':'0')); ?>
-
+
+ <?php if (($this->arAllModule[$_REQUEST['modul']]->plugin_module??false) !== true) { ?>
+ <?php $modul_install = $this->get_option($_REQUEST['modul'], $this->view['global']); ?>
+ <?php echo wpsg_drawForm_Select('aktiv', __('Modul aktiviert', 'wpsg'), array('0' => __('Nein', 'wpsg'), '1' => __('Ja', 'wpsg')), ((wpsg_isSizedInt($modul_install))?'1':'0')); ?>
+ <?php } else { ?>
+ <input type="hidden" name="aktiv" value="1" />
+ <?php } ?>
+
<?php } ?>
<?php if (isset($this->arAllModule[$_REQUEST['modul']]->version)) { ?>
|
