Subversion Repositories wpShopGermany4

Rev

Rev 6567 | Rev 7133 | Go to most recent revision | Details | Compare with Previous | 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) { ?>
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&amp;subaction='.$_REQUEST['subaction'].'&amp;cmd=del_attach_file"></a>':''); ?>
5532 daniel 21
		</div>
22
		<br />
23
 
5562 daniel 24
	<?php } ?>
5532 daniel 25
 
5562 daniel 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">&times;</span></button>
31
					<h4 class="modal-title"><?php echo __('Text im Footer der Mail bearbeiten', 'wpsg'); ?></h4>
32
				</div>
33
				<div class="modal-body">
5532 daniel 34
 
5562 daniel 35
					<?php
5532 daniel 36
 
5562 daniel 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
 
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')); ?>
6567 thomas 58
	<br />
59
	<?php echo __('* Der restliche E-Mailtext kann nur im Mailtemplate verändert werden', 'wpsg'); ?>
5532 daniel 60
	<?php if (wpsg_isSizedString($notice)) { ?>
61
 
62
	<br />
63
	<div class="wpsg_hinweis"><?php echo $notice; ?></div>
64
 
65
	<?php } ?>
66
 
67
	<br />
68
 
69
<?php echo wpsg_drawForm_AdminboxEnd(); ?>