Line 87... |
Line 87... |
87 |
|
87 |
|
88 |
<div class="cron_interval cron_interval_1" style="<?php echo (($this->view['profil']['cron_interval'] == '0')?'display:none;':''); ?>">
|
88 |
<div class="cron_interval cron_interval_1" style="<?php echo (($this->view['profil']['cron_interval'] == '0')?'display:none;':''); ?>">
|
89 |
|
89 |
|
90 |
<?php echo wpsg_drawForm_Text(__('Pfad', 'wpsg'), $this->view['profil']['cron_path'], 'cron_path', array('inlineEdit' => true, 'inlineEdit_url' => $inlineEdit_url)); ?>
|
90 |
<?php echo wpsg_drawForm_Text(__('Pfad', 'wpsg'), $this->view['profil']['cron_path'], 'cron_path', array('inlineEdit' => true, 'inlineEdit_url' => $inlineEdit_url)); ?>
|
91 |
<?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)); ?>
|
91 |
<?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)); ?>
|
- |
|
92 |
|
- |
|
93 |
<fieldset id="wpsg_mod_export_cron_url" style="display:<?php echo (($this->view['profil']['cron_interval'] !== wpsg_mod_export::CRON_ORDER)?'block':'none'); ?>;">
|
92 |
<?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)); ?>
|
94 |
<?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)); ?>
|
- |
|
95 |
</fieldset>
|
93 |
|
96 |
|
94 |
<?php if ($this->view['profil']['export_type'] === wpsg_mod_export::TYPE_ORDER) { ?>
|
97 |
<?php if ($this->view['profil']['export_type'] === wpsg_mod_export::TYPE_ORDER) { ?>
|
95 |
<fieldset id="wpsg_mod_export_orderfilter">
|
98 |
<fieldset id="wpsg_mod_export_orderfilter" style="display:<?php echo (($this->view['profil']['cron_interval'] !== wpsg_mod_export::CRON_ORDER)?'block':'none'); ?>;">
|
96 |
|
99 |
|
97 |
<legend><div class="col-sm-offset-6"><?php echo __('Bestellfilter', 'wpsg'); ?></div></legend>
|
100 |
<legend><div class="col-sm-offset-6"><?php echo __('Bestellfilter', 'wpsg'); ?></div></legend>
|
98 |
|
101 |
|
99 |
<form id="wpsg_mod_export_searchfilter">
|
102 |
<form id="wpsg_mod_export_searchfilter">
|
100 |
|
103 |
|
Line 231... |
Line 234... |
231 |
<a onclick="return wpsg_mod_export_removeProfil(<?php echo $this->view['profil']['id']; ?>);" href="#"><span class="glyphicon glyphicon-trash wpsg-glyphicon"></span><?php echo __('Profil löschen', 'wpsg'); ?></a><br />
|
234 |
<a onclick="return wpsg_mod_export_removeProfil(<?php echo $this->view['profil']['id']; ?>);" href="#"><span class="glyphicon glyphicon-trash wpsg-glyphicon"></span><?php echo __('Profil löschen', 'wpsg'); ?></a><br />
|
232 |
<a href="<?php echo $download_url; ?>"><span class="glyphicon glyphicon-save wpsg-glyphicon"></span><?php echo __('Profil speichern', 'wpsg'); ?></a>
|
235 |
<a href="<?php echo $download_url; ?>"><span class="glyphicon glyphicon-save wpsg-glyphicon"></span><?php echo __('Profil speichern', 'wpsg'); ?></a>
|
233 |
|
236 |
|
234 |
<script type="text/javascript">/* <![CDATA[ */
|
237 |
<script type="text/javascript">/* <![CDATA[ */
|
235 |
|
238 |
|
236 |
function switchCronType(response, newValue)
|
239 |
function switchCronType(response, newValue) {
|
- |
|
240 |
|
- |
|
241 |
if (parseInt(newValue) === parseInt("<?php echo wpsg_mod_export::CRON_ORDER; ?>")) {
|
- |
|
242 |
|
- |
|
243 |
jQuery('#wpsg_mod_export_cron_url').hide();
|
- |
|
244 |
jQuery('#wpsg_mod_export_orderfilter').hide();
|
- |
|
245 |
|
- |
|
246 |
} else {
|
- |
|
247 |
|
- |
|
248 |
jQuery('#wpsg_mod_export_cron_url').show();
|
- |
|
249 |
jQuery('#wpsg_mod_export_orderfilter').show();
|
- |
|
250 |
|
237 |
{
|
251 |
}
|
238 |
|
252 |
|
239 |
if (newValue != "0") jQuery('.cron_interval_1').show();
|
253 |
if (newValue != "0") jQuery('.cron_interval_1').show();
|
240 |
else jQuery('.cron_interval_1').hide();
|
254 |
else jQuery('.cron_interval_1').hide();
|
241 |
|
255 |
|
242 |
}
|
256 |
}
|
243 |
|
257 |
|