5532 |
daniel |
1 |
|
|
|
2 |
<?php echo wpsg_drawForm_AdminboxStart($this->view['field_title'], 'wpsg_email_box'); ?>
|
|
|
3 |
|
|
|
4 |
<?php echo wpsg_drawForm_Input('wpsg_'.$this->view['field_key'].'_betreff', __('Betreff', 'wpsg'), $this->get_option('wpsg_'.$this->view['field_key'].'_betreff')); ?>
|
|
|
5 |
<?php echo wpsg_drawForm_Input('wpsg_'.$this->view['field_key'].'_absender', __('Absender', 'wpsg'), $this->get_option('wpsg_'.$this->view['field_key'].'_absender')); ?>
|
|
|
6 |
|
|
|
7 |
<?php if ($this->view['field_to'] === true) { ?>
|
5562 |
daniel |
8 |
<?php echo wpsg_drawForm_Input('wpsg_'.$this->view['field_key'].'_empfaenger', __('Empfänger', 'wpsg'), $GLOBALS['wpsg_sc']->get_option('wpsg_'.$this->view['field_key'].'_empfaenger')); ?>
|
5532 |
daniel |
9 |
<?php } ?>
|
|
|
10 |
|
|
|
11 |
<?php echo wpsg_drawForm_Input('wpsg_'.$this->view['field_key'].'_cc', __('CC', 'wpsg'), $this->get_option('wpsg_'.$this->view['field_key'].'_cc')); ?>
|
|
|
12 |
<?php echo wpsg_drawForm_Input('wpsg_'.$this->view['field_key'].'_bcc', __('BCC', 'wpsg'), $this->get_option('wpsg_'.$this->view['field_key'].'_bcc')); ?>
|
|
|
13 |
|
|
|
14 |
<?php if ($this->view['field_attachment'] === true) { ?>
|
|
|
15 |
|
6745 |
daniel |
16 |
<?php echo wpsg_drawForm_Upload('wpsg_'.$this->view['field_key'].'_attachfile', __('Mailanhang', 'wpsg'), '', '43', '100000'); ?>
|
5532 |
daniel |
17 |
<br />
|
|
|
18 |
<div class="wpsg_hinweis">
|
|
|
19 |
<strong><?php echo __('Aktueller Anhang', 'wpsg') ?>: </strong><?php echo ((wpsg_isSizedString($this->get_option('wpsg_'.$this->view['field_key'].'_attachfile')))?$this->get_option('wpsg_'.$this->view['field_key'].'_attachfile'):__('keiner', 'wpsg')); ?>
|
5945 |
hartmut |
20 |
<?php echo ((wpsg_isSizedString($this->get_option('wpsg_kundenmail_attachfile')))?'<a class="wpsg_glyphicon_right glyphicon glyphicon-minus-sign" titel="'.__('Datei entfernen', 'wpsg').'" href="'.WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Admin&subaction='.$_REQUEST['subaction'].'&cmd=del_attach_file"></a>':''); ?>
|
5532 |
daniel |
21 |
</div>
|
|
|
22 |
<br />
|
|
|
23 |
|
5562 |
daniel |
24 |
<?php } ?>
|
5532 |
daniel |
25 |
|
7133 |
daniel |
26 |
<br /><p style="font-weight:700;"><?php echo (__('Text unter der E-Mail', 'wpsg')); ?></p>
|
5532 |
daniel |
27 |
|
7133 |
daniel |
28 |
<?php
|
|
|
29 |
|
|
|
30 |
// RTE
|
|
|
31 |
ob_start();
|
|
|
32 |
wp_editor($this->get_option('wpsg_'.$this->view['field_key'].'_text'), 'wpsg_'.$this->view['field_key'].'_text');
|
|
|
33 |
$rte_content = ob_get_contents();
|
|
|
34 |
ob_end_clean();
|
|
|
35 |
|
|
|
36 |
echo $rte_content;
|
|
|
37 |
|
|
|
38 |
?>
|
5532 |
daniel |
39 |
|
6567 |
thomas |
40 |
<br />
|
|
|
41 |
<?php echo __('* Der restliche E-Mailtext kann nur im Mailtemplate verändert werden', 'wpsg'); ?>
|
5532 |
daniel |
42 |
<?php if (wpsg_isSizedString($notice)) { ?>
|
|
|
43 |
|
|
|
44 |
<br />
|
|
|
45 |
<div class="wpsg_hinweis"><?php echo $notice; ?></div>
|
|
|
46 |
|
|
|
47 |
<?php } ?>
|
|
|
48 |
|
|
|
49 |
<br />
|
|
|
50 |
|
|
|
51 |
<?php echo wpsg_drawForm_AdminboxEnd(); ?>
|