summaryrefslogtreecommitdiff
path: root/views/admin
diff options
context:
space:
mode:
authorDaniel Schmitzer <noreply@maennchen1.de>2016-05-18 15:51:59 +0000
committerDaniel Schmitzer <noreply@maennchen1.de>2016-05-18 15:51:59 +0000
commitfa949a5f112cc861fb518f6459f2bd4c7a22159b (patch)
treee9fdc3a288cef4820b7d0ff73cf2561400e656e5 /views/admin
parentf7eb12e8cd86e542225df8244aa7e7df6d28c19a (diff)
- Neues Variantenmodul
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@5488 0d5edaf7-2b12-4e95-93f4-047927463d4b
Diffstat (limited to 'views/admin')
-rw-r--r--views/admin/kundendaten_tab2.phtml4
-rw-r--r--views/admin/module.phtml11
2 files changed, 10 insertions, 5 deletions
diff --git a/views/admin/kundendaten_tab2.phtml b/views/admin/kundendaten_tab2.phtml
index 7be3fa8..836256a 100644
--- a/views/admin/kundendaten_tab2.phtml
+++ b/views/admin/kundendaten_tab2.phtml
@@ -45,7 +45,7 @@
<a href="#" class="wpsg-glyphlink-td" title="<?php echo __('Kundenvariable löschen', 'wpsg'); ?>" onclick="return wpsg_removeCustomField(<?php echo $c_id; ?>);"><span class="glyphicon glyphicon-trash"></span></a>
- <script type="text/javascript">
+ <script type="text/javascript">/* <![CDATA[ */
jQuery('#kundenvariable_name_<?php echo $c_id; ?>').wspg_editable('<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin&subaction=kundendaten&do=inlinedit&noheader=1', {
submitdata: {
@@ -59,7 +59,7 @@
});
- </script>
+ /* ]]> */</script>
</td>
</tr>
diff --git a/views/admin/module.phtml b/views/admin/module.phtml
index 2185d1f..4e1ee4b 100644
--- a/views/admin/module.phtml
+++ b/views/admin/module.phtml
@@ -37,14 +37,14 @@
<?php echo wpsg_drawForm_AdminboxStart($this->arAllModule[$_REQUEST['modul']]->name); ?>
<form name="form1" action="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin&amp;action=module&amp;modul=<?php echo $_REQUEST['modul']; ?>&amp;noheader=1" method="post" enctype="multipart/form-data">
- <h3>
+ <!-- <h3>
<?php echo $this->arAllModule[$_REQUEST['modul']]->name; ?>
<?php if (isset($this->arAllModule[$_REQUEST['modul']]->hilfeURL) && $this->arAllModule[$_REQUEST['modul']]->hilfeURL != '') { ?>
<a target="_blank" href="<?php echo $this->arAllModule[$_REQUEST['modul']]->hilfeURL; ?>" class="wpsg_form_help_notip"></a>
<?php } ?>
- </h3>
+ </h3> -->
- <p><?php echo $this->arAllModule[$_REQUEST['modul']]->desc; ?></p>
+ <p><?php echo $this->arAllModule[$_REQUEST['modul']]->desc; ?></p><br />
<?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')); ?>
@@ -94,6 +94,11 @@
<?php if ($this->arAllModule[$_REQUEST['modul']]->inline !== true) { ?>
</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 echo $this->arModule[$_REQUEST['modul']]->settings_edit_afterform(); ?>
+ <?php } ?>
+
<?php echo wpsg_drawForm_AdminboxEnd(); ?>
</div>
<?php } else { ?>