Line 20... |
Line 20... |
20 |
<select class="select " size="<?php echo ((sizeof($this->view['arGroup']) > 5)?5:sizeof($this->view['arGroup'])); ?>" multiple="multiple" name="wpsg_mod_newsletter_imoprtgroups[]" id="wpsg_mod_newsletter_imoprtgroups">
|
20 |
<select class="select " size="<?php echo ((sizeof($this->view['arGroup']) > 5)?5:sizeof($this->view['arGroup'])); ?>" multiple="multiple" name="wpsg_mod_newsletter_imoprtgroups[]" id="wpsg_mod_newsletter_imoprtgroups">
|
21 |
<?php foreach ($this->view['arGroup'] as $group_id => $group) { ?>
|
21 |
<?php foreach ($this->view['arGroup'] as $group_id => $group) { ?>
|
22 |
<option value="<?php echo $group_id; ?>"><?php echo $group; ?></option>
|
22 |
<option value="<?php echo $group_id; ?>"><?php echo $group; ?></option>
|
23 |
<?php } ?>
|
23 |
<?php } ?>
|
24 |
</select>
|
24 |
</select>
|
- |
|
25 |
<a style="float:right; position:relative;" class="wpsg_form_help" href="?page=wpsg-Admin&subaction=loadHelp&noheader=1&field=mod_newsletter_imoprtgroups" rel="?page=wpsg-Admin&subaction=loadHelp&noheader=1&field=mod_newsletter_imoprtgroups"></a>
|
25 |
<input type="button" onclick="return wpsg_doImport();" value="<?php echo __('Kunden importieren', 'wpsg'); ?>" class="button" style="width:auto;" />
|
26 |
<input type="button" onclick="return wpsg_doImport();" value="<?php echo __('Kunden importieren', 'wpsg'); ?>" class="button" style="width:auto;" />
|
26 |
</div>
|
27 |
</div>
|
27 |
<div class="wpsg_clear"></div>
|
28 |
<div class="wpsg_clear"></div>
|
28 |
</div>
|
29 |
</div>
|
29 |
|
30 |
|
30 |
<script type="text/javascript">/* <![CDATA[ */
|
31 |
<script type="text/javascript">/* <![CDATA[ */
|
31 |
|
32 |
|
32 |
/**
|
33 |
/**
|
33 |
* Startet den Import
|
34 |
* Startet den Import
|
34 |
*/
|
35 |
*/
|
35 |
function wpsg_doImport()
|
36 |
function wpsg_doImport()
|
Line 55... |
Line 56... |
55 |
strGroups = strGroups.substring(0, strGroups.length - 1);
|
56 |
strGroups = strGroups.substring(0, strGroups.length - 1);
|
56 |
|
57 |
|
57 |
location.href = '<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin&action=module&modul=wpsg_mod_newsletter&do=import&noheader=1&groups=' + strGroups;
|
58 |
location.href = '<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin&action=module&modul=wpsg_mod_newsletter&do=import&noheader=1&groups=' + strGroups;
|
58 |
|
59 |
|
59 |
} // function wpsg_doImport()
|
60 |
} // function wpsg_doImport()
|
60 |
|
61 |
|
61 |
/* ]]> */</script>
|
62 |
/* ]]> */</script>
|
62 |
|
63 |
|
63 |
<?php } ?>
|
64 |
<?php } ?>
|
64 |
|
65 |
|