3740 |
daniel |
1 |
<div id="wpsg_customer_newsletter" class="postbox">
|
|
|
2 |
<h3 class="wpsg_handlediv">
|
|
|
3 |
<span class="handlediv" title="<?php echo __('Zum Ein/Ausklappen hier klicken', 'wpsg'); ?>"><br /></span>
|
|
|
4 |
<span><?php echo __('Newsletter', 'wpsg'); ?></span>
|
|
|
5 |
</h3>
|
|
|
6 |
<div class="inside">
|
|
|
7 |
<?php if ($this->view['wpsg_mod_newsletter']['found'] === true) { ?>
|
|
|
8 |
<input type="hidden" name="wpsg_mod_newsletter[abo_id]" value="<?php echo $this->view['wpsg_mod_newsletter']['abo_id']; ?>" />
|
|
|
9 |
<?php echo wpsg_drawForm_Input('', __('Name', 'wpsg'), $this->view['wpsg_mod_newsletter']['name'], array('text' => true, 'nohspc' => true)); ?>
|
|
|
10 |
<?php echo wpsg_drawForm_Select('wpsg_mod_newsletter[status]', __('Status', 'wpsg'), $this->view['wpsg_mod_newsletter']['arStatus'], $this->view['wpsg_mod_newsletter']['status']); ?>
|
|
|
11 |
<?php echo wpsg_drawForm_Select('wpsg_mod_newsletter[group_id]', __('Abonnentengruppe', 'wpsg'), $this->view['wpsg_mod_newsletter']['arGroups'], $this->view['wpsg_mod_newsletter']['groupIds'], array('multiple' => ((sizeof($this->view['wpsg_mod_newsletter']['arGroups']) > 5)?5:sizeof($this->view['wpsg_mod_newsletter']['arGroups'])))); ?>
|
|
|
12 |
<?php echo wpsg_drawForm_Checkbox('wpsg_mod_newsletter[update]', __('Daten übernehmen', 'wpsg'), false); ?>
|
|
|
13 |
|
|
|
14 |
<?php } else { ?>
|
|
|
15 |
<?php echo wpsg_drawForm_Input('', __('Status', 'wpsg'), $this->view['wpsg_mod_newsletter']['status'], array('text' => true, 'nohspc' => true)); ?>
|
|
|
16 |
<?php } ?>
|
|
|
17 |
</div>
|
|
|
18 |
</div>
|