Subversion Repositories wpShopGermany4

Rev

Rev 7133 | Rev 7156 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 7133 Rev 7147
Line 18... Line 18...
18
 
18
 
19
<div class="wpsg_admin_content form-horizontal">
19
<div class="wpsg_admin_content form-horizontal">
20
	<form name="form1" method="post" enctype="multipart/form-data" action="<?php echo wpsg_hspc(WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Admin&subaction=emailconf&noheader=1'); ?>">
20
	<form name="form1" method="post" enctype="multipart/form-data" action="<?php echo wpsg_hspc(WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Admin&subaction=emailconf&noheader=1'); ?>">
21
 
21
 
22
		<?php echo wpsg_drawForm_AdminboxStart('Allgemeine Einstellungen', 'wpsg'); ?>
22
		<?php echo wpsg_drawForm_AdminboxStart('Allgemeine Einstellungen', 'wpsg'); ?>
23
		<?php $logoPath = WPSG_PATH_CONTENT . 'uploads/wpsg/wpsg_mailconf/wpsg_email_logo.jpg'; ?>
23
		<?php $logoPath = wpsg_getUploadDir('wpsg_mailconf').'wpsg_email_logo.jpg'; ?>
24
 
24
 
25
		<?php echo wpsg_drawForm_Checkbox(
25
		<?php echo wpsg_drawForm_Checkbox(
26
			'wpsg_htmlmail',
26
			'wpsg_htmlmail',
27
			__('HTML Mails versenden', 'wpsg'),
27
			__('HTML Mails versenden', 'wpsg'),
28
			$this->get_option('wpsg_htmlmail')
28
			$this->get_option('wpsg_htmlmail')
Line 30... Line 30...
30
 
30
 
31
 
31
 
32
		<div class="col-emaillogo">
32
		<div class="col-emaillogo">
33
 
33
 
34
			<?php if(file_exists($logoPath)) { ?>
34
			<?php if(file_exists($logoPath)) { ?>
-
 
35
                
35
				<?php echo wpsg_drawForm_Checkbox(
36
				<?php echo wpsg_drawForm_Checkbox(
36
					'wpsg_email_logo_activated',
37
					'wpsg_email_logo_activated',
37
					__("E-Maillogo anzeigen"),
38
					__("E-Maillogo anzeigen"),
38
					$this->get_option('wpsg_email_logo_activated')
39
					$this->get_option('wpsg_email_logo_activated')
39
				); ?>
40
				); ?>
Line 41... Line 42...
41
				<?php echo wpsg_drawForm_Checkbox(
42
				<?php echo wpsg_drawForm_Checkbox(
42
					'wpsg_email_logo_watermark',
43
					'wpsg_email_logo_watermark',
43
					__("E-Maillogo als Wasserzeichen anzeigen"),
44
					__("E-Maillogo als Wasserzeichen anzeigen"),
44
					$this->get_option('wpsg_email_logo_watermark')
45
					$this->get_option('wpsg_email_logo_watermark')
45
				); ?>
46
				); ?>
-
 
47
                
46
			<?php } ?>
48
			<?php } ?>
47
 
49
 
48
			<br />
50
			<br />
49
			
51
			
50
			<div class="form-group">
52
			<div class="form-group">
51
				<div class="col-sm-6 control-label control-label-email-conf">
53
				<div class="col-sm-6 control-label control-label-email-conf">
52
					<label><?php echo __("E-Maillogo (JPG)"); ?></label>
54
					<label><?php echo __("E-Maillogo (JPG)"); ?></label>
53
				</div>
55
				</div>
54
				<div class="col-sm-6">
56
				<div class="col-sm-6">
55
					<?php if(file_exists($logoPath)) { ?>
57
					<?php if(file_exists($logoPath)) { ?>
56
						<a href="<?php echo $this->get_option('wpsg_email_logo_url'); ?>" target="_blank"><?php echo __('Derzeitiges Logo', 'wpsg'); ?></a><br>
58
						<a href="<?php echo WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Admin&subaction=emailconf&getEmailLogo=1&noheader=1'; ?>" target="_blank"><?php echo __('Derzeitiges Logo', 'wpsg'); ?></a><br>
57
					<?php } ?>
59
					<?php } ?>
58
					<input type="file" name="wpsg_email_logo">
60
					<input type="file" name="wpsg_email_logo">
59
				</div>
61
				</div>
60
 
62
 
61
				<?php if(file_exists($logoPath)) { ?>
63
				<?php if(file_exists($logoPath)) { ?>