diff options
| author | Daniel Schmitzer <noreply@maennchen1.de> | 2022-11-02 07:27:18 +0000 |
|---|---|---|
| committer | Daniel Schmitzer <noreply@maennchen1.de> | 2022-11-02 07:27:18 +0000 |
| commit | dd1f02d16eba809b1839418276a953f8158b69d0 (patch) | |
| tree | 7d9555167c6a5a98bc1675d4146bac987698c3f5 /views/mods/mod_export/profil.phtml | |
| parent | a6cd31a06784373ff37b32bdce055f01bbfcbb44 (diff) | |
- Feature: Exportprofile: XML Erstellung verbessert
- Feature: Exportprofile: Automatischer Export bei Bestellung
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@8131 0d5edaf7-2b12-4e95-93f4-047927463d4b
Diffstat (limited to 'views/mods/mod_export/profil.phtml')
| -rw-r--r-- | views/mods/mod_export/profil.phtml | 26 |
1 files changed, 20 insertions, 6 deletions
diff --git a/views/mods/mod_export/profil.phtml b/views/mods/mod_export/profil.phtml index 5a946c3..4709b9c 100644 --- a/views/mods/mod_export/profil.phtml +++ b/views/mods/mod_export/profil.phtml @@ -89,10 +89,13 @@ <?php echo wpsg_drawForm_Text(__('Pfad', 'wpsg'), $this->view['profil']['cron_path'], 'cron_path', array('inlineEdit' => true, 'inlineEdit_url' => $inlineEdit_url)); ?>
<?php echo wpsg_drawForm_Text(__('Letzte Ausführung', 'wpsg'), (($this->view['profil']['cron_lastrun'] == '0000-00-00')?__('Noch nie', 'wpsg'):wpsg_formatTimestamp($this->view['profil']['cron_lastrun'], true)), false, array('noP' => false)); ?>
- <?php echo wpsg_drawForm_Text(__('Cron URL', 'wpsg'), '<a href="'.site_url().'/?wpsg_cron=1">'.site_url().'/?wpsg_cron=1</a>', false, array('noP' => false)); ?>
-
+
+ <fieldset id="wpsg_mod_export_cron_url" style="display:<?php echo (($this->view['profil']['cron_interval'] !== wpsg_mod_export::CRON_ORDER)?'block':'none'); ?>;">
+ <?php echo wpsg_drawForm_Text(__('Cron URL', 'wpsg'), '<a href="'.site_url().'/?wpsg_cron=1">'.site_url().'/?wpsg_cron=1</a>', false, array('noP' => false)); ?>
+ </fieldset>
+
<?php if ($this->view['profil']['export_type'] === wpsg_mod_export::TYPE_ORDER) { ?>
- <fieldset id="wpsg_mod_export_orderfilter">
+ <fieldset id="wpsg_mod_export_orderfilter" style="display:<?php echo (($this->view['profil']['cron_interval'] !== wpsg_mod_export::CRON_ORDER)?'block':'none'); ?>;">
<legend><div class="col-sm-offset-6"><?php echo __('Bestellfilter', 'wpsg'); ?></div></legend>
@@ -233,9 +236,20 @@ <script type="text/javascript">/* <