Subversion Repositories wpShopGermany4

Rev

Rev 5562 | Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
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) { ?>
8
	<?php echo wpsg_drawForm_Input('wpsg_'.$this->view['field_key'].'_empfaenger', __('Empfänger', 'wpsg'), $GLOBALS['wpsg_sc']->get_option('wpsg_'.$key.'_empfaenger')); ?>
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
 
16
		<?php echo wpsg_drawForm_Upload('wpsg_'.$this->view['field_key'].'_attachfile', __('Mailanhang', 'wpsg'), '', '43', '100000', ''); ?>
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')); ?>
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&amp;subaction='.$_REQUEST['subaction'].'&amp;cmd=del_attach_file"></a>':''); ?>
21
		</div>
22
		<br />
23
 
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
 
41
	<?php echo $rte_content; ?>
42
 
43
	<?php if (wpsg_isSizedString($notice)) { ?>
44
 
45
	<br />
46
	<div class="wpsg_hinweis"><?php echo $notice; ?></div>
47
 
48
	<?php } ?>
49
 
50
	<br />
51
 
52
<?php echo wpsg_drawForm_AdminboxEnd(); ?>