1905 |
daniel |
1 |
<?php
|
|
|
2 |
|
|
|
3 |
/**
|
|
|
4 |
* Template für den Import von Gutscheinen über CSV Datei
|
|
|
5 |
*/
|
|
|
6 |
|
|
|
7 |
?>
|
|
|
8 |
|
|
|
9 |
<div class="wrap wpsg_mod_gutschein">
|
|
|
10 |
<div class="icon32 icon32-posts-post" id="icon-edit"><br></div>
|
|
|
11 |
<h2>
|
|
|
12 |
<?php echo __('Gutscheinverwaltung - CSV Import', 'wpsg'); ?>
|
|
|
13 |
</h2>
|
|
|
14 |
<form name="wpsg_form" method="post" enctype="multipart/form-data" action="<?php echo wpsg_hspc(WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Voucher&action=import&noheader=1'); ?>">
|
|
|
15 |
|
7566 |
daniel |
16 |
<?php echo wpsg_formNounce('Voucher','import'); ?>
|
|
|
17 |
|
1905 |
daniel |
18 |
<?php echo wpsg_drawForm_Select('gs_exists', __('Bestehende Codes', 'wpsg'), array('0' => __('Überschreiben', 'wpsg'), '1' => __('Ignorieren', 'wpsg')), '1'); ?>
|
|
|
19 |
|
|
|
20 |
<br />
|
|
|
21 |
<div class="wpsg_form_field">
|
|
|
22 |
<div class="wpsg_form_left">
|
|
|
23 |
<label for="abo_file"><?php echo __('CSV Quell Datei', 'wpsg'); ?>:</label>
|
|
|
24 |
</div>
|
|
|
25 |
<div class="wpsg_form_right">
|
|
|
26 |
<input type="file" name="wpsg_file" />
|
|
|
27 |
</div>
|
|
|
28 |
<div class="wpsg_clear"></div>
|
|
|
29 |
</div>
|
|
|
30 |
|
|
|
31 |
<p class="submit">
|
|
|
32 |
<input id="wpsg_submit" type="submit" value="<?php echo __('Import starten', 'wpsg'); ?>" class="button-primary" name="submit" />
|
|
|
33 |
<input type="button" class="button" value="<?php echo __('Zurück zur Gutscheinverwaltung', 'wpsg'); ?>" onclick="location.href = '<?php echo wpsg_url(WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Voucher'); ?>';" />
|
|
|
34 |
</p>
|
|
|
35 |
|
|
|
36 |
</form>
|
|
|
37 |
</div>
|