Version Description
Download this release
Release Info
Developer | wahid0003 |
Plugin | CTX Feed – WooCommerce Product Feed Manager Plugin |
Version | 2.2.29 |
Comparing to | |
See all releases |
Code changes from version 2.2.28 to 2.2.29
- README.txt +3 -0
- admin/js/woo-feed-admin.js +37 -0
- admin/partials/adform/add-feed.php +1 -52
- admin/partials/adroll/add-feed.php +1 -52
- admin/partials/adwords/add-feed.php +1 -52
- admin/partials/amazon/add-feed.php +1 -51
- admin/partials/become/add-feed.php +1 -52
- admin/partials/bing/add-feed.php +1 -52
- admin/partials/bol/add-feed.php +1 -52
- admin/partials/bonanza/add-feed.php +1 -52
- admin/partials/connexity/add-feed.php +1 -51
- admin/partials/crowdfox/add-feed.php +1 -52
- admin/partials/custom/add-feed.php +1 -52
- admin/partials/custom/edit-feed.php +17 -2
- admin/partials/facebook/add-feed.php +1 -52
- admin/partials/fruugo/add-feed.php +1 -52
- admin/partials/google/add-feed.php +1 -51
- admin/partials/jet/add-feed.php +1 -52
- admin/partials/kelkoo/add-feed.php +1 -51
- admin/partials/leguide/add-feed.php +1 -52
- admin/partials/nextag/add-feed.php +1 -51
- admin/partials/polyvore/add-feed.php +1 -52
- admin/partials/pricegrabber/add-feed.php +1 -51
- admin/partials/pricerunner/add-feed.php +1 -52
- admin/partials/pricespy/add-feed.php +1 -52
- admin/partials/prisjakt/add-feed.php +1 -52
- admin/partials/real/add-feed.php +1 -52
- admin/partials/shopbot/add-feed.php +1 -52
- admin/partials/shopmania/add-feed.php +1 -51
- admin/partials/shopping/add-feed.php +1 -51
- admin/partials/shopzilla/add-feed.php +1 -52
- admin/partials/twenga/add-feed.php +1 -52
- admin/partials/wish/add-feed.php +1 -52
- admin/partials/woo-feed-edit-template.php +16 -3
- includes/class-woo-feed.php +3 -1
- includes/classes/class-woo-feed-ftp.php +3 -1
- woo-feed.php +36 -8
README.txt
CHANGED
@@ -296,6 +296,9 @@ Using pro version:
|
|
296 |
|
297 |
== Changelog ==
|
298 |
|
|
|
|
|
|
|
299 |
= 2.2.28(2019-01-11) =
|
300 |
* Wordpress 5 compatibility checked
|
301 |
* Default cron interval set to 24 hours
|
296 |
|
297 |
== Changelog ==
|
298 |
|
299 |
+
= 2.2.29(2019-01-20) =
|
300 |
+
* Added: SFTP file upload to remote server
|
301 |
+
|
302 |
= 2.2.28(2019-01-11) =
|
303 |
* Wordpress 5 compatibility checked
|
304 |
* Default cron interval set to 24 hours
|
admin/js/woo-feed-admin.js
CHANGED
@@ -436,5 +436,42 @@
|
|
436 |
}(jQuery));
|
437 |
|
438 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
439 |
|
440 |
|
436 |
}(jQuery));
|
437 |
|
438 |
|
439 |
+
//Checking whether php ssh2 extension is added or not
|
440 |
+
|
441 |
+
(function ($) {
|
442 |
+
$(document).on('change', '.ftporsftp', function () {
|
443 |
+
server = $(this).val();
|
444 |
+
if (server == 'sftp') {
|
445 |
+
$('.ssh2_status').show();
|
446 |
+
$('.ssh2_status').css('color','dodgerblue');
|
447 |
+
$('.ssh2_status').text('Wait! Checking Extensions ...');
|
448 |
+
$.ajax({
|
449 |
+
url: wpf_ajax_obj.wpf_ajax_url,
|
450 |
+
type: 'post',
|
451 |
+
data: {
|
452 |
+
_ajax_nonce: wpf_ajax_obj.nonce,
|
453 |
+
action: "get_ssh2_status",
|
454 |
+
server: server
|
455 |
+
},
|
456 |
+
success: function (response) {
|
457 |
+
if (response.success) {
|
458 |
+
if(response.data == 'exists') {
|
459 |
+
$('.ssh2_status').hide();
|
460 |
+
} else {
|
461 |
+
$('.ssh2_status').show();
|
462 |
+
$('.ssh2_status').css('color','red');
|
463 |
+
$('.ssh2_status').text('Warning! Enable PHP ssh2 extension to use SFTP. Contact your server administrator.');
|
464 |
+
}
|
465 |
+
}
|
466 |
+
}
|
467 |
+
});
|
468 |
+
}else{
|
469 |
+
$('.ssh2_status').hide();
|
470 |
+
}
|
471 |
+
});
|
472 |
+
}(jQuery));
|
473 |
+
|
474 |
+
|
475 |
+
|
476 |
|
477 |
|
admin/partials/adform/add-feed.php
CHANGED
@@ -342,57 +342,6 @@
|
|
342 |
</table>
|
343 |
</div>
|
344 |
</li>
|
345 |
-
|
346 |
-
<input type="radio" name="wf_tabs" id="tab3"/>
|
347 |
-
<label class="wf-tab-name" for="tab3"><?php echo _e('FTP', 'woo-feed'); ?></label>
|
348 |
-
|
349 |
-
<div id="wf-tab-content3" class="wf-tab-content">
|
350 |
-
<table class="table widefat fixed mtable" width="100%">
|
351 |
-
<tbody>
|
352 |
-
<tr>
|
353 |
-
<td><?php echo _e('Enabled', 'woo-feed'); ?></td>
|
354 |
-
<td>
|
355 |
-
<select name="ftpenabled" id="">
|
356 |
-
<option value="0"><?php echo _e('Disabled', 'woo-feed'); ?></option>
|
357 |
-
<option value="1"><?php echo _e('Enabled', 'woo-feed'); ?></option>
|
358 |
-
</select>
|
359 |
-
</td>
|
360 |
-
</tr>
|
361 |
-
<tr>
|
362 |
-
<td><?php echo _e('Host Name', 'woo-feed'); ?></td>
|
363 |
-
<td><input type="text" name="ftphost"/></td>
|
364 |
-
</tr>
|
365 |
-
<tr>
|
366 |
-
<td><?php echo _e('User Name', 'woo-feed'); ?></td>
|
367 |
-
<td><input type="text" name="ftpuser"/></td>
|
368 |
-
</tr>
|
369 |
-
<tr>
|
370 |
-
<td><?php echo _e('Password', 'woo-feed'); ?></td>
|
371 |
-
<td><input type="password" name="ftppassword"/></td>
|
372 |
-
</tr>
|
373 |
-
<tr>
|
374 |
-
<td><?php echo _e( 'Port', 'woo-feed' ); ?></td>
|
375 |
-
<td><input type="text" name="ftpport" value="21"/></td>
|
376 |
-
</tr>
|
377 |
-
<tr>
|
378 |
-
<td><?php echo _e('Path', 'woo-feed'); ?></td>
|
379 |
-
<td><input type="text" name="ftppath"/></td>
|
380 |
-
</tr>
|
381 |
-
</tbody>
|
382 |
-
</table>
|
383 |
-
<table class=" widefat fixed">
|
384 |
-
<tr>
|
385 |
-
<td align="left" class="makeFeedResponse">
|
386 |
-
|
387 |
-
</td>
|
388 |
-
<td align="right">
|
389 |
-
<button type="submit" id="wf_submit" class="wfbtn">
|
390 |
-
<?php echo _e('Save & Generate Feed', 'woo-feed'); ?>
|
391 |
-
</button>
|
392 |
-
</td>
|
393 |
-
</tr>
|
394 |
-
</table>
|
395 |
-
</div>
|
396 |
-
</li>
|
397 |
|
398 |
</ul>
|
342 |
</table>
|
343 |
</div>
|
344 |
</li>
|
345 |
+
<?php include plugin_dir_path(__FILE__) . "../woo-feed-ftp-sftp-template.php"; ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
346 |
|
347 |
</ul>
|
admin/partials/adroll/add-feed.php
CHANGED
@@ -702,57 +702,6 @@
|
|
702 |
</table>
|
703 |
</div>
|
704 |
</li>
|
705 |
-
|
706 |
-
<input type="radio" name="wf_tabs" id="tab3"/>
|
707 |
-
<label class="wf-tab-name" for="tab3"><?php echo _e( 'FTP', 'woo-feed' ); ?></label>
|
708 |
-
|
709 |
-
<div id="wf-tab-content3" class="wf-tab-content">
|
710 |
-
<table class="table widefat fixed mtable" width="100%">
|
711 |
-
<tbody>
|
712 |
-
<tr>
|
713 |
-
<td><?php echo _e( 'Enabled', 'woo-feed' ); ?></td>
|
714 |
-
<td>
|
715 |
-
<select name="ftpenabled" id="">
|
716 |
-
<option value="0"><?php echo _e( 'Disabled', 'woo-feed' ); ?></option>
|
717 |
-
<option value="1"><?php echo _e( 'Enabled', 'woo-feed' ); ?></option>
|
718 |
-
</select>
|
719 |
-
</td>
|
720 |
-
</tr>
|
721 |
-
<tr>
|
722 |
-
<td><?php echo _e( 'Host Name', 'woo-feed' ); ?></td>
|
723 |
-
<td><input type="text" name="ftphost"/></td>
|
724 |
-
</tr>
|
725 |
-
<tr>
|
726 |
-
<td><?php echo _e( 'User Name', 'woo-feed' ); ?></td>
|
727 |
-
<td><input type="text" name="ftpuser"/></td>
|
728 |
-
</tr>
|
729 |
-
<tr>
|
730 |
-
<td><?php echo _e( 'Password', 'woo-feed' ); ?></td>
|
731 |
-
<td><input type="password" name="ftppassword"/></td>
|
732 |
-
</tr>
|
733 |
-
<tr>
|
734 |
-
<td><?php echo _e( 'Port', 'woo-feed' ); ?></td>
|
735 |
-
<td><input type="text" name="ftpport" value="21"/></td>
|
736 |
-
</tr>
|
737 |
-
<tr>
|
738 |
-
<td><?php echo _e( 'Path', 'woo-feed' ); ?></td>
|
739 |
-
<td><input type="text" name="ftppath"/></td>
|
740 |
-
</tr>
|
741 |
-
</tbody>
|
742 |
-
</table>
|
743 |
-
<table class=" widefat fixed">
|
744 |
-
<tr>
|
745 |
-
<td align="left" class="makeFeedResponse">
|
746 |
-
|
747 |
-
</td>
|
748 |
-
<td align="right">
|
749 |
-
<button type="submit" id="wf_submit" class="wfbtn">
|
750 |
-
<?php echo _e( 'Save & Generate Feed', 'woo-feed' ); ?>
|
751 |
-
</button>
|
752 |
-
</td>
|
753 |
-
</tr>
|
754 |
-
</table>
|
755 |
-
</div>
|
756 |
-
</li>
|
757 |
|
758 |
</ul>
|
702 |
</table>
|
703 |
</div>
|
704 |
</li>
|
705 |
+
<?php include plugin_dir_path(__FILE__) . "../woo-feed-ftp-sftp-template.php"; ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
706 |
|
707 |
</ul>
|
admin/partials/adwords/add-feed.php
CHANGED
@@ -636,57 +636,6 @@
|
|
636 |
</table>
|
637 |
</div>
|
638 |
</li>
|
639 |
-
|
640 |
-
<input type="radio" name="wf_tabs" id="tab3"/>
|
641 |
-
<label class="wf-tab-name" for="tab3"><?php echo _e('FTP', 'woo-feed'); ?></label>
|
642 |
-
|
643 |
-
<div id="wf-tab-content3" class="wf-tab-content">
|
644 |
-
<table class="table widefat fixed mtable" width="100%">
|
645 |
-
<tbody>
|
646 |
-
<tr>
|
647 |
-
<td><?php echo _e('Enabled', 'woo-feed'); ?></td>
|
648 |
-
<td>
|
649 |
-
<select name="ftpenabled" id="">
|
650 |
-
<option value="0"><?php echo _e('Disabled', 'woo-feed'); ?></option>
|
651 |
-
<option value="1"><?php echo _e('Enabled', 'woo-feed'); ?></option>
|
652 |
-
</select>
|
653 |
-
</td>
|
654 |
-
</tr>
|
655 |
-
<tr>
|
656 |
-
<td><?php echo _e('Host Name', 'woo-feed'); ?></td>
|
657 |
-
<td><input type="text" name="ftphost"/></td>
|
658 |
-
</tr>
|
659 |
-
<tr>
|
660 |
-
<td><?php echo _e('User Name', 'woo-feed'); ?></td>
|
661 |
-
<td><input type="text" name="ftpuser"/></td>
|
662 |
-
</tr>
|
663 |
-
<tr>
|
664 |
-
<td><?php echo _e('Password', 'woo-feed'); ?></td>
|
665 |
-
<td><input type="password" name="ftppassword"/></td>
|
666 |
-
</tr>
|
667 |
-
<tr>
|
668 |
-
<td><?php echo _e( 'Port', 'woo-feed' ); ?></td>
|
669 |
-
<td><input type="text" name="ftpport" value="21"/></td>
|
670 |
-
</tr>
|
671 |
-
<tr>
|
672 |
-
<td><?php echo _e('Path', 'woo-feed'); ?></td>
|
673 |
-
<td><input type="text" name="ftppath"/></td>
|
674 |
-
</tr>
|
675 |
-
</tbody>
|
676 |
-
</table>
|
677 |
-
<table class=" widefat fixed">
|
678 |
-
<tr>
|
679 |
-
<td align="left" class="makeFeedResponse">
|
680 |
-
|
681 |
-
</td>
|
682 |
-
<td align="right">
|
683 |
-
<button type="submit" id="wf_submit" class="wfbtn">
|
684 |
-
<?php echo _e('Save & Generate Feed', 'woo-feed'); ?>
|
685 |
-
</button>
|
686 |
-
</td>
|
687 |
-
</tr>
|
688 |
-
</table>
|
689 |
-
</div>
|
690 |
-
</li>
|
691 |
|
692 |
</ul>
|
636 |
</table>
|
637 |
</div>
|
638 |
</li>
|
639 |
+
<?php include plugin_dir_path(__FILE__) . "../woo-feed-ftp-sftp-template.php"; ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
640 |
|
641 |
</ul>
|
admin/partials/amazon/add-feed.php
CHANGED
@@ -196,57 +196,7 @@
|
|
196 |
</div>
|
197 |
</li>
|
198 |
<?php } ?>
|
199 |
-
<li>
|
200 |
-
<input type="radio" name="wf_tabs" id="tab3"/>
|
201 |
-
<label class="wf-tab-name" for="tab3"><?php echo _e('FTP', 'woo-feed'); ?></label>
|
202 |
|
203 |
-
|
204 |
-
<table class="table widefat fixed mtable" width="100%">
|
205 |
-
<tbody>
|
206 |
-
<tr>
|
207 |
-
<td><?php echo _e('Enabled', 'woo-feed'); ?></td>
|
208 |
-
<td>
|
209 |
-
<select name="ftpenabled" id="">
|
210 |
-
<option value="0"><?php echo _e('Disabled', 'woo-feed'); ?></option>
|
211 |
-
<option value="1"><?php echo _e('Enabled', 'woo-feed'); ?></option>
|
212 |
-
</select>
|
213 |
-
</td>
|
214 |
-
</tr>
|
215 |
-
<tr>
|
216 |
-
<td><?php echo _e('Host Name', 'woo-feed'); ?></td>
|
217 |
-
<td><input type="text" name="ftphost"/></td>
|
218 |
-
</tr>
|
219 |
-
<tr>
|
220 |
-
<td><?php echo _e('User Name', 'woo-feed'); ?></td>
|
221 |
-
<td><input type="text" name="ftpuser"/></td>
|
222 |
-
</tr>
|
223 |
-
<tr>
|
224 |
-
<td><?php echo _e('Password', 'woo-feed'); ?></td>
|
225 |
-
<td><input type="password" name="ftppassword"/></td>
|
226 |
-
</tr>
|
227 |
-
<tr>
|
228 |
-
<td><?php echo _e( 'Port', 'woo-feed' ); ?></td>
|
229 |
-
<td><input type="text" name="ftpport" value="21"/></td>
|
230 |
-
</tr>
|
231 |
-
<tr>
|
232 |
-
<td><?php echo _e('Path', 'woo-feed'); ?></td>
|
233 |
-
<td><input type="text" name="ftppath"/></td>
|
234 |
-
</tr>
|
235 |
-
</tbody>
|
236 |
-
</table>
|
237 |
-
<table class=" widefat fixed">
|
238 |
-
<tr>
|
239 |
-
<td align="left" class="makeFeedResponse">
|
240 |
-
|
241 |
-
</td>
|
242 |
-
<td align="right">
|
243 |
-
<button type="submit" id="wf_submit" class="wfbtn">
|
244 |
-
<?php echo _e('Save & Generate Feed', 'woo-feed'); ?>
|
245 |
-
</button>
|
246 |
-
</td>
|
247 |
-
</tr>
|
248 |
-
</table>
|
249 |
-
</div>
|
250 |
-
</li>
|
251 |
|
252 |
</ul>
|
196 |
</div>
|
197 |
</li>
|
198 |
<?php } ?>
|
|
|
|
|
|
|
199 |
|
200 |
+
<?php include plugin_dir_path(__FILE__) . "../woo-feed-ftp-sftp-template.php"; ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
201 |
|
202 |
</ul>
|
admin/partials/become/add-feed.php
CHANGED
@@ -489,57 +489,6 @@
|
|
489 |
</table>
|
490 |
</div>
|
491 |
</li>
|
492 |
-
|
493 |
-
<input type="radio" name="wf_tabs" id="tab3"/>
|
494 |
-
<label class="wf-tab-name" for="tab3"><?php echo _e('FTP', 'woo-feed'); ?></label>
|
495 |
-
|
496 |
-
<div id="wf-tab-content3" class="wf-tab-content">
|
497 |
-
<table class="table widefat fixed mtable" width="100%">
|
498 |
-
<tbody>
|
499 |
-
<tr>
|
500 |
-
<td><?php echo _e('Enabled', 'woo-feed'); ?></td>
|
501 |
-
<td>
|
502 |
-
<select name="ftpenabled" id="">
|
503 |
-
<option value="0"><?php echo _e('Disabled', 'woo-feed'); ?></option>
|
504 |
-
<option value="1"><?php echo _e('Enabled', 'woo-feed'); ?></option>
|
505 |
-
</select>
|
506 |
-
</td>
|
507 |
-
</tr>
|
508 |
-
<tr>
|
509 |
-
<td><?php echo _e('Host Name', 'woo-feed'); ?></td>
|
510 |
-
<td><input type="text" name="ftphost"/></td>
|
511 |
-
</tr>
|
512 |
-
<tr>
|
513 |
-
<td><?php echo _e('User Name', 'woo-feed'); ?></td>
|
514 |
-
<td><input type="text" name="ftpuser"/></td>
|
515 |
-
</tr>
|
516 |
-
<tr>
|
517 |
-
<td><?php echo _e('Password', 'woo-feed'); ?></td>
|
518 |
-
<td><input type="password" name="ftppassword"/></td>
|
519 |
-
</tr>
|
520 |
-
<tr>
|
521 |
-
<td><?php echo _e( 'Port', 'woo-feed' ); ?></td>
|
522 |
-
<td><input type="text" name="ftpport" value="21"/></td>
|
523 |
-
</tr>
|
524 |
-
<tr>
|
525 |
-
<td><?php echo _e('Path', 'woo-feed'); ?></td>
|
526 |
-
<td><input type="text" name="ftppath"/></td>
|
527 |
-
</tr>
|
528 |
-
</tbody>
|
529 |
-
</table>
|
530 |
-
<table class=" widefat fixed">
|
531 |
-
<tr>
|
532 |
-
<td align="left" class="makeFeedResponse">
|
533 |
-
|
534 |
-
</td>
|
535 |
-
<td align="right">
|
536 |
-
<button type="submit" id="wf_submit" class="wfbtn">
|
537 |
-
<?php echo _e('Save & Generate Feed', 'woo-feed'); ?>
|
538 |
-
</button>
|
539 |
-
</td>
|
540 |
-
</tr>
|
541 |
-
</table>
|
542 |
-
</div>
|
543 |
-
</li>
|
544 |
|
545 |
</ul>
|
489 |
</table>
|
490 |
</div>
|
491 |
</li>
|
492 |
+
<?php include plugin_dir_path(__FILE__) . "../woo-feed-ftp-sftp-template.php"; ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
493 |
|
494 |
</ul>
|
admin/partials/bing/add-feed.php
CHANGED
@@ -108,57 +108,6 @@ foreach($attributes->bingAttribute() as $key=>$value){
|
|
108 |
</table>
|
109 |
</div>
|
110 |
</li>
|
111 |
-
|
112 |
-
<input type="radio" name="wf_tabs" id="tab3"/>
|
113 |
-
<label class="wf-tab-name" for="tab3"><?php echo _e('FTP', 'woo-feed'); ?></label>
|
114 |
-
|
115 |
-
<div id="wf-tab-content3" class="wf-tab-content">
|
116 |
-
<table class="table widefat fixed mtable" width="100%">
|
117 |
-
<tbody>
|
118 |
-
<tr>
|
119 |
-
<td><?php echo _e('Enabled', 'woo-feed'); ?></td>
|
120 |
-
<td>
|
121 |
-
<select name="ftpenabled" id="">
|
122 |
-
<option value="0"><?php echo _e('Disabled', 'woo-feed'); ?></option>
|
123 |
-
<option value="1"><?php echo _e('Enabled', 'woo-feed'); ?></option>
|
124 |
-
</select>
|
125 |
-
</td>
|
126 |
-
</tr>
|
127 |
-
<tr>
|
128 |
-
<td><?php echo _e('Host Name', 'woo-feed'); ?></td>
|
129 |
-
<td><input type="text" name="ftphost"/></td>
|
130 |
-
</tr>
|
131 |
-
<tr>
|
132 |
-
<td><?php echo _e('User Name', 'woo-feed'); ?></td>
|
133 |
-
<td><input type="text" name="ftpuser"/></td>
|
134 |
-
</tr>
|
135 |
-
<tr>
|
136 |
-
<td><?php echo _e('Password', 'woo-feed'); ?></td>
|
137 |
-
<td><input type="password" name="ftppassword"/></td>
|
138 |
-
</tr>
|
139 |
-
<tr>
|
140 |
-
<td><?php echo _e( 'Port', 'woo-feed' ); ?></td>
|
141 |
-
<td><input type="text" name="ftpport" value="21"/></td>
|
142 |
-
</tr>
|
143 |
-
<tr>
|
144 |
-
<td><?php echo _e('Path', 'woo-feed'); ?></td>
|
145 |
-
<td><input type="text" name="ftppath"/></td>
|
146 |
-
</tr>
|
147 |
-
</tbody>
|
148 |
-
</table>
|
149 |
-
<table class=" widefat fixed">
|
150 |
-
<tr>
|
151 |
-
<td align="left" class="makeFeedResponse">
|
152 |
-
|
153 |
-
</td>
|
154 |
-
<td align="right">
|
155 |
-
<button type="submit" id="wf_submit" class="wfbtn">
|
156 |
-
<?php echo _e('Save & Generate Feed', 'woo-feed'); ?>
|
157 |
-
</button>
|
158 |
-
</td>
|
159 |
-
</tr>
|
160 |
-
</table>
|
161 |
-
</div>
|
162 |
-
</li>
|
163 |
|
164 |
</ul>
|
108 |
</table>
|
109 |
</div>
|
110 |
</li>
|
111 |
+
<?php include plugin_dir_path(__FILE__) . "../woo-feed-ftp-sftp-template.php"; ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
112 |
|
113 |
</ul>
|
admin/partials/bol/add-feed.php
CHANGED
@@ -391,57 +391,6 @@
|
|
391 |
</table>
|
392 |
</div>
|
393 |
</li>
|
394 |
-
|
395 |
-
<input type="radio" name="wf_tabs" id="tab3"/>
|
396 |
-
<label class="wf-tab-name" for="tab3"><?php echo _e('FTP', 'woo-feed'); ?></label>
|
397 |
-
|
398 |
-
<div id="wf-tab-content3" class="wf-tab-content">
|
399 |
-
<table class="table widefat fixed mtable" width="100%">
|
400 |
-
<tbody>
|
401 |
-
<tr>
|
402 |
-
<td><?php echo _e('Enabled', 'woo-feed'); ?></td>
|
403 |
-
<td>
|
404 |
-
<select name="ftpenabled" id="">
|
405 |
-
<option value="0"><?php echo _e('Disabled', 'woo-feed'); ?></option>
|
406 |
-
<option value="1"><?php echo _e('Enabled', 'woo-feed'); ?></option>
|
407 |
-
</select>
|
408 |
-
</td>
|
409 |
-
</tr>
|
410 |
-
<tr>
|
411 |
-
<td><?php echo _e('Host Name', 'woo-feed'); ?></td>
|
412 |
-
<td><input type="text" name="ftphost"/></td>
|
413 |
-
</tr>
|
414 |
-
<tr>
|
415 |
-
<td><?php echo _e('User Name', 'woo-feed'); ?></td>
|
416 |
-
<td><input type="text" name="ftpuser"/></td>
|
417 |
-
</tr>
|
418 |
-
<tr>
|
419 |
-
<td><?php echo _e('Password', 'woo-feed'); ?></td>
|
420 |
-
<td><input type="password" name="ftppassword"/></td>
|
421 |
-
</tr>
|
422 |
-
<tr>
|
423 |
-
<td><?php echo _e( 'Port', 'woo-feed' ); ?></td>
|
424 |
-
<td><input type="text" name="ftpport" value="21"/></td>
|
425 |
-
</tr>
|
426 |
-
<tr>
|
427 |
-
<td><?php echo _e('Path', 'woo-feed'); ?></td>
|
428 |
-
<td><input type="text" name="ftppath"/></td>
|
429 |
-
</tr>
|
430 |
-
</tbody>
|
431 |
-
</table>
|
432 |
-
<table class=" widefat fixed">
|
433 |
-
<tr>
|
434 |
-
<td align="left" class="makeFeedResponse">
|
435 |
-
|
436 |
-
</td>
|
437 |
-
<td align="right">
|
438 |
-
<button type="submit" id="wf_submit" class="wfbtn">
|
439 |
-
<?php echo _e('Save & Generate Feed', 'woo-feed'); ?>
|
440 |
-
</button>
|
441 |
-
</td>
|
442 |
-
</tr>
|
443 |
-
</table>
|
444 |
-
</div>
|
445 |
-
</li>
|
446 |
|
447 |
</ul>
|
391 |
</table>
|
392 |
</div>
|
393 |
</li>
|
394 |
+
<?php include plugin_dir_path(__FILE__) . "../woo-feed-ftp-sftp-template.php"; ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
395 |
|
396 |
</ul>
|
admin/partials/bonanza/add-feed.php
CHANGED
@@ -1077,57 +1077,6 @@
|
|
1077 |
</table>
|
1078 |
</div>
|
1079 |
</li>
|
1080 |
-
|
1081 |
-
<input type="radio" name="wf_tabs" id="tab3"/>
|
1082 |
-
<label class="wf-tab-name" for="tab3"><?php echo _e('FTP', 'woo-feed'); ?></label>
|
1083 |
-
|
1084 |
-
<div id="wf-tab-content3" class="wf-tab-content">
|
1085 |
-
<table class="table widefat fixed mtable" width="100%">
|
1086 |
-
<tbody>
|
1087 |
-
<tr>
|
1088 |
-
<td><?php echo _e('Enabled', 'woo-feed'); ?></td>
|
1089 |
-
<td>
|
1090 |
-
<select name="ftpenabled" id="">
|
1091 |
-
<option value="0"><?php echo _e('Disabled', 'woo-feed'); ?></option>
|
1092 |
-
<option value="1"><?php echo _e('Enabled', 'woo-feed'); ?></option>
|
1093 |
-
</select>
|
1094 |
-
</td>
|
1095 |
-
</tr>
|
1096 |
-
<tr>
|
1097 |
-
<td><?php echo _e('Host Name', 'woo-feed'); ?></td>
|
1098 |
-
<td><input type="text" name="ftphost"/></td>
|
1099 |
-
</tr>
|
1100 |
-
<tr>
|
1101 |
-
<td><?php echo _e('User Name', 'woo-feed'); ?></td>
|
1102 |
-
<td><input type="text" name="ftpuser"/></td>
|
1103 |
-
</tr>
|
1104 |
-
<tr>
|
1105 |
-
<td><?php echo _e('Password', 'woo-feed'); ?></td>
|
1106 |
-
<td><input type="password" name="ftppassword"/></td>
|
1107 |
-
</tr>
|
1108 |
-
<tr>
|
1109 |
-
<td><?php echo _e( 'Port', 'woo-feed' ); ?></td>
|
1110 |
-
<td><input type="text" name="ftpport" value="21"/></td>
|
1111 |
-
</tr>
|
1112 |
-
<tr>
|
1113 |
-
<td><?php echo _e('Path', 'woo-feed'); ?></td>
|
1114 |
-
<td><input type="text" name="ftppath"/></td>
|
1115 |
-
</tr>
|
1116 |
-
</tbody>
|
1117 |
-
</table>
|
1118 |
-
<table class=" widefat fixed">
|
1119 |
-
<tr>
|
1120 |
-
<td align="left" class="makeFeedResponse">
|
1121 |
-
|
1122 |
-
</td>
|
1123 |
-
<td align="right">
|
1124 |
-
<button type="submit" id="wf_submit" class="wfbtn">
|
1125 |
-
<?php echo _e('Save & Generate Feed', 'woo-feed'); ?>
|
1126 |
-
</button>
|
1127 |
-
</td>
|
1128 |
-
</tr>
|
1129 |
-
</table>
|
1130 |
-
</div>
|
1131 |
-
</li>
|
1132 |
|
1133 |
</ul>
|
1077 |
</table>
|
1078 |
</div>
|
1079 |
</li>
|
1080 |
+
<?php include plugin_dir_path(__FILE__) . "../woo-feed-ftp-sftp-template.php"; ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1081 |
|
1082 |
</ul>
|
admin/partials/connexity/add-feed.php
CHANGED
@@ -488,56 +488,6 @@
|
|
488 |
</table>
|
489 |
</div>
|
490 |
</li>
|
491 |
-
|
492 |
-
<input type="radio" name="wf_tabs" id="tab3"/>
|
493 |
-
<label class="wf-tab-name" for="tab3"><?php echo _e('FTP','woo-feed');?></label>
|
494 |
-
<div id="wf-tab-content3" class="wf-tab-content">
|
495 |
-
<table class="table widefat fixed mtable" width="100%" >
|
496 |
-
<tbody>
|
497 |
-
<tr>
|
498 |
-
<td><?php echo _e('Enabled','woo-feed');?></td>
|
499 |
-
<td>
|
500 |
-
<select name="ftpenabled" id="">
|
501 |
-
<option value="0"><?php echo _e('Disabled','woo-feed');?></option>
|
502 |
-
<option value="1"><?php echo _e('Enabled','woo-feed');?></option>
|
503 |
-
</select>
|
504 |
-
</td>
|
505 |
-
</tr>
|
506 |
-
<tr>
|
507 |
-
<td><?php echo _e('Host Name','woo-feed');?></td>
|
508 |
-
<td><input type="text" name="ftphost"/></td>
|
509 |
-
</tr>
|
510 |
-
<tr>
|
511 |
-
<td><?php echo _e('User Name','woo-feed');?></td>
|
512 |
-
<td><input type="text" name="ftpuser"/></td>
|
513 |
-
</tr>
|
514 |
-
<tr>
|
515 |
-
<td><?php echo _e('Password','woo-feed');?></td>
|
516 |
-
<td><input type="password" name="ftppassword"/></td>
|
517 |
-
</tr>
|
518 |
-
<tr>
|
519 |
-
<td><?php echo _e( 'Port', 'woo-feed' ); ?></td>
|
520 |
-
<td><input type="text" name="ftpport" value="21"/></td>
|
521 |
-
</tr>
|
522 |
-
<tr>
|
523 |
-
<td><?php echo _e('Path','woo-feed');?></td>
|
524 |
-
<td><input type="text" name="ftppath"/></td>
|
525 |
-
</tr>
|
526 |
-
</tbody>
|
527 |
-
</table>
|
528 |
-
<table class=" widefat fixed">
|
529 |
-
<tr>
|
530 |
-
<td align="left" class="makeFeedResponse">
|
531 |
-
|
532 |
-
</td>
|
533 |
-
<td align="right">
|
534 |
-
<button type="submit" id="wf_submit" class="wfbtn">
|
535 |
-
<?php echo _e('Save & Generate Feed','woo-feed');?>
|
536 |
-
</button>
|
537 |
-
</td>
|
538 |
-
</tr>
|
539 |
-
</table>
|
540 |
-
</div>
|
541 |
-
</li>
|
542 |
|
543 |
</ul>
|
488 |
</table>
|
489 |
</div>
|
490 |
</li>
|
491 |
+
<?php include plugin_dir_path(__FILE__) . "../woo-feed-ftp-sftp-template.php"; ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
492 |
|
493 |
</ul>
|
admin/partials/crowdfox/add-feed.php
CHANGED
@@ -734,57 +734,6 @@
|
|
734 |
</table>
|
735 |
</div>
|
736 |
</li>
|
737 |
-
|
738 |
-
<input type="radio" name="wf_tabs" id="tab3"/>
|
739 |
-
<label class="wf-tab-name" for="tab3"><?php echo _e('FTP', 'woo-feed'); ?></label>
|
740 |
-
|
741 |
-
<div id="wf-tab-content3" class="wf-tab-content">
|
742 |
-
<table class="table widefat fixed mtable" width="100%">
|
743 |
-
<tbody>
|
744 |
-
<tr>
|
745 |
-
<td><?php echo _e('Enabled', 'woo-feed'); ?></td>
|
746 |
-
<td>
|
747 |
-
<select name="ftpenabled" id="">
|
748 |
-
<option value="0"><?php echo _e('Disabled', 'woo-feed'); ?></option>
|
749 |
-
<option value="1"><?php echo _e('Enabled', 'woo-feed'); ?></option>
|
750 |
-
</select>
|
751 |
-
</td>
|
752 |
-
</tr>
|
753 |
-
<tr>
|
754 |
-
<td><?php echo _e('Host Name', 'woo-feed'); ?></td>
|
755 |
-
<td><input type="text" name="ftphost"/></td>
|
756 |
-
</tr>
|
757 |
-
<tr>
|
758 |
-
<td><?php echo _e('User Name', 'woo-feed'); ?></td>
|
759 |
-
<td><input type="text" name="ftpuser"/></td>
|
760 |
-
</tr>
|
761 |
-
<tr>
|
762 |
-
<td><?php echo _e('Password', 'woo-feed'); ?></td>
|
763 |
-
<td><input type="password" name="ftppassword"/></td>
|
764 |
-
</tr>
|
765 |
-
<tr>
|
766 |
-
<td><?php echo _e( 'Port', 'woo-feed' ); ?></td>
|
767 |
-
<td><input type="text" name="ftpport" value="21"/></td>
|
768 |
-
</tr>
|
769 |
-
<tr>
|
770 |
-
<td><?php echo _e('Path', 'woo-feed'); ?></td>
|
771 |
-
<td><input type="text" name="ftppath"/></td>
|
772 |
-
</tr>
|
773 |
-
</tbody>
|
774 |
-
</table>
|
775 |
-
<table class=" widefat fixed">
|
776 |
-
<tr>
|
777 |
-
<td align="left" class="makeFeedResponse">
|
778 |
-
|
779 |
-
</td>
|
780 |
-
<td align="right">
|
781 |
-
<button type="submit" id="wf_submit" class="wfbtn">
|
782 |
-
<?php echo _e('Save & Generate Feed', 'woo-feed'); ?>
|
783 |
-
</button>
|
784 |
-
</td>
|
785 |
-
</tr>
|
786 |
-
</table>
|
787 |
-
</div>
|
788 |
-
</li>
|
789 |
|
790 |
</ul>
|
734 |
</table>
|
735 |
</div>
|
736 |
</li>
|
737 |
+
<?php include plugin_dir_path(__FILE__) . "../woo-feed-ftp-sftp-template.php"; ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
738 |
|
739 |
</ul>
|
admin/partials/custom/add-feed.php
CHANGED
@@ -97,57 +97,6 @@
|
|
97 |
</table>
|
98 |
</div>
|
99 |
</li>
|
100 |
-
|
101 |
-
<input type="radio" name="wf_tabs" id="tab3"/>
|
102 |
-
<label class="wf-tab-name" for="tab3"><?php echo _e('FTP', 'woo-feed'); ?></label>
|
103 |
-
|
104 |
-
<div id="wf-tab-content3" class="wf-tab-content">
|
105 |
-
<table class="table widefat fixed mtable" width="100%">
|
106 |
-
<tbody>
|
107 |
-
<tr>
|
108 |
-
<td><?php echo _e('Enabled', 'woo-feed'); ?></td>
|
109 |
-
<td>
|
110 |
-
<select name="ftpenabled" id="">
|
111 |
-
<option value="0"><?php echo _e('Disabled', 'woo-feed'); ?></option>
|
112 |
-
<option value="1"><?php echo _e('Enabled', 'woo-feed'); ?></option>
|
113 |
-
</select>
|
114 |
-
</td>
|
115 |
-
</tr>
|
116 |
-
<tr>
|
117 |
-
<td><?php echo _e('Host Name', 'woo-feed'); ?></td>
|
118 |
-
<td><input type="text" name="ftphost"/></td>
|
119 |
-
</tr>
|
120 |
-
<tr>
|
121 |
-
<td><?php echo _e('User Name', 'woo-feed'); ?></td>
|
122 |
-
<td><input type="text" name="ftpuser"/></td>
|
123 |
-
</tr>
|
124 |
-
<tr>
|
125 |
-
<td><?php echo _e('Password', 'woo-feed'); ?></td>
|
126 |
-
<td><input type="password" name="ftppassword"/></td>
|
127 |
-
</tr>
|
128 |
-
<tr>
|
129 |
-
<td><?php echo _e( 'Port', 'woo-feed' ); ?></td>
|
130 |
-
<td><input type="text" name="ftpport" value="21"/></td>
|
131 |
-
</tr>
|
132 |
-
<tr>
|
133 |
-
<td><?php echo _e('Path', 'woo-feed'); ?></td>
|
134 |
-
<td><input type="text" name="ftppath"/></td>
|
135 |
-
</tr>
|
136 |
-
</tbody>
|
137 |
-
</table>
|
138 |
-
<table class=" widefat fixed">
|
139 |
-
<tr>
|
140 |
-
<td align="left" class="makeFeedResponse">
|
141 |
-
|
142 |
-
</td>
|
143 |
-
<td align="right">
|
144 |
-
<button type="submit" id="wf_submit" class="wfbtn">
|
145 |
-
<?php echo _e('Save & Generate Feed', 'woo-feed'); ?>
|
146 |
-
</button>
|
147 |
-
</td>
|
148 |
-
</tr>
|
149 |
-
</table>
|
150 |
-
</div>
|
151 |
-
</li>
|
152 |
|
153 |
</ul>
|
97 |
</table>
|
98 |
</div>
|
99 |
</li>
|
100 |
+
<?php include plugin_dir_path(__FILE__) . "../woo-feed-ftp-sftp-template.php"; ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
101 |
|
102 |
</ul>
|
admin/partials/custom/edit-feed.php
CHANGED
@@ -2,6 +2,12 @@
|
|
2 |
$dropDown = new Woo_Feed_Dropdown();
|
3 |
$product = new Woo_Feed_Products();
|
4 |
$product->load_attributes();
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
?>
|
6 |
<div class="wrap" id="Feed">
|
7 |
<h2><?php echo _e('WooCommerce Product Feed', 'woo-feed'); ?></h2>
|
@@ -294,7 +300,7 @@ $product->load_attributes();
|
|
294 |
</li>
|
295 |
<li>
|
296 |
<input type="radio" name="wf_tabs" id="tab3"/>
|
297 |
-
<label class="wf-tab-name" for="tab3"><?php echo _e('FTP', 'woo-feed'); ?></label>
|
298 |
|
299 |
<div id="wf-tab-content3" class="wf-tab-content">
|
300 |
<table class="table widefat fixed mtable" width="100%">
|
@@ -312,7 +318,16 @@ $product->load_attributes();
|
|
312 |
</select>
|
313 |
</td>
|
314 |
</tr>
|
315 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
316 |
<tr>
|
317 |
<td><?php echo _e('Host Name', 'woo-feed'); ?></td>
|
318 |
<td><input type="text" value="<?php echo esc_attr($feedRules['ftphost']); ?>" name="ftphost"
|
2 |
$dropDown = new Woo_Feed_Dropdown();
|
3 |
$product = new Woo_Feed_Products();
|
4 |
$product->load_attributes();
|
5 |
+
|
6 |
+
# @since After adding the SFTP Feature
|
7 |
+
if(!isset($feedRules['ftporsftp'])){
|
8 |
+
$feedRules['ftporsftp']="ftp";
|
9 |
+
}
|
10 |
+
|
11 |
?>
|
12 |
<div class="wrap" id="Feed">
|
13 |
<h2><?php echo _e('WooCommerce Product Feed', 'woo-feed'); ?></h2>
|
300 |
</li>
|
301 |
<li>
|
302 |
<input type="radio" name="wf_tabs" id="tab3"/>
|
303 |
+
<label class="wf-tab-name" for="tab3"><?php echo _e('FTP / SFTP', 'woo-feed'); ?></label>
|
304 |
|
305 |
<div id="wf-tab-content3" class="wf-tab-content">
|
306 |
<table class="table widefat fixed mtable" width="100%">
|
318 |
</select>
|
319 |
</td>
|
320 |
</tr>
|
321 |
+
<tr>
|
322 |
+
<td><?php echo _e( 'Server Type', 'woo-feed' ); ?></td>
|
323 |
+
<td>
|
324 |
+
<select name="ftporsftp" id="" class="ftporsftp">
|
325 |
+
<option <?php echo ($feedRules['ftporsftp'] == "ftp") ? 'selected="selected"' : ''; ?> value="ftp"><?php echo _e( 'FTP', 'woo-feed' ); ?></option>
|
326 |
+
<option <?php echo ($feedRules['ftporsftp'] == "sftp") ? 'selected="selected"' : ''; ?>value="sftp"><?php echo _e( 'SFTP', 'woo-feed' ); ?></option>
|
327 |
+
</select>
|
328 |
+
<span class="ssh2_status"></span>
|
329 |
+
</td>
|
330 |
+
</tr>
|
331 |
<tr>
|
332 |
<td><?php echo _e('Host Name', 'woo-feed'); ?></td>
|
333 |
<td><input type="text" value="<?php echo esc_attr($feedRules['ftphost']); ?>" name="ftphost"
|
admin/partials/facebook/add-feed.php
CHANGED
@@ -699,57 +699,6 @@
|
|
699 |
</table>
|
700 |
</div>
|
701 |
</li>
|
702 |
-
|
703 |
-
<input type="radio" name="wf_tabs" id="tab3"/>
|
704 |
-
<label class="wf-tab-name" for="tab3"><?php echo _e('FTP', 'woo-feed'); ?></label>
|
705 |
-
|
706 |
-
<div id="wf-tab-content3" class="wf-tab-content">
|
707 |
-
<table class="table widefat fixed mtable" width="100%">
|
708 |
-
<tbody>
|
709 |
-
<tr>
|
710 |
-
<td><?php echo _e('Enabled', 'woo-feed'); ?></td>
|
711 |
-
<td>
|
712 |
-
<select name="ftpenabled" id="">
|
713 |
-
<option value="0"><?php echo _e('Disabled', 'woo-feed'); ?></option>
|
714 |
-
<option value="1"><?php echo _e('Enabled', 'woo-feed'); ?></option>
|
715 |
-
</select>
|
716 |
-
</td>
|
717 |
-
</tr>
|
718 |
-
<tr>
|
719 |
-
<td><?php echo _e('Host Name', 'woo-feed'); ?></td>
|
720 |
-
<td><input type="text" name="ftphost"/></td>
|
721 |
-
</tr>
|
722 |
-
<tr>
|
723 |
-
<td><?php echo _e('User Name', 'woo-feed'); ?></td>
|
724 |
-
<td><input type="text" name="ftpuser"/></td>
|
725 |
-
</tr>
|
726 |
-
<tr>
|
727 |
-
<td><?php echo _e('Password', 'woo-feed'); ?></td>
|
728 |
-
<td><input type="password" name="ftppassword"/></td>
|
729 |
-
</tr>
|
730 |
-
<tr>
|
731 |
-
<td><?php echo _e( 'Port', 'woo-feed' ); ?></td>
|
732 |
-
<td><input type="text" name="ftpport" value="21"/></td>
|
733 |
-
</tr>
|
734 |
-
<tr>
|
735 |
-
<td><?php echo _e('Path', 'woo-feed'); ?></td>
|
736 |
-
<td><input type="text" name="ftppath"/></td>
|
737 |
-
</tr>
|
738 |
-
</tbody>
|
739 |
-
</table>
|
740 |
-
<table class=" widefat fixed">
|
741 |
-
<tr>
|
742 |
-
<td align="left" class="makeFeedResponse">
|
743 |
-
|
744 |
-
</td>
|
745 |
-
<td align="right">
|
746 |
-
<button type="submit" id="wf_submit" class="wfbtn">
|
747 |
-
<?php echo _e('Save & Generate Feed', 'woo-feed'); ?>
|
748 |
-
</button>
|
749 |
-
</td>
|
750 |
-
</tr>
|
751 |
-
</table>
|
752 |
-
</div>
|
753 |
-
</li>
|
754 |
|
755 |
</ul>
|
699 |
</table>
|
700 |
</div>
|
701 |
</li>
|
702 |
+
<?php include plugin_dir_path(__FILE__) . "../woo-feed-ftp-sftp-template.php"; ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
703 |
|
704 |
</ul>
|
admin/partials/fruugo/add-feed.php
CHANGED
@@ -688,57 +688,6 @@
|
|
688 |
</div>
|
689 |
</li>
|
690 |
|
691 |
-
|
692 |
-
<input type="radio" name="wf_tabs" id="tab3"/>
|
693 |
-
<label class="wf-tab-name" for="tab3"><?php echo _e('FTP', 'woo-feed'); ?></label>
|
694 |
-
|
695 |
-
<div id="wf-tab-content3" class="wf-tab-content">
|
696 |
-
<table class="table widefat fixed mtable" width="100%">
|
697 |
-
<tbody>
|
698 |
-
<tr>
|
699 |
-
<td><?php echo _e('Enabled', 'woo-feed'); ?></td>
|
700 |
-
<td>
|
701 |
-
<select name="ftpenabled" id="">
|
702 |
-
<option value="0"><?php echo _e('Disabled', 'woo-feed'); ?></option>
|
703 |
-
<option value="1"><?php echo _e('Enabled', 'woo-feed'); ?></option>
|
704 |
-
</select>
|
705 |
-
</td>
|
706 |
-
</tr>
|
707 |
-
<tr>
|
708 |
-
<td><?php echo _e('Host Name', 'woo-feed'); ?></td>
|
709 |
-
<td><input type="text" name="ftphost"/></td>
|
710 |
-
</tr>
|
711 |
-
<tr>
|
712 |
-
<td><?php echo _e('User Name', 'woo-feed'); ?></td>
|
713 |
-
<td><input type="text" name="ftpuser"/></td>
|
714 |
-
</tr>
|
715 |
-
<tr>
|
716 |
-
<td><?php echo _e('Password', 'woo-feed'); ?></td>
|
717 |
-
<td><input type="password" name="ftppassword"/></td>
|
718 |
-
</tr>
|
719 |
-
<tr>
|
720 |
-
<td><?php echo _e( 'Port', 'woo-feed' ); ?></td>
|
721 |
-
<td><input type="text" name="ftpport" value="21"/></td>
|
722 |
-
</tr>
|
723 |
-
<tr>
|
724 |
-
<td><?php echo _e('Path', 'woo-feed'); ?></td>
|
725 |
-
<td><input type="text" name="ftppath"/></td>
|
726 |
-
</tr>
|
727 |
-
</tbody>
|
728 |
-
</table>
|
729 |
-
<table class=" widefat fixed">
|
730 |
-
<tr>
|
731 |
-
<td align="left" class="makeFeedResponse">
|
732 |
-
|
733 |
-
</td>
|
734 |
-
<td align="right">
|
735 |
-
<button type="submit" id="wf_submit" class="wfbtn">
|
736 |
-
<?php echo _e('Save & Generate Feed', 'woo-feed'); ?>
|
737 |
-
</button>
|
738 |
-
</td>
|
739 |
-
</tr>
|
740 |
-
</table>
|
741 |
-
</div>
|
742 |
-
</li>
|
743 |
|
744 |
</ul>
|
688 |
</div>
|
689 |
</li>
|
690 |
|
691 |
+
<?php include plugin_dir_path(__FILE__) . "../woo-feed-ftp-sftp-template.php"; ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
692 |
|
693 |
</ul>
|
admin/partials/google/add-feed.php
CHANGED
@@ -710,58 +710,8 @@
|
|
710 |
</table>
|
711 |
</div>
|
712 |
</li>
|
713 |
-
<li>
|
714 |
-
<input type="radio" name="wf_tabs" id="tab3"/>
|
715 |
-
<label class="wf-tab-name" for="tab3"><?php echo _e( 'FTP', 'woo-feed' ); ?></label>
|
716 |
-
|
717 |
-
<div id="wf-tab-content3" class="wf-tab-content">
|
718 |
-
<table class="table widefat fixed mtable" width="100%">
|
719 |
-
<tbody>
|
720 |
-
<tr>
|
721 |
-
<td><?php echo _e( 'Enabled', 'woo-feed' ); ?></td>
|
722 |
-
<td>
|
723 |
-
<select name="ftpenabled" id="">
|
724 |
-
<option value="0"><?php echo _e( 'Disabled', 'woo-feed' ); ?></option>
|
725 |
-
<option value="1"><?php echo _e( 'Enabled', 'woo-feed' ); ?></option>
|
726 |
-
</select>
|
727 |
-
</td>
|
728 |
-
</tr>
|
729 |
-
<tr>
|
730 |
-
<td><?php echo _e( 'Host Name', 'woo-feed' ); ?></td>
|
731 |
-
<td><input type="text" name="ftphost"/></td>
|
732 |
-
</tr>
|
733 |
-
<tr>
|
734 |
-
<td><?php echo _e( 'User Name', 'woo-feed' ); ?></td>
|
735 |
-
<td><input type="text" name="ftpuser"/></td>
|
736 |
-
</tr>
|
737 |
-
<tr>
|
738 |
-
<td><?php echo _e( 'Password', 'woo-feed' ); ?></td>
|
739 |
-
<td><input type="password" name="ftppassword"/></td>
|
740 |
-
</tr>
|
741 |
-
<tr>
|
742 |
-
<td><?php echo _e( 'Port', 'woo-feed' ); ?></td>
|
743 |
-
<td><input type="text" name="ftpport" value="21"/></td>
|
744 |
-
</tr>
|
745 |
-
<tr>
|
746 |
-
<td><?php echo _e( 'Path', 'woo-feed' ); ?></td>
|
747 |
-
<td><input type="text" name="ftppath"/></td>
|
748 |
-
</tr>
|
749 |
-
</tbody>
|
750 |
-
</table>
|
751 |
-
<table class=" widefat fixed">
|
752 |
-
<tr>
|
753 |
-
<td align="left" class="makeFeedResponse">
|
754 |
|
755 |
-
|
756 |
-
<td align="right">
|
757 |
-
<button type="submit" id="wf_submit" class="wfbtn">
|
758 |
-
<?php echo _e( 'Save & Generate Feed', 'woo-feed' ); ?>
|
759 |
-
</button>
|
760 |
-
</td>
|
761 |
-
</tr>
|
762 |
-
</table>
|
763 |
-
</div>
|
764 |
-
</li>
|
765 |
|
766 |
</ul>
|
767 |
<!--modal inputs for getting Google Taxonomy -->
|
710 |
</table>
|
711 |
</div>
|
712 |
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
713 |
|
714 |
+
<?php include plugin_dir_path(__FILE__) . "../woo-feed-ftp-sftp-template.php"; ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
715 |
|
716 |
</ul>
|
717 |
<!--modal inputs for getting Google Taxonomy -->
|
admin/partials/jet/add-feed.php
CHANGED
@@ -489,57 +489,6 @@
|
|
489 |
</table>
|
490 |
</div>
|
491 |
</li>
|
492 |
-
|
493 |
-
<input type="radio" name="wf_tabs" id="tab3"/>
|
494 |
-
<label class="wf-tab-name" for="tab3"><?php echo _e('FTP', 'woo-feed'); ?></label>
|
495 |
-
|
496 |
-
<div id="wf-tab-content3" class="wf-tab-content">
|
497 |
-
<table class="table widefat fixed mtable" width="100%">
|
498 |
-
<tbody>
|
499 |
-
<tr>
|
500 |
-
<td><?php echo _e('Enabled', 'woo-feed'); ?></td>
|
501 |
-
<td>
|
502 |
-
<select name="ftpenabled" id="">
|
503 |
-
<option value="0"><?php echo _e('Disabled', 'woo-feed'); ?></option>
|
504 |
-
<option value="1"><?php echo _e('Enabled', 'woo-feed'); ?></option>
|
505 |
-
</select>
|
506 |
-
</td>
|
507 |
-
</tr>
|
508 |
-
<tr>
|
509 |
-
<td><?php echo _e('Host Name', 'woo-feed'); ?></td>
|
510 |
-
<td><input type="text" name="ftphost"/></td>
|
511 |
-
</tr>
|
512 |
-
<tr>
|
513 |
-
<td><?php echo _e('User Name', 'woo-feed'); ?></td>
|
514 |
-
<td><input type="text" name="ftpuser"/></td>
|
515 |
-
</tr>
|
516 |
-
<tr>
|
517 |
-
<td><?php echo _e('Password', 'woo-feed'); ?></td>
|
518 |
-
<td><input type="password" name="ftppassword"/></td>
|
519 |
-
</tr>
|
520 |
-
<tr>
|
521 |
-
<td><?php echo _e( 'Port', 'woo-feed' ); ?></td>
|
522 |
-
<td><input type="text" name="ftpport" value="21"/></td>
|
523 |
-
</tr>
|
524 |
-
<tr>
|
525 |
-
<td><?php echo _e('Path', 'woo-feed'); ?></td>
|
526 |
-
<td><input type="text" name="ftppath"/></td>
|
527 |
-
</tr>
|
528 |
-
</tbody>
|
529 |
-
</table>
|
530 |
-
<table class=" widefat fixed">
|
531 |
-
<tr>
|
532 |
-
<td align="left" class="makeFeedResponse">
|
533 |
-
|
534 |
-
</td>
|
535 |
-
<td align="right">
|
536 |
-
<button type="submit" id="wf_submit" class="wfbtn">
|
537 |
-
<?php echo _e('Save & Generate Feed', 'woo-feed'); ?>
|
538 |
-
</button>
|
539 |
-
</td>
|
540 |
-
</tr>
|
541 |
-
</table>
|
542 |
-
</div>
|
543 |
-
</li>
|
544 |
|
545 |
</ul>
|
489 |
</table>
|
490 |
</div>
|
491 |
</li>
|
492 |
+
<?php include plugin_dir_path(__FILE__) . "../woo-feed-ftp-sftp-template.php"; ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
493 |
|
494 |
</ul>
|
admin/partials/kelkoo/add-feed.php
CHANGED
@@ -586,56 +586,6 @@
|
|
586 |
</table>
|
587 |
</div>
|
588 |
</li>
|
589 |
-
|
590 |
-
<input type="radio" name="wf_tabs" id="tab3"/>
|
591 |
-
<label class="wf-tab-name" for="tab3"><?php echo _e('FTP','woo-feed');?></label>
|
592 |
-
<div id="wf-tab-content3" class="wf-tab-content">
|
593 |
-
<table class="table widefat fixed mtable" width="100%" >
|
594 |
-
<tbody>
|
595 |
-
<tr>
|
596 |
-
<td><?php echo _e('Enabled','woo-feed');?></td>
|
597 |
-
<td>
|
598 |
-
<select name="ftpenabled" id="">
|
599 |
-
<option value="0"><?php echo _e('Disabled','woo-feed');?></option>
|
600 |
-
<option value="1"><?php echo _e('Enabled','woo-feed');?></option>
|
601 |
-
</select>
|
602 |
-
</td>
|
603 |
-
</tr>
|
604 |
-
<tr>
|
605 |
-
<td><?php echo _e('Host Name','woo-feed');?></td>
|
606 |
-
<td><input type="text" name="ftphost"/></td>
|
607 |
-
</tr>
|
608 |
-
<tr>
|
609 |
-
<td><?php echo _e('User Name','woo-feed');?></td>
|
610 |
-
<td><input type="text" name="ftpuser"/></td>
|
611 |
-
</tr>
|
612 |
-
<tr>
|
613 |
-
<td><?php echo _e('Password','woo-feed');?></td>
|
614 |
-
<td><input type="password" name="ftppassword"/></td>
|
615 |
-
</tr>
|
616 |
-
<tr>
|
617 |
-
<td><?php echo _e( 'Port', 'woo-feed' ); ?></td>
|
618 |
-
<td><input type="text" name="ftpport" value="21"/></td>
|
619 |
-
</tr>
|
620 |
-
<tr>
|
621 |
-
<td><?php echo _e('Path','woo-feed');?></td>
|
622 |
-
<td><input type="text" name="ftppath"/></td>
|
623 |
-
</tr>
|
624 |
-
</tbody>
|
625 |
-
</table>
|
626 |
-
<table class=" widefat fixed">
|
627 |
-
<tr>
|
628 |
-
<td align="left" class="makeFeedResponse">
|
629 |
-
|
630 |
-
</td>
|
631 |
-
<td align="right">
|
632 |
-
<button type="submit" id="wf_submit" class="wfbtn">
|
633 |
-
<?php echo _e('Save & Generate Feed','woo-feed');?>
|
634 |
-
</button>
|
635 |
-
</td>
|
636 |
-
</tr>
|
637 |
-
</table>
|
638 |
-
</div>
|
639 |
-
</li>
|
640 |
|
641 |
</ul>
|
586 |
</table>
|
587 |
</div>
|
588 |
</li>
|
589 |
+
<?php include plugin_dir_path(__FILE__) . "../woo-feed-ftp-sftp-template.php"; ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
590 |
|
591 |
</ul>
|
admin/partials/leguide/add-feed.php
CHANGED
@@ -685,57 +685,6 @@
|
|
685 |
</table>
|
686 |
</div>
|
687 |
</li>
|
688 |
-
|
689 |
-
<input type="radio" name="wf_tabs" id="tab3"/>
|
690 |
-
<label class="wf-tab-name" for="tab3"><?php echo _e('FTP', 'woo-feed'); ?></label>
|
691 |
-
|
692 |
-
<div id="wf-tab-content3" class="wf-tab-content">
|
693 |
-
<table class="table widefat fixed mtable" width="100%">
|
694 |
-
<tbody>
|
695 |
-
<tr>
|
696 |
-
<td><?php echo _e('Enabled', 'woo-feed'); ?></td>
|
697 |
-
<td>
|
698 |
-
<select name="ftpenabled" id="">
|
699 |
-
<option value="0"><?php echo _e('Disabled', 'woo-feed'); ?></option>
|
700 |
-
<option value="1"><?php echo _e('Enabled', 'woo-feed'); ?></option>
|
701 |
-
</select>
|
702 |
-
</td>
|
703 |
-
</tr>
|
704 |
-
<tr>
|
705 |
-
<td><?php echo _e('Host Name', 'woo-feed'); ?></td>
|
706 |
-
<td><input type="text" name="ftphost"/></td>
|
707 |
-
</tr>
|
708 |
-
<tr>
|
709 |
-
<td><?php echo _e('User Name', 'woo-feed'); ?></td>
|
710 |
-
<td><input type="text" name="ftpuser"/></td>
|
711 |
-
</tr>
|
712 |
-
<tr>
|
713 |
-
<td><?php echo _e('Password', 'woo-feed'); ?></td>
|
714 |
-
<td><input type="password" name="ftppassword"/></td>
|
715 |
-
</tr>
|
716 |
-
<tr>
|
717 |
-
<td><?php echo _e( 'Port', 'woo-feed' ); ?></td>
|
718 |
-
<td><input type="text" name="ftpport" value="21"/></td>
|
719 |
-
</tr>
|
720 |
-
<tr>
|
721 |
-
<td><?php echo _e('Path', 'woo-feed'); ?></td>
|
722 |
-
<td><input type="text" name="ftppath"/></td>
|
723 |
-
</tr>
|
724 |
-
</tbody>
|
725 |
-
</table>
|
726 |
-
<table class=" widefat fixed">
|
727 |
-
<tr>
|
728 |
-
<td align="left" class="makeFeedResponse">
|
729 |
-
|
730 |
-
</td>
|
731 |
-
<td align="right">
|
732 |
-
<button type="submit" id="wf_submit" class="wfbtn">
|
733 |
-
<?php echo _e('Save & Generate Feed', 'woo-feed'); ?>
|
734 |
-
</button>
|
735 |
-
</td>
|
736 |
-
</tr>
|
737 |
-
</table>
|
738 |
-
</div>
|
739 |
-
</li>
|
740 |
|
741 |
</ul>
|
685 |
</table>
|
686 |
</div>
|
687 |
</li>
|
688 |
+
<?php include plugin_dir_path(__FILE__) . "../woo-feed-ftp-sftp-template.php"; ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
689 |
|
690 |
</ul>
|
admin/partials/nextag/add-feed.php
CHANGED
@@ -439,56 +439,6 @@
|
|
439 |
</table>
|
440 |
</div>
|
441 |
</li>
|
442 |
-
|
443 |
-
<input type="radio" name="wf_tabs" id="tab3"/>
|
444 |
-
<label class="wf-tab-name" for="tab3"><?php echo _e('FTP','woo-feed');?></label>
|
445 |
-
<div id="wf-tab-content3" class="wf-tab-content">
|
446 |
-
<table class="table widefat fixed mtable" width="100%" >
|
447 |
-
<tbody>
|
448 |
-
<tr>
|
449 |
-
<td><?php echo _e('Enabled','woo-feed');?></td>
|
450 |
-
<td>
|
451 |
-
<select name="ftpenabled" id="">
|
452 |
-
<option value="0"><?php echo _e('Disabled','woo-feed');?></option>
|
453 |
-
<option value="1"><?php echo _e('Enabled','woo-feed');?></option>
|
454 |
-
</select>
|
455 |
-
</td>
|
456 |
-
</tr>
|
457 |
-
<tr>
|
458 |
-
<td><?php echo _e('Host Name','woo-feed');?></td>
|
459 |
-
<td><input type="text" name="ftphost"/></td>
|
460 |
-
</tr>
|
461 |
-
<tr>
|
462 |
-
<td><?php echo _e('User Name','woo-feed');?></td>
|
463 |
-
<td><input type="text" name="ftpuser"/></td>
|
464 |
-
</tr>
|
465 |
-
<tr>
|
466 |
-
<td><?php echo _e('Password','woo-feed');?></td>
|
467 |
-
<td><input type="password" name="ftppassword"/></td>
|
468 |
-
</tr>
|
469 |
-
<tr>
|
470 |
-
<td><?php echo _e( 'Port', 'woo-feed' ); ?></td>
|
471 |
-
<td><input type="text" name="ftpport" value="21"/></td>
|
472 |
-
</tr>
|
473 |
-
<tr>
|
474 |
-
<td><?php echo _e('Path','woo-feed');?></td>
|
475 |
-
<td><input type="text" name="ftppath"/></td>
|
476 |
-
</tr>
|
477 |
-
</tbody>
|
478 |
-
</table>
|
479 |
-
<table class=" widefat fixed">
|
480 |
-
<tr>
|
481 |
-
<td align="left" class="makeFeedResponse">
|
482 |
-
|
483 |
-
</td>
|
484 |
-
<td align="right">
|
485 |
-
<button type="submit" id="wf_submit" class="wfbtn">
|
486 |
-
<?php echo _e('Save & Generate Feed','woo-feed');?>
|
487 |
-
</button>
|
488 |
-
</td>
|
489 |
-
</tr>
|
490 |
-
</table>
|
491 |
-
</div>
|
492 |
-
</li>
|
493 |
|
494 |
</ul>
|
439 |
</table>
|
440 |
</div>
|
441 |
</li>
|
442 |
+
<?php include plugin_dir_path(__FILE__) . "../woo-feed-ftp-sftp-template.php"; ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
443 |
|
444 |
</ul>
|
admin/partials/polyvore/add-feed.php
CHANGED
@@ -442,57 +442,6 @@
|
|
442 |
</div>
|
443 |
</li>
|
444 |
|
445 |
-
|
446 |
-
<input type="radio" name="wf_tabs" id="tab3"/>
|
447 |
-
<label class="wf-tab-name" for="tab3"><?php echo _e('FTP', 'woo-feed'); ?></label>
|
448 |
-
|
449 |
-
<div id="wf-tab-content3" class="wf-tab-content">
|
450 |
-
<table class="table widefat fixed mtable" width="100%">
|
451 |
-
<tbody>
|
452 |
-
<tr>
|
453 |
-
<td><?php echo _e('Enabled', 'woo-feed'); ?></td>
|
454 |
-
<td>
|
455 |
-
<select name="ftpenabled" id="">
|
456 |
-
<option value="0"><?php echo _e('Disabled', 'woo-feed'); ?></option>
|
457 |
-
<option value="1"><?php echo _e('Enabled', 'woo-feed'); ?></option>
|
458 |
-
</select>
|
459 |
-
</td>
|
460 |
-
</tr>
|
461 |
-
<tr>
|
462 |
-
<td><?php echo _e('Host Name', 'woo-feed'); ?></td>
|
463 |
-
<td><input type="text" name="ftphost"/></td>
|
464 |
-
</tr>
|
465 |
-
<tr>
|
466 |
-
<td><?php echo _e('User Name', 'woo-feed'); ?></td>
|
467 |
-
<td><input type="text" name="ftpuser"/></td>
|
468 |
-
</tr>
|
469 |
-
<tr>
|
470 |
-
<td><?php echo _e('Password', 'woo-feed'); ?></td>
|
471 |
-
<td><input type="password" name="ftppassword"/></td>
|
472 |
-
</tr>
|
473 |
-
<tr>
|
474 |
-
<td><?php echo _e( 'Port', 'woo-feed' ); ?></td>
|
475 |
-
<td><input type="text" name="ftpport" value="21"/></td>
|
476 |
-
</tr>
|
477 |
-
<tr>
|
478 |
-
<td><?php echo _e('Path', 'woo-feed'); ?></td>
|
479 |
-
<td><input type="text" name="ftppath"/></td>
|
480 |
-
</tr>
|
481 |
-
</tbody>
|
482 |
-
</table>
|
483 |
-
<table class=" widefat fixed">
|
484 |
-
<tr>
|
485 |
-
<td align="left" class="makeFeedResponse">
|
486 |
-
|
487 |
-
</td>
|
488 |
-
<td align="right">
|
489 |
-
<button type="submit" id="wf_submit" class="wfbtn">
|
490 |
-
<?php echo _e('Save & Generate Feed', 'woo-feed'); ?>
|
491 |
-
</button>
|
492 |
-
</td>
|
493 |
-
</tr>
|
494 |
-
</table>
|
495 |
-
</div>
|
496 |
-
</li>
|
497 |
|
498 |
</ul>
|
442 |
</div>
|
443 |
</li>
|
444 |
|
445 |
+
<?php include plugin_dir_path(__FILE__) . "../woo-feed-ftp-sftp-template.php"; ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
446 |
|
447 |
</ul>
|
admin/partials/pricegrabber/add-feed.php
CHANGED
@@ -635,56 +635,6 @@
|
|
635 |
</table>
|
636 |
</div>
|
637 |
</li>
|
638 |
-
|
639 |
-
<input type="radio" name="wf_tabs" id="tab3"/>
|
640 |
-
<label class="wf-tab-name" for="tab3"><?php echo _e('FTP','woo-feed');?></label>
|
641 |
-
<div id="wf-tab-content3" class="wf-tab-content">
|
642 |
-
<table class="table widefat fixed mtable" width="100%" >
|
643 |
-
<tbody>
|
644 |
-
<tr>
|
645 |
-
<td><?php echo _e('Enabled','woo-feed');?></td>
|
646 |
-
<td>
|
647 |
-
<select name="ftpenabled" id="">
|
648 |
-
<option value="0"><?php echo _e('Disabled','woo-feed');?></option>
|
649 |
-
<option value="1"><?php echo _e('Enabled','woo-feed');?></option>
|
650 |
-
</select>
|
651 |
-
</td>
|
652 |
-
</tr>
|
653 |
-
<tr>
|
654 |
-
<td><?php echo _e('Host Name','woo-feed');?></td>
|
655 |
-
<td><input type="text" name="ftphost"/></td>
|
656 |
-
</tr>
|
657 |
-
<tr>
|
658 |
-
<td><?php echo _e('User Name','woo-feed');?></td>
|
659 |
-
<td><input type="text" name="ftpuser"/></td>
|
660 |
-
</tr>
|
661 |
-
<tr>
|
662 |
-
<td><?php echo _e('Password','woo-feed');?></td>
|
663 |
-
<td><input type="password" name="ftppassword"/></td>
|
664 |
-
</tr>
|
665 |
-
<tr>
|
666 |
-
<td><?php echo _e( 'Port', 'woo-feed' ); ?></td>
|
667 |
-
<td><input type="text" name="ftpport" value="21"/></td>
|
668 |
-
</tr>
|
669 |
-
<tr>
|
670 |
-
<td><?php echo _e('Path','woo-feed');?></td>
|
671 |
-
<td><input type="text" name="ftppath"/></td>
|
672 |
-
</tr>
|
673 |
-
</tbody>
|
674 |
-
</table>
|
675 |
-
<table class=" widefat fixed">
|
676 |
-
<tr>
|
677 |
-
<td align="left" class="makeFeedResponse">
|
678 |
-
|
679 |
-
</td>
|
680 |
-
<td align="right">
|
681 |
-
<button type="submit" id="wf_submit" class="wfbtn">
|
682 |
-
<?php echo _e('Save & Generate Feed','woo-feed');?>
|
683 |
-
</button>
|
684 |
-
</td>
|
685 |
-
</tr>
|
686 |
-
</table>
|
687 |
-
</div>
|
688 |
-
</li>
|
689 |
|
690 |
</ul>
|
635 |
</table>
|
636 |
</div>
|
637 |
</li>
|
638 |
+
<?php include plugin_dir_path(__FILE__) . "../woo-feed-ftp-sftp-template.php"; ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
639 |
|
640 |
</ul>
|
admin/partials/pricerunner/add-feed.php
CHANGED
@@ -735,57 +735,6 @@
|
|
735 |
</table>
|
736 |
</div>
|
737 |
</li>
|
738 |
-
|
739 |
-
<input type="radio" name="wf_tabs" id="tab3"/>
|
740 |
-
<label class="wf-tab-name" for="tab3"><?php echo _e('FTP', 'woo-feed'); ?></label>
|
741 |
-
|
742 |
-
<div id="wf-tab-content3" class="wf-tab-content">
|
743 |
-
<table class="table widefat fixed mtable" width="100%">
|
744 |
-
<tbody>
|
745 |
-
<tr>
|
746 |
-
<td><?php echo _e('Enabled', 'woo-feed'); ?></td>
|
747 |
-
<td>
|
748 |
-
<select name="ftpenabled" id="">
|
749 |
-
<option value="0"><?php echo _e('Disabled', 'woo-feed'); ?></option>
|
750 |
-
<option value="1"><?php echo _e('Enabled', 'woo-feed'); ?></option>
|
751 |
-
</select>
|
752 |
-
</td>
|
753 |
-
</tr>
|
754 |
-
<tr>
|
755 |
-
<td><?php echo _e('Host Name', 'woo-feed'); ?></td>
|
756 |
-
<td><input type="text" name="ftphost"/></td>
|
757 |
-
</tr>
|
758 |
-
<tr>
|
759 |
-
<td><?php echo _e('User Name', 'woo-feed'); ?></td>
|
760 |
-
<td><input type="text" name="ftpuser"/></td>
|
761 |
-
</tr>
|
762 |
-
<tr>
|
763 |
-
<td><?php echo _e('Password', 'woo-feed'); ?></td>
|
764 |
-
<td><input type="password" name="ftppassword"/></td>
|
765 |
-
</tr>
|
766 |
-
<tr>
|
767 |
-
<td><?php echo _e( 'Port', 'woo-feed' ); ?></td>
|
768 |
-
<td><input type="text" name="ftpport" value="21"/></td>
|
769 |
-
</tr>
|
770 |
-
<tr>
|
771 |
-
<td><?php echo _e('Path', 'woo-feed'); ?></td>
|
772 |
-
<td><input type="text" name="ftppath"/></td>
|
773 |
-
</tr>
|
774 |
-
</tbody>
|
775 |
-
</table>
|
776 |
-
<table class=" widefat fixed">
|
777 |
-
<tr>
|
778 |
-
<td align="left" class="makeFeedResponse">
|
779 |
-
|
780 |
-
</td>
|
781 |
-
<td align="right">
|
782 |
-
<button type="submit" id="wf_submit" class="wfbtn">
|
783 |
-
<?php echo _e('Save & Generate Feed', 'woo-feed'); ?>
|
784 |
-
</button>
|
785 |
-
</td>
|
786 |
-
</tr>
|
787 |
-
</table>
|
788 |
-
</div>
|
789 |
-
</li>
|
790 |
|
791 |
</ul>
|
735 |
</table>
|
736 |
</div>
|
737 |
</li>
|
738 |
+
<?php include plugin_dir_path(__FILE__) . "../woo-feed-ftp-sftp-template.php"; ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
739 |
|
740 |
</ul>
|
admin/partials/pricespy/add-feed.php
CHANGED
@@ -540,57 +540,6 @@
|
|
540 |
</div>
|
541 |
</li>
|
542 |
|
543 |
-
|
544 |
-
<input type="radio" name="wf_tabs" id="tab3"/>
|
545 |
-
<label class="wf-tab-name" for="tab3"><?php echo _e('FTP', 'woo-feed'); ?></label>
|
546 |
-
|
547 |
-
<div id="wf-tab-content3" class="wf-tab-content">
|
548 |
-
<table class="table widefat fixed mtable" width="100%">
|
549 |
-
<tbody>
|
550 |
-
<tr>
|
551 |
-
<td><?php echo _e('Enabled', 'woo-feed'); ?></td>
|
552 |
-
<td>
|
553 |
-
<select name="ftpenabled" id="">
|
554 |
-
<option value="0"><?php echo _e('Disabled', 'woo-feed'); ?></option>
|
555 |
-
<option value="1"><?php echo _e('Enabled', 'woo-feed'); ?></option>
|
556 |
-
</select>
|
557 |
-
</td>
|
558 |
-
</tr>
|
559 |
-
<tr>
|
560 |
-
<td><?php echo _e('Host Name', 'woo-feed'); ?></td>
|
561 |
-
<td><input type="text" name="ftphost"/></td>
|
562 |
-
</tr>
|
563 |
-
<tr>
|
564 |
-
<td><?php echo _e('User Name', 'woo-feed'); ?></td>
|
565 |
-
<td><input type="text" name="ftpuser"/></td>
|
566 |
-
</tr>
|
567 |
-
<tr>
|
568 |
-
<td><?php echo _e('Password', 'woo-feed'); ?></td>
|
569 |
-
<td><input type="password" name="ftppassword"/></td>
|
570 |
-
</tr>
|
571 |
-
<tr>
|
572 |
-
<td><?php echo _e( 'Port', 'woo-feed' ); ?></td>
|
573 |
-
<td><input type="text" name="ftpport" value="21"/></td>
|
574 |
-
</tr>
|
575 |
-
<tr>
|
576 |
-
<td><?php echo _e('Path', 'woo-feed'); ?></td>
|
577 |
-
<td><input type="text" name="ftppath"/></td>
|
578 |
-
</tr>
|
579 |
-
</tbody>
|
580 |
-
</table>
|
581 |
-
<table class=" widefat fixed">
|
582 |
-
<tr>
|
583 |
-
<td align="left" class="makeFeedResponse">
|
584 |
-
|
585 |
-
</td>
|
586 |
-
<td align="right">
|
587 |
-
<button type="submit" id="wf_submit" class="wfbtn">
|
588 |
-
<?php echo _e('Save & Generate Feed', 'woo-feed'); ?>
|
589 |
-
</button>
|
590 |
-
</td>
|
591 |
-
</tr>
|
592 |
-
</table>
|
593 |
-
</div>
|
594 |
-
</li>
|
595 |
|
596 |
</ul>
|
540 |
</div>
|
541 |
</li>
|
542 |
|
543 |
+
<?php include plugin_dir_path(__FILE__) . "../woo-feed-ftp-sftp-template.php"; ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
544 |
|
545 |
</ul>
|
admin/partials/prisjakt/add-feed.php
CHANGED
@@ -540,57 +540,6 @@
|
|
540 |
</div>
|
541 |
</li>
|
542 |
|
543 |
-
|
544 |
-
<input type="radio" name="wf_tabs" id="tab3"/>
|
545 |
-
<label class="wf-tab-name" for="tab3"><?php echo _e('FTP', 'woo-feed'); ?></label>
|
546 |
-
|
547 |
-
<div id="wf-tab-content3" class="wf-tab-content">
|
548 |
-
<table class="table widefat fixed mtable" width="100%">
|
549 |
-
<tbody>
|
550 |
-
<tr>
|
551 |
-
<td><?php echo _e('Enabled', 'woo-feed'); ?></td>
|
552 |
-
<td>
|
553 |
-
<select name="ftpenabled" id="">
|
554 |
-
<option value="0"><?php echo _e('Disabled', 'woo-feed'); ?></option>
|
555 |
-
<option value="1"><?php echo _e('Enabled', 'woo-feed'); ?></option>
|
556 |
-
</select>
|
557 |
-
</td>
|
558 |
-
</tr>
|
559 |
-
<tr>
|
560 |
-
<td><?php echo _e('Host Name', 'woo-feed'); ?></td>
|
561 |
-
<td><input type="text" name="ftphost"/></td>
|
562 |
-
</tr>
|
563 |
-
<tr>
|
564 |
-
<td><?php echo _e('User Name', 'woo-feed'); ?></td>
|
565 |
-
<td><input type="text" name="ftpuser"/></td>
|
566 |
-
</tr>
|
567 |
-
<tr>
|
568 |
-
<td><?php echo _e('Password', 'woo-feed'); ?></td>
|
569 |
-
<td><input type="password" name="ftppassword"/></td>
|
570 |
-
</tr>
|
571 |
-
<tr>
|
572 |
-
<td><?php echo _e( 'Port', 'woo-feed' ); ?></td>
|
573 |
-
<td><input type="text" name="ftpport" value="21"/></td>
|
574 |
-
</tr>
|
575 |
-
<tr>
|
576 |
-
<td><?php echo _e('Path', 'woo-feed'); ?></td>
|
577 |
-
<td><input type="text" name="ftppath"/></td>
|
578 |
-
</tr>
|
579 |
-
</tbody>
|
580 |
-
</table>
|
581 |
-
<table class=" widefat fixed">
|
582 |
-
<tr>
|
583 |
-
<td align="left" class="makeFeedResponse">
|
584 |
-
|
585 |
-
</td>
|
586 |
-
<td align="right">
|
587 |
-
<button type="submit" id="wf_submit" class="wfbtn">
|
588 |
-
<?php echo _e('Save & Generate Feed', 'woo-feed'); ?>
|
589 |
-
</button>
|
590 |
-
</td>
|
591 |
-
</tr>
|
592 |
-
</table>
|
593 |
-
</div>
|
594 |
-
</li>
|
595 |
|
596 |
</ul>
|
540 |
</div>
|
541 |
</li>
|
542 |
|
543 |
+
<?php include plugin_dir_path(__FILE__) . "../woo-feed-ftp-sftp-template.php"; ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
544 |
|
545 |
</ul>
|
admin/partials/real/add-feed.php
CHANGED
@@ -342,57 +342,6 @@
|
|
342 |
</table>
|
343 |
</div>
|
344 |
</li>
|
345 |
-
|
346 |
-
<input type="radio" name="wf_tabs" id="tab3"/>
|
347 |
-
<label class="wf-tab-name" for="tab3"><?php echo _e('FTP', 'woo-feed'); ?></label>
|
348 |
-
|
349 |
-
<div id="wf-tab-content3" class="wf-tab-content">
|
350 |
-
<table class="table widefat fixed mtable" width="100%">
|
351 |
-
<tbody>
|
352 |
-
<tr>
|
353 |
-
<td><?php echo _e('Enabled', 'woo-feed'); ?></td>
|
354 |
-
<td>
|
355 |
-
<select name="ftpenabled" id="">
|
356 |
-
<option value="0"><?php echo _e('Disabled', 'woo-feed'); ?></option>
|
357 |
-
<option value="1"><?php echo _e('Enabled', 'woo-feed'); ?></option>
|
358 |
-
</select>
|
359 |
-
</td>
|
360 |
-
</tr>
|
361 |
-
<tr>
|
362 |
-
<td><?php echo _e('Host Name', 'woo-feed'); ?></td>
|
363 |
-
<td><input type="text" name="ftphost"/></td>
|
364 |
-
</tr>
|
365 |
-
<tr>
|
366 |
-
<td><?php echo _e('User Name', 'woo-feed'); ?></td>
|
367 |
-
<td><input type="text" name="ftpuser"/></td>
|
368 |
-
</tr>
|
369 |
-
<tr>
|
370 |
-
<td><?php echo _e('Password', 'woo-feed'); ?></td>
|
371 |
-
<td><input type="password" name="ftppassword"/></td>
|
372 |
-
</tr>
|
373 |
-
<tr>
|
374 |
-
<td><?php echo _e( 'Port', 'woo-feed' ); ?></td>
|
375 |
-
<td><input type="text" name="ftpport" value="21"/></td>
|
376 |
-
</tr>
|
377 |
-
<tr>
|
378 |
-
<td><?php echo _e('Path', 'woo-feed'); ?></td>
|
379 |
-
<td><input type="text" name="ftppath"/></td>
|
380 |
-
</tr>
|
381 |
-
</tbody>
|
382 |
-
</table>
|
383 |
-
<table class=" widefat fixed">
|
384 |
-
<tr>
|
385 |
-
<td align="left" class="makeFeedResponse">
|
386 |
-
|
387 |
-
</td>
|
388 |
-
<td align="right">
|
389 |
-
<button type="submit" id="wf_submit" class="wfbtn">
|
390 |
-
<?php echo _e('Save & Generate Feed', 'woo-feed'); ?>
|
391 |
-
</button>
|
392 |
-
</td>
|
393 |
-
</tr>
|
394 |
-
</table>
|
395 |
-
</div>
|
396 |
-
</li>
|
397 |
|
398 |
</ul>
|
342 |
</table>
|
343 |
</div>
|
344 |
</li>
|
345 |
+
<?php include plugin_dir_path(__FILE__) . "../woo-feed-ftp-sftp-template.php"; ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
346 |
|
347 |
</ul>
|
admin/partials/shopbot/add-feed.php
CHANGED
@@ -833,57 +833,6 @@
|
|
833 |
</div>
|
834 |
</li>
|
835 |
|
836 |
-
|
837 |
-
<input type="radio" name="wf_tabs" id="tab3"/>
|
838 |
-
<label class="wf-tab-name" for="tab3"><?php echo _e('FTP', 'woo-feed'); ?></label>
|
839 |
-
|
840 |
-
<div id="wf-tab-content3" class="wf-tab-content">
|
841 |
-
<table class="table widefat fixed mtable" width="100%">
|
842 |
-
<tbody>
|
843 |
-
<tr>
|
844 |
-
<td><?php echo _e('Enabled', 'woo-feed'); ?></td>
|
845 |
-
<td>
|
846 |
-
<select name="ftpenabled" id="">
|
847 |
-
<option value="0"><?php echo _e('Disabled', 'woo-feed'); ?></option>
|
848 |
-
<option value="1"><?php echo _e('Enabled', 'woo-feed'); ?></option>
|
849 |
-
</select>
|
850 |
-
</td>
|
851 |
-
</tr>
|
852 |
-
<tr>
|
853 |
-
<td><?php echo _e('Host Name', 'woo-feed'); ?></td>
|
854 |
-
<td><input type="text" name="ftphost"/></td>
|
855 |
-
</tr>
|
856 |
-
<tr>
|
857 |
-
<td><?php echo _e('User Name', 'woo-feed'); ?></td>
|
858 |
-
<td><input type="text" name="ftpuser"/></td>
|
859 |
-
</tr>
|
860 |
-
<tr>
|
861 |
-
<td><?php echo _e('Password', 'woo-feed'); ?></td>
|
862 |
-
<td><input type="password" name="ftppassword"/></td>
|
863 |
-
</tr>
|
864 |
-
<tr>
|
865 |
-
<td><?php echo _e( 'Port', 'woo-feed' ); ?></td>
|
866 |
-
<td><input type="text" name="ftpport" value="21"/></td>
|
867 |
-
</tr>
|
868 |
-
<tr>
|
869 |
-
<td><?php echo _e('Path', 'woo-feed'); ?></td>
|
870 |
-
<td><input type="text" name="ftppath"/></td>
|
871 |
-
</tr>
|
872 |
-
</tbody>
|
873 |
-
</table>
|
874 |
-
<table class=" widefat fixed">
|
875 |
-
<tr>
|
876 |
-
<td align="left" class="makeFeedResponse">
|
877 |
-
|
878 |
-
</td>
|
879 |
-
<td align="right">
|
880 |
-
<button type="submit" id="wf_submit" class="wfbtn">
|
881 |
-
<?php echo _e('Save & Generate Feed', 'woo-feed'); ?>
|
882 |
-
</button>
|
883 |
-
</td>
|
884 |
-
</tr>
|
885 |
-
</table>
|
886 |
-
</div>
|
887 |
-
</li>
|
888 |
|
889 |
</ul>
|
833 |
</div>
|
834 |
</li>
|
835 |
|
836 |
+
<?php include plugin_dir_path(__FILE__) . "../woo-feed-ftp-sftp-template.php"; ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
837 |
|
838 |
</ul>
|
admin/partials/shopmania/add-feed.php
CHANGED
@@ -684,56 +684,6 @@
|
|
684 |
</table>
|
685 |
</div>
|
686 |
</li>
|
687 |
-
|
688 |
-
<input type="radio" name="wf_tabs" id="tab3"/>
|
689 |
-
<label class="wf-tab-name" for="tab3"><?php echo _e('FTP','woo-feed');?></label>
|
690 |
-
<div id="wf-tab-content3" class="wf-tab-content">
|
691 |
-
<table class="table widefat fixed mtable" width="100%" >
|
692 |
-
<tbody>
|
693 |
-
<tr>
|
694 |
-
<td><?php echo _e('Enabled','woo-feed');?></td>
|
695 |
-
<td>
|
696 |
-
<select name="ftpenabled" id="">
|
697 |
-
<option value="0"><?php echo _e('Disabled','woo-feed');?></option>
|
698 |
-
<option value="1"><?php echo _e('Enabled','woo-feed');?></option>
|
699 |
-
</select>
|
700 |
-
</td>
|
701 |
-
</tr>
|
702 |
-
<tr>
|
703 |
-
<td><?php echo _e('Host Name','woo-feed');?></td>
|
704 |
-
<td><input type="text" name="ftphost"/></td>
|
705 |
-
</tr>
|
706 |
-
<tr>
|
707 |
-
<td><?php echo _e('User Name','woo-feed');?></td>
|
708 |
-
<td><input type="text" name="ftpuser"/></td>
|
709 |
-
</tr>
|
710 |
-
<tr>
|
711 |
-
<td><?php echo _e('Password','woo-feed');?></td>
|
712 |
-
<td><input type="password" name="ftppassword"/></td>
|
713 |
-
</tr>
|
714 |
-
<tr>
|
715 |
-
<td><?php echo _e( 'Port', 'woo-feed' ); ?></td>
|
716 |
-
<td><input type="text" name="ftpport" value="21"/></td>
|
717 |
-
</tr>
|
718 |
-
<tr>
|
719 |
-
<td><?php echo _e('Path','woo-feed');?></td>
|
720 |
-
<td><input type="text" name="ftppath"/></td>
|
721 |
-
</tr>
|
722 |
-
</tbody>
|
723 |
-
</table>
|
724 |
-
<table class=" widefat fixed">
|
725 |
-
<tr>
|
726 |
-
<td align="left" class="makeFeedResponse">
|
727 |
-
|
728 |
-
</td>
|
729 |
-
<td align="right">
|
730 |
-
<button type="submit" id="wf_submit" class="wfbtn">
|
731 |
-
<?php echo _e('Save & Generate Feed','woo-feed');?>
|
732 |
-
</button>
|
733 |
-
</td>
|
734 |
-
</tr>
|
735 |
-
</table>
|
736 |
-
</div>
|
737 |
-
</li>
|
738 |
|
739 |
</ul>
|
684 |
</table>
|
685 |
</div>
|
686 |
</li>
|
687 |
+
<?php include plugin_dir_path(__FILE__) . "../woo-feed-ftp-sftp-template.php"; ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
688 |
|
689 |
</ul>
|
admin/partials/shopping/add-feed.php
CHANGED
@@ -488,56 +488,6 @@
|
|
488 |
</table>
|
489 |
</div>
|
490 |
</li>
|
491 |
-
|
492 |
-
<input type="radio" name="wf_tabs" id="tab3"/>
|
493 |
-
<label class="wf-tab-name" for="tab3"><?php echo _e('FTP','woo-feed');?></label>
|
494 |
-
<div id="wf-tab-content3" class="wf-tab-content">
|
495 |
-
<table class="table widefat fixed mtable" width="100%" >
|
496 |
-
<tbody>
|
497 |
-
<tr>
|
498 |
-
<td><?php echo _e('Enabled','woo-feed');?></td>
|
499 |
-
<td>
|
500 |
-
<select name="ftpenabled" id="">
|
501 |
-
<option value="0"><?php echo _e('Disabled','woo-feed');?></option>
|
502 |
-
<option value="1"><?php echo _e('Enabled','woo-feed');?></option>
|
503 |
-
</select>
|
504 |
-
</td>
|
505 |
-
</tr>
|
506 |
-
<tr>
|
507 |
-
<td><?php echo _e('Host Name','woo-feed');?></td>
|
508 |
-
<td><input type="text" name="ftphost"/></td>
|
509 |
-
</tr>
|
510 |
-
<tr>
|
511 |
-
<td><?php echo _e('User Name','woo-feed');?></td>
|
512 |
-
<td><input type="text" name="ftpuser"/></td>
|
513 |
-
</tr>
|
514 |
-
<tr>
|
515 |
-
<td><?php echo _e('Password','woo-feed');?></td>
|
516 |
-
<td><input type="password" name="ftppassword"/></td>
|
517 |
-
</tr>
|
518 |
-
<tr>
|
519 |
-
<td><?php echo _e( 'Port', 'woo-feed' ); ?></td>
|
520 |
-
<td><input type="text" name="ftpport" value="21"/></td>
|
521 |
-
</tr>
|
522 |
-
<tr>
|
523 |
-
<td><?php echo _e('Path','woo-feed');?></td>
|
524 |
-
<td><input type="text" name="ftppath"/></td>
|
525 |
-
</tr>
|
526 |
-
</tbody>
|
527 |
-
</table>
|
528 |
-
<table class=" widefat fixed">
|
529 |
-
<tr>
|
530 |
-
<td align="left" class="makeFeedResponse">
|
531 |
-
|
532 |
-
</td>
|
533 |
-
<td align="right">
|
534 |
-
<button type="submit" id="wf_submit" class="wfbtn">
|
535 |
-
<?php echo _e('Save & Generate Feed','woo-feed');?>
|
536 |
-
</button>
|
537 |
-
</td>
|
538 |
-
</tr>
|
539 |
-
</table>
|
540 |
-
</div>
|
541 |
-
</li>
|
542 |
|
543 |
</ul>
|
488 |
</table>
|
489 |
</div>
|
490 |
</li>
|
491 |
+
<?php include plugin_dir_path(__FILE__) . "../woo-feed-ftp-sftp-template.php"; ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
492 |
|
493 |
</ul>
|
admin/partials/shopzilla/add-feed.php
CHANGED
@@ -489,57 +489,6 @@
|
|
489 |
</table>
|
490 |
</div>
|
491 |
</li>
|
492 |
-
|
493 |
-
<input type="radio" name="wf_tabs" id="tab3"/>
|
494 |
-
<label class="wf-tab-name" for="tab3"><?php echo _e('FTP', 'woo-feed'); ?></label>
|
495 |
-
|
496 |
-
<div id="wf-tab-content3" class="wf-tab-content">
|
497 |
-
<table class="table widefat fixed mtable" width="100%">
|
498 |
-
<tbody>
|
499 |
-
<tr>
|
500 |
-
<td><?php echo _e('Enabled', 'woo-feed'); ?></td>
|
501 |
-
<td>
|
502 |
-
<select name="ftpenabled" id="">
|
503 |
-
<option value="0"><?php echo _e('Disabled', 'woo-feed'); ?></option>
|
504 |
-
<option value="1"><?php echo _e('Enabled', 'woo-feed'); ?></option>
|
505 |
-
</select>
|
506 |
-
</td>
|
507 |
-
</tr>
|
508 |
-
<tr>
|
509 |
-
<td><?php echo _e('Host Name', 'woo-feed'); ?></td>
|
510 |
-
<td><input type="text" name="ftphost"/></td>
|
511 |
-
</tr>
|
512 |
-
<tr>
|
513 |
-
<td><?php echo _e('User Name', 'woo-feed'); ?></td>
|
514 |
-
<td><input type="text" name="ftpuser"/></td>
|
515 |
-
</tr>
|
516 |
-
<tr>
|
517 |
-
<td><?php echo _e('Password', 'woo-feed'); ?></td>
|
518 |
-
<td><input type="password" name="ftppassword"/></td>
|
519 |
-
</tr>
|
520 |
-
<tr>
|
521 |
-
<td><?php echo _e( 'Port', 'woo-feed' ); ?></td>
|
522 |
-
<td><input type="text" name="ftpport" value="21"/></td>
|
523 |
-
</tr>
|
524 |
-
<tr>
|
525 |
-
<td><?php echo _e('Path', 'woo-feed'); ?></td>
|
526 |
-
<td><input type="text" name="ftppath"/></td>
|
527 |
-
</tr>
|
528 |
-
</tbody>
|
529 |
-
</table>
|
530 |
-
<table class=" widefat fixed">
|
531 |
-
<tr>
|
532 |
-
<td align="left" class="makeFeedResponse">
|
533 |
-
|
534 |
-
</td>
|
535 |
-
<td align="right">
|
536 |
-
<button type="submit" id="wf_submit" class="wfbtn">
|
537 |
-
<?php echo _e('Save & Generate Feed', 'woo-feed'); ?>
|
538 |
-
</button>
|
539 |
-
</td>
|
540 |
-
</tr>
|
541 |
-
</table>
|
542 |
-
</div>
|
543 |
-
</li>
|
544 |
|
545 |
</ul>
|
489 |
</table>
|
490 |
</div>
|
491 |
</li>
|
492 |
+
<?php include plugin_dir_path(__FILE__) . "../woo-feed-ftp-sftp-template.php"; ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
493 |
|
494 |
</ul>
|
admin/partials/twenga/add-feed.php
CHANGED
@@ -1126,57 +1126,6 @@
|
|
1126 |
</div>
|
1127 |
</li>
|
1128 |
|
1129 |
-
|
1130 |
-
<input type="radio" name="wf_tabs" id="tab3"/>
|
1131 |
-
<label class="wf-tab-name" for="tab3"><?php echo _e('FTP', 'woo-feed'); ?></label>
|
1132 |
-
|
1133 |
-
<div id="wf-tab-content3" class="wf-tab-content">
|
1134 |
-
<table class="table widefat fixed mtable" width="100%">
|
1135 |
-
<tbody>
|
1136 |
-
<tr>
|
1137 |
-
<td><?php echo _e('Enabled', 'woo-feed'); ?></td>
|
1138 |
-
<td>
|
1139 |
-
<select name="ftpenabled" id="">
|
1140 |
-
<option value="0"><?php echo _e('Disabled', 'woo-feed'); ?></option>
|
1141 |
-
<option value="1"><?php echo _e('Enabled', 'woo-feed'); ?></option>
|
1142 |
-
</select>
|
1143 |
-
</td>
|
1144 |
-
</tr>
|
1145 |
-
<tr>
|
1146 |
-
<td><?php echo _e('Host Name', 'woo-feed'); ?></td>
|
1147 |
-
<td><input type="text" name="ftphost"/></td>
|
1148 |
-
</tr>
|
1149 |
-
<tr>
|
1150 |
-
<td><?php echo _e('User Name', 'woo-feed'); ?></td>
|
1151 |
-
<td><input type="text" name="ftpuser"/></td>
|
1152 |
-
</tr>
|
1153 |
-
<tr>
|
1154 |
-
<td><?php echo _e('Password', 'woo-feed'); ?></td>
|
1155 |
-
<td><input type="password" name="ftppassword"/></td>
|
1156 |
-
</tr>
|
1157 |
-
<tr>
|
1158 |
-
<td><?php echo _e( 'Port', 'woo-feed' ); ?></td>
|
1159 |
-
<td><input type="text" name="ftpport" value="21"/></td>
|
1160 |
-
</tr>
|
1161 |
-
<tr>
|
1162 |
-
<td><?php echo _e('Path', 'woo-feed'); ?></td>
|
1163 |
-
<td><input type="text" name="ftppath"/></td>
|
1164 |
-
</tr>
|
1165 |
-
</tbody>
|
1166 |
-
</table>
|
1167 |
-
<table class=" widefat fixed">
|
1168 |
-
<tr>
|
1169 |
-
<td align="left" class="makeFeedResponse">
|
1170 |
-
|
1171 |
-
</td>
|
1172 |
-
<td align="right">
|
1173 |
-
<button type="submit" id="wf_submit" class="wfbtn">
|
1174 |
-
<?php echo _e('Save & Generate Feed', 'woo-feed'); ?>
|
1175 |
-
</button>
|
1176 |
-
</td>
|
1177 |
-
</tr>
|
1178 |
-
</table>
|
1179 |
-
</div>
|
1180 |
-
</li>
|
1181 |
|
1182 |
</ul>
|
1126 |
</div>
|
1127 |
</li>
|
1128 |
|
1129 |
+
<?php include plugin_dir_path(__FILE__) . "../woo-feed-ftp-sftp-template.php"; ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1130 |
|
1131 |
</ul>
|
admin/partials/wish/add-feed.php
CHANGED
@@ -489,57 +489,6 @@
|
|
489 |
</table>
|
490 |
</div>
|
491 |
</li>
|
492 |
-
|
493 |
-
<input type="radio" name="wf_tabs" id="tab3"/>
|
494 |
-
<label class="wf-tab-name" for="tab3"><?php echo _e('FTP', 'woo-feed'); ?></label>
|
495 |
-
|
496 |
-
<div id="wf-tab-content3" class="wf-tab-content">
|
497 |
-
<table class="table widefat fixed mtable" width="100%">
|
498 |
-
<tbody>
|
499 |
-
<tr>
|
500 |
-
<td><?php echo _e('Enabled', 'woo-feed'); ?></td>
|
501 |
-
<td>
|
502 |
-
<select name="ftpenabled" id="">
|
503 |
-
<option value="0"><?php echo _e('Disabled', 'woo-feed'); ?></option>
|
504 |
-
<option value="1"><?php echo _e('Enabled', 'woo-feed'); ?></option>
|
505 |
-
</select>
|
506 |
-
</td>
|
507 |
-
</tr>
|
508 |
-
<tr>
|
509 |
-
<td><?php echo _e('Host Name', 'woo-feed'); ?></td>
|
510 |
-
<td><input type="text" name="ftphost"/></td>
|
511 |
-
</tr>
|
512 |
-
<tr>
|
513 |
-
<td><?php echo _e('User Name', 'woo-feed'); ?></td>
|
514 |
-
<td><input type="text" name="ftpuser"/></td>
|
515 |
-
</tr>
|
516 |
-
<tr>
|
517 |
-
<td><?php echo _e('Password', 'woo-feed'); ?></td>
|
518 |
-
<td><input type="password" name="ftppassword"/></td>
|
519 |
-
</tr>
|
520 |
-
<tr>
|
521 |
-
<td><?php echo _e( 'Port', 'woo-feed' ); ?></td>
|
522 |
-
<td><input type="text" name="ftpport" value="21"/></td>
|
523 |
-
</tr>
|
524 |
-
<tr>
|
525 |
-
<td><?php echo _e('Path', 'woo-feed'); ?></td>
|
526 |
-
<td><input type="text" name="ftppath"/></td>
|
527 |
-
</tr>
|
528 |
-
</tbody>
|
529 |
-
</table>
|
530 |
-
<table class=" widefat fixed">
|
531 |
-
<tr>
|
532 |
-
<td align="left" class="makeFeedResponse">
|
533 |
-
|
534 |
-
</td>
|
535 |
-
<td align="right">
|
536 |
-
<button type="submit" id="wf_submit" class="wfbtn">
|
537 |
-
<?php echo _e('Save & Generate Feed', 'woo-feed'); ?>
|
538 |
-
</button>
|
539 |
-
</td>
|
540 |
-
</tr>
|
541 |
-
</table>
|
542 |
-
</div>
|
543 |
-
</li>
|
544 |
|
545 |
</ul>
|
489 |
</table>
|
490 |
</div>
|
491 |
</li>
|
492 |
+
<?php include plugin_dir_path(__FILE__) . "../woo-feed-ftp-sftp-template.php"; ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
493 |
|
494 |
</ul>
|
admin/partials/woo-feed-edit-template.php
CHANGED
@@ -20,6 +20,10 @@ if($feedRules['provider']=='adroll'){
|
|
20 |
$feedRules['provider']='google';
|
21 |
}
|
22 |
|
|
|
|
|
|
|
|
|
23 |
$AttributesDropdown = $feedRules['provider'] . "AttributesDropdown";
|
24 |
//echo "<pre>";print_r($feedRules);
|
25 |
?>
|
@@ -317,7 +321,7 @@ $AttributesDropdown = $feedRules['provider'] . "AttributesDropdown";
|
|
317 |
</li>
|
318 |
<li>
|
319 |
<input type="radio" name="wf_tabs" id="tab3"/>
|
320 |
-
<label class="wf-tab-name" for="tab3"><?php echo _e('FTP', 'woo-feed'); ?></label>
|
321 |
|
322 |
<div id="wf-tab-content3" class="wf-tab-content">
|
323 |
<table class="table widefat fixed mtable" width="100%">
|
@@ -335,7 +339,16 @@ $AttributesDropdown = $feedRules['provider'] . "AttributesDropdown";
|
|
335 |
</select>
|
336 |
</td>
|
337 |
</tr>
|
338 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
339 |
<tr>
|
340 |
<td><?php echo _e('Host Name', 'woo-feed'); ?></td>
|
341 |
<td><input type="text" value="<?php echo esc_attr($feedRules['ftphost']); ?>" name="ftphost"
|
@@ -357,7 +370,7 @@ $AttributesDropdown = $feedRules['provider'] . "AttributesDropdown";
|
|
357 |
name="ftpport" autocomplete="off"/></td>
|
358 |
</tr>
|
359 |
<tr>
|
360 |
-
<td><?php echo _e('Path', 'woo-feed'); ?></td>
|
361 |
<td><input type="text" value="<?php echo esc_attr($feedRules['ftppath']); ?>" name="ftppath"
|
362 |
autocomplete="off"/></td>
|
363 |
</tr>
|
20 |
$feedRules['provider']='google';
|
21 |
}
|
22 |
|
23 |
+
if(!isset($feedRules['ftporsftp'])){
|
24 |
+
$feedRules['ftporsftp']="ftp";
|
25 |
+
}
|
26 |
+
|
27 |
$AttributesDropdown = $feedRules['provider'] . "AttributesDropdown";
|
28 |
//echo "<pre>";print_r($feedRules);
|
29 |
?>
|
321 |
</li>
|
322 |
<li>
|
323 |
<input type="radio" name="wf_tabs" id="tab3"/>
|
324 |
+
<label class="wf-tab-name" for="tab3"><?php echo _e('FTP / SFTP', 'woo-feed'); ?></label>
|
325 |
|
326 |
<div id="wf-tab-content3" class="wf-tab-content">
|
327 |
<table class="table widefat fixed mtable" width="100%">
|
339 |
</select>
|
340 |
</td>
|
341 |
</tr>
|
342 |
+
<tr>
|
343 |
+
<td><?php echo _e( 'Server Type', 'woo-feed' ); ?></td>
|
344 |
+
<td>
|
345 |
+
<select name="ftporsftp" id="" class="ftporsftp">
|
346 |
+
<option <?php echo ($feedRules['ftporsftp'] == "ftp") ? 'selected="selected"' : ''; ?> value="ftp"><?php echo _e( 'FTP', 'woo-feed' ); ?></option>
|
347 |
+
<option <?php echo ($feedRules['ftporsftp'] == "sftp") ? 'selected="selected"' : ''; ?>value="sftp"><?php echo _e( 'SFTP', 'woo-feed' ); ?></option>
|
348 |
+
</select>
|
349 |
+
<span class="ssh2_status"></span>
|
350 |
+
</td>
|
351 |
+
</tr>
|
352 |
<tr>
|
353 |
<td><?php echo _e('Host Name', 'woo-feed'); ?></td>
|
354 |
<td><input type="text" value="<?php echo esc_attr($feedRules['ftphost']); ?>" name="ftphost"
|
370 |
name="ftpport" autocomplete="off"/></td>
|
371 |
</tr>
|
372 |
<tr>
|
373 |
+
<td><?php echo _e('Path (Optional)', 'woo-feed'); ?></td>
|
374 |
<td><input type="text" value="<?php echo esc_attr($feedRules['ftppath']); ?>" name="ftppath"
|
375 |
autocomplete="off"/></td>
|
376 |
</tr>
|
includes/class-woo-feed.php
CHANGED
@@ -70,7 +70,7 @@ class Woo_Feed
|
|
70 |
public function __construct()
|
71 |
{
|
72 |
$this->woo_feed = 'woo-feed';
|
73 |
-
$this->version = '2.2.
|
74 |
|
75 |
$this->load_dependencies();
|
76 |
$this->set_locale();
|
@@ -191,6 +191,8 @@ class Woo_Feed
|
|
191 |
*/
|
192 |
require_once plugin_dir_path(dirname(__FILE__)) . 'admin/class-woo-feed-manage-list.php';
|
193 |
|
|
|
|
|
194 |
$this->loader = new Woo_Feed_Loader();
|
195 |
|
196 |
}
|
70 |
public function __construct()
|
71 |
{
|
72 |
$this->woo_feed = 'woo-feed';
|
73 |
+
$this->version = '2.2.29';
|
74 |
|
75 |
$this->load_dependencies();
|
76 |
$this->set_locale();
|
191 |
*/
|
192 |
require_once plugin_dir_path(dirname(__FILE__)) . 'admin/class-woo-feed-manage-list.php';
|
193 |
|
194 |
+
require_once plugin_dir_path(dirname(__FILE__)) . 'includes/classes/class-woo-feed-sftp.php';
|
195 |
+
|
196 |
$this->loader = new Woo_Feed_Loader();
|
197 |
|
198 |
}
|
includes/classes/class-woo-feed-ftp.php
CHANGED
@@ -133,7 +133,9 @@ Class FTPClient
|
|
133 |
{
|
134 |
// *** Set the transfer mode
|
135 |
$asciiArray = array('txt', 'csv', 'xml');
|
136 |
-
$
|
|
|
|
|
137 |
if (in_array($extension, $asciiArray)) {
|
138 |
$mode = FTP_ASCII;
|
139 |
} else {
|
133 |
{
|
134 |
// *** Set the transfer mode
|
135 |
$asciiArray = array('txt', 'csv', 'xml');
|
136 |
+
$getExtension = explode('.', $fileFrom);
|
137 |
+
$extension=end($getExtension);
|
138 |
+
|
139 |
if (in_array($extension, $asciiArray)) {
|
140 |
$mode = FTP_ASCII;
|
141 |
} else {
|
woo-feed.php
CHANGED
@@ -16,7 +16,7 @@
|
|
16 |
* Plugin Name: WooCommerce Product Feed
|
17 |
* Plugin URI: https://webappick.com/
|
18 |
* Description: This plugin generate WooCommerce product feed for Shopping Engines like Google Shopping,Facebook Product Feed,eBay,Amazon,Idealo and many more..
|
19 |
-
* Version: 2.2.
|
20 |
* Author: WebAppick
|
21 |
* Author URI: https://webappick.com/
|
22 |
* License: GPL v2
|
@@ -187,15 +187,24 @@ function woo_feed_add_update($info = "", $name = "")
|
|
187 |
$ftpPort = isset($info['ftpport']) && !empty($info['ftpport'])?sanitize_text_field($info['ftpport']):21;
|
188 |
$ftpEnabled = sanitize_text_field($info['ftpenabled']);
|
189 |
|
|
|
|
|
|
|
190 |
try{
|
191 |
if ($type == "json") {
|
192 |
$type="csv";
|
193 |
}
|
194 |
# Upload file to ftp server
|
195 |
if ($ftpEnabled) {
|
196 |
-
$
|
197 |
-
|
198 |
-
$ftp->
|
|
|
|
|
|
|
|
|
|
|
|
|
199 |
}
|
200 |
}
|
201 |
}catch (Exception $e){
|
@@ -597,6 +606,7 @@ function woo_feed_save_feed_file(){
|
|
597 |
$ftpPassword = $info['ftppassword'];
|
598 |
$ftpPath = $info['ftppath'];
|
599 |
$ftpEnabled = $info['ftpenabled'];
|
|
|
600 |
$ftpPort = isset($info['ftpport']) && !empty($info['ftpport'])?$info['ftpport']:21;
|
601 |
try{
|
602 |
if ($type == "json") {
|
@@ -604,9 +614,15 @@ function woo_feed_save_feed_file(){
|
|
604 |
}
|
605 |
# Upload file to ftp server
|
606 |
if ($ftpEnabled) {
|
607 |
-
$
|
608 |
-
|
609 |
-
$ftp->
|
|
|
|
|
|
|
|
|
|
|
|
|
610 |
}
|
611 |
}
|
612 |
}catch (Exception $e){
|
@@ -954,7 +970,7 @@ function woo_feed_uninstall_reason_submission(){
|
|
954 |
|
955 |
$data = array(
|
956 |
'reason_id' => sanitize_text_field( $_POST['reason_id'] ), // WPCS: CSRF ok, Input var ok.
|
957 |
-
'plugin' => "Woo Feed
|
958 |
'url' => home_url(),
|
959 |
'user_email' => $CurUser->data->user_email,
|
960 |
'user_name' => $CurUser->data->display_name,
|
@@ -1029,4 +1045,16 @@ function woo_feed_deactivate_scripts() {
|
|
1029 |
</div>
|
1030 |
|
1031 |
<?php
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1032 |
}
|
16 |
* Plugin Name: WooCommerce Product Feed
|
17 |
* Plugin URI: https://webappick.com/
|
18 |
* Description: This plugin generate WooCommerce product feed for Shopping Engines like Google Shopping,Facebook Product Feed,eBay,Amazon,Idealo and many more..
|
19 |
+
* Version: 2.2.29
|
20 |
* Author: WebAppick
|
21 |
* Author URI: https://webappick.com/
|
22 |
* License: GPL v2
|
187 |
$ftpPort = isset($info['ftpport']) && !empty($info['ftpport'])?sanitize_text_field($info['ftpport']):21;
|
188 |
$ftpEnabled = sanitize_text_field($info['ftpenabled']);
|
189 |
|
190 |
+
$ftporsftp = isset($info['ftporsftp'])?sanitize_text_field($info['ftporsftp']):"ftp";
|
191 |
+
|
192 |
+
|
193 |
try{
|
194 |
if ($type == "json") {
|
195 |
$type="csv";
|
196 |
}
|
197 |
# Upload file to ftp server
|
198 |
if ($ftpEnabled) {
|
199 |
+
if($ftporsftp == "ftp") {
|
200 |
+
$ftp = new FTPClient();
|
201 |
+
if ($ftp->connect($ftpHost, $ftpUser, $ftpPassword,false,$ftpPort)){
|
202 |
+
$ftp->uploadFile($file, $fileName . "." . $type);
|
203 |
+
}
|
204 |
+
} elseif ($ftporsftp == "sftp" && extension_loaded ( 'ssh2' )) {
|
205 |
+
$sftp = new SFTPConnection($ftpHost, $ftpPort);
|
206 |
+
$sftp->login($ftpUser, $ftpPassword);
|
207 |
+
$sftp->uploadFile($file, "/".$fileName . "." . $type);
|
208 |
}
|
209 |
}
|
210 |
}catch (Exception $e){
|
606 |
$ftpPassword = $info['ftppassword'];
|
607 |
$ftpPath = $info['ftppath'];
|
608 |
$ftpEnabled = $info['ftpenabled'];
|
609 |
+
$ftporsftp = isset($info['ftporsftp'])?$info['ftporsftp']:"ftp";
|
610 |
$ftpPort = isset($info['ftpport']) && !empty($info['ftpport'])?$info['ftpport']:21;
|
611 |
try{
|
612 |
if ($type == "json") {
|
614 |
}
|
615 |
# Upload file to ftp server
|
616 |
if ($ftpEnabled) {
|
617 |
+
if($ftporsftp == "ftp") {
|
618 |
+
$ftp = new FTPClient();
|
619 |
+
if ($ftp->connect($ftpHost, $ftpUser, $ftpPassword,false,$ftpPort)){
|
620 |
+
$ftp->uploadFile($file, $fileName . "." . $type);
|
621 |
+
}
|
622 |
+
} elseif ($ftporsftp == "sftp" && extension_loaded ( 'ssh2' )) {
|
623 |
+
$sftp = new SFTPConnection($ftpHost, $ftpPort);
|
624 |
+
$sftp->login($ftpUser, $ftpPassword);
|
625 |
+
$sftp->uploadFile($file, "/".$fileName . "." . $type);
|
626 |
}
|
627 |
}
|
628 |
}catch (Exception $e){
|
970 |
|
971 |
$data = array(
|
972 |
'reason_id' => sanitize_text_field( $_POST['reason_id'] ), // WPCS: CSRF ok, Input var ok.
|
973 |
+
'plugin' => "Woo Feed Free",
|
974 |
'url' => home_url(),
|
975 |
'user_email' => $CurUser->data->user_email,
|
976 |
'user_name' => $CurUser->data->display_name,
|
1045 |
</div>
|
1046 |
|
1047 |
<?php
|
1048 |
+
}
|
1049 |
+
|
1050 |
+
add_action('wp_ajax_get_ssh2_status', 'woo_feed_get_ssh2_status');
|
1051 |
+
function woo_feed_get_ssh2_status() {
|
1052 |
+
check_ajax_referer( 'wpf_feed_nonce' );
|
1053 |
+
$php_extension = get_loaded_extensions();
|
1054 |
+
if(extension_loaded ( 'ssh2' )) {
|
1055 |
+
wp_send_json_success('exists');
|
1056 |
+
} else {
|
1057 |
+
wp_send_json_success('not exists');
|
1058 |
+
}
|
1059 |
+
|
1060 |
}
|