Line 3... |
Line 3... |
3 |
|
3 |
|
4 |
<?php echo wpsg_drawForm_Input('wpsg_'.$this->view['field_key'].'_betreff', __('Betreff', 'wpsg'), $this->get_option('wpsg_'.$this->view['field_key'].'_betreff')); ?>
|
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')); ?>
|
5 |
<?php echo wpsg_drawForm_Input('wpsg_'.$this->view['field_key'].'_absender', __('Absender', 'wpsg'), $this->get_option('wpsg_'.$this->view['field_key'].'_absender')); ?>
|
6 |
|
6 |
|
7 |
<?php if ($this->view['field_to'] === true) { ?>
|
7 |
<?php if ($this->view['field_to'] === true) { ?>
|
8 |
<?php echo wpsg_drawForm_Input('wpsg_'.$this->view['field_key'].'_empfaenger', __('Empfänger', 'wpsg'), $GLOBALS['wpsg_sc']->get_option('wpsg_'.$key.'_empfaenger')); ?>
|
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')); ?>
|
9 |
<?php } ?>
|
9 |
<?php } ?>
|
10 |
|
10 |
|
11 |
<?php echo wpsg_drawForm_Input('wpsg_'.$this->view['field_key'].'_cc', __('CC', 'wpsg'), $this->get_option('wpsg_'.$this->view['field_key'].'_cc')); ?>
|
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')); ?>
|
12 |
<?php echo wpsg_drawForm_Input('wpsg_'.$this->view['field_key'].'_bcc', __('BCC', 'wpsg'), $this->get_option('wpsg_'.$this->view['field_key'].'_bcc')); ?>
|
13 |
|
13 |
|
Line 19... |
Line 19... |
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')); ?>
|
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')); ?>
|
20 |
<?php echo ((wpsg_isSizedString($this->get_option('wpsg_kundenmail_attachfile')))?'<a class="wpsg_icon wpsg_icon_right wpsg_icon_remove" titel="'.__('Datei entfernen', 'wpsg').'" href="'.WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Admin&subaction='.$_REQUEST['subaction'].'&cmd=del_attach_file"></a>':''); ?>
|
20 |
<?php echo ((wpsg_isSizedString($this->get_option('wpsg_kundenmail_attachfile')))?'<a class="wpsg_icon wpsg_icon_right wpsg_icon_remove" titel="'.__('Datei entfernen', 'wpsg').'" href="'.WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Admin&subaction='.$_REQUEST['subaction'].'&cmd=del_attach_file"></a>':''); ?>
|
21 |
</div>
|
21 |
</div>
|
22 |
<br />
|
22 |
<br />
|
23 |
|
23 |
|
24 |
<?php } ?>
|
24 |
<?php } ?>
|
25 |
|
- |
|
26 |
<?php
|
- |
|
27 |
|
- |
|
28 |
// RTE
|
- |
|
29 |
ob_start();
|
- |
|
30 |
wp_editor($this->get_option('wpsg_'.$this->view['field_key'].'_text'), 'wpsg_'.$this->view['field_key'].'_text');
|
- |
|
31 |
$rte_content = ob_get_contents();
|
- |
|
32 |
ob_end_clean();
|
- |
|
33 |
|
- |
|
34 |
?>
|
- |
|
35 |
|
- |
|
36 |
<div class="wpsg_form_field">
|
- |
|
37 |
<div class="wpsg_form_left"><label><?php echo __('Text unter der E-Mail', 'wpsg'); ?></label></div>
|
- |
|
38 |
<div class="wpsg_form_right"></div><div class="wpsg_clear"></div>
|
- |
|
39 |
</div>
|
- |
|
40 |
|
25 |
|
- |
|
26 |
<div class="modal fade" tabindex="-1" role="dialog" id="modal<?php echo $this->view['field_key']; ?>">
|
- |
|
27 |
<div class="modal-dialog">
|
- |
|
28 |
<div class="modal-content">
|
- |
|
29 |
<div class="modal-header">
|
- |
|
30 |
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
|
- |
|
31 |
<h4 class="modal-title"><?php echo __('Text im Footer der Mail bearbeiten', 'wpsg'); ?></h4>
|
- |
|
32 |
</div>
|
- |
|
33 |
<div class="modal-body">
|
- |
|
34 |
|
- |
|
35 |
<?php
|
- |
|
36 |
|
- |
|
37 |
// RTE
|
- |
|
38 |
ob_start();
|
- |
|
39 |
wp_editor($this->get_option('wpsg_'.$this->view['field_key'].'_text'), 'wpsg_'.$this->view['field_key'].'_text');
|
- |
|
40 |
$rte_content = ob_get_contents();
|
- |
|
41 |
ob_end_clean();
|
- |
|
42 |
|
41 |
<?php echo $rte_content; ?>
|
43 |
echo $rte_content;
|
- |
|
44 |
|
- |
|
45 |
?>
|
- |
|
46 |
|
- |
|
47 |
</div>
|
- |
|
48 |
<div class="modal-footer">
|
- |
|
49 |
<button type="button" class="btn btn-default" data-dismiss="modal"><?php echo __('Schließen', 'wpsg'); ?></button>
|
- |
|
50 |
</div>
|
- |
|
51 |
</div><!-- /.modal-content -->
|
- |
|
52 |
</div><!-- /.modal-dialog -->
|
- |
|
53 |
</div><!-- /.modal -->
|
- |
|
54 |
|
- |
|
55 |
<?php echo wpsg_drawForm_TextStart(); ?>
|
- |
|
56 |
<a href="#" data-toggle="modal" data-target="#modal<?php echo $this->view['field_key']; ?>"><?php echo __('Text anzeigen/bearbeiten', 'wpsg'); ?></a>
|
- |
|
57 |
<?php echo wpsg_drawForm_TextEnd(__('Text unter der E-Mail', 'wpsg')); ?>
|
42 |
|
58 |
|
43 |
<?php if (wpsg_isSizedString($notice)) { ?>
|
59 |
<?php if (wpsg_isSizedString($notice)) { ?>
|
44 |
|
60 |
|
45 |
<br />
|
61 |
<br />
|
46 |
<div class="wpsg_hinweis"><?php echo $notice; ?></div>
|
62 |
<div class="wpsg_hinweis"><?php echo $notice; ?></div>
|