Subversion Repositories wpShopGermany4

Rev

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

Rev 5997 Rev 6005
Line 15... Line 15...
15
 
15
 
16
<br />
16
<br />
17
 
17
 
18
<div class="wpsg_mod_protectedshops">
18
<div class="wpsg_mod_protectedshops">
19
	<div class="wpsg_admin_box" id="wpsg_tab">	
19
	<div class="wpsg_admin_box" id="wpsg_tab">	
20
		<div class="head">
-
 
-
 
20
 
21
			<div class="title">
21
    <ul class="nav nav-tabs" role="tablist">
22
				<div class="tab" id="tab1"><?php echo __('Trusted Shops Widget', 'wpsg'); ?></div>
22
        <li role="presentation" class="active"><a href="#tab1" aria-controls="home" role="tab" data-toggle="tab"><?php echo __('Trusted Shops Widget', 'wpsg'); ?></a></li>
23
				<div class="tab" id="tab2"><?php echo __('Bestellabschluss', 'wpsg'); ?></div>
23
        <li role="presentation"><a href="#tab2" aria-controls="profile" role="tab" data-toggle="tab"><?php echo __('Bestellabschluss', 'wpsg'); ?></a></li>
24
				<div class="tab" id="tab3"><?php echo __('Bewertungslinks', 'wpsg'); ?></div>
24
        <li role="presentation"><a href="#tab3" aria-controls="messages" role="tab" data-toggle="tab"><?php echo __('Bewertungslinks', 'wpsg'); ?></a></li>
25
				<div class="tab" id="tab4"><?php echo __('Review Collector', 'wpsg'); ?></div>
25
        <li role="presentation"><a href="#tab4" aria-controls="messages" role="tab" data-toggle="tab"><?php echo __('Review Collector', 'wpsg'); ?></a></li>
26
				<div class="wpsg_clear"></div>		
-
 
27
			</div>
26
    </ul>
28
		</div>
-
 
29
		<div class="content">
27
	<div class="tab-content">
30
			
-
 
31
			<div id="tabcontent1" class="tabcontent">
28
		<div id="tab1" role="tabpanel" class="tab-pane active" >
32
	
29
	
33
				<?php echo wpsg_drawForm_Checkbox('wpsg_mod_trustedshops_siegelcache', __('Bewertungsbild zwischenspeichern (empfohlen)', 'wpsg'), $this->get_option('wpsg_mod_trustedshops_siegelcache'), array('help' => 'wpsg_mod_trustedshops_siegelcache')); ?>
30
				<?php echo wpsg_drawForm_Checkbox('wpsg_mod_trustedshops_siegelcache', __('Bewertungsbild zwischenspeichern (empfohlen)', 'wpsg'), $this->get_option('wpsg_mod_trustedshops_siegelcache'), array('help' => 'wpsg_mod_trustedshops_siegelcache')); ?>
34
				<?php echo wpsg_drawForm_Input('wpsg_mod_trustedshops_siegeltitle', __('Titel des Bewertungsbildes', 'wpsg'), $this->get_option('wpsg_mod_trustedshops_siegeltitle'), array('help' => 'wpsg_mod_trustedshops_siegeltitle')); ?>
31
				<?php echo wpsg_drawForm_Input('wpsg_mod_trustedshops_siegeltitle', __('Titel des Bewertungsbildes', 'wpsg'), $this->get_option('wpsg_mod_trustedshops_siegeltitle'), array('help' => 'wpsg_mod_trustedshops_siegeltitle')); ?>
35
						
32
						
36
				<?php if (wpsg_isSizedString($this->view['siegelURL'])) { ?>
33
				<?php if (wpsg_isSizedString($this->view['siegelURL'])) { ?>
Line 38... Line 35...
38
	 			<div class="wpsg_hinweis"><?php echo wpsg_translate(__('Das Trusted Shops Widget muss in einen <a href="#1#">Widgetbereich</a> eingefügt werden.', 'wpsg'), WPSG_URL_WP.'wp-admin/widgets.php'); ?></div><br />
35
	 			<div class="wpsg_hinweis"><?php echo wpsg_translate(__('Das Trusted Shops Widget muss in einen <a href="#1#">Widgetbereich</a> eingefügt werden.', 'wpsg'), WPSG_URL_WP.'wp-admin/widgets.php'); ?></div><br />
39
	 			<?php echo __('Vorschau:', 'wpsg'); ?><br />
36
	 			<?php echo __('Vorschau:', 'wpsg'); ?><br />
40
				<img class="bewertung" alt="<?php echo wpsg_hspc($this->get_option('wpsg_mod_trustedshops_siegeltitle')); ?>" border="0" src="<?php echo $this->view['siegelURL']; ?>"/>
37
				<img class="bewertung" alt="<?php echo wpsg_hspc($this->get_option('wpsg_mod_trustedshops_siegeltitle')); ?>" border="0" src="<?php echo $this->view['siegelURL']; ?>"/>
41
				<?php } ?>
38
				<?php } ?>
42
						
39
						
43
			</div>
40
		</div>
44
			
41
			
45
			<div id="tabcontent2" class="tabcontent">
42
		<div id="tab2" role="tabpanel" class="tab-pane" >
46
						
43
						
47
				<?php echo wpsg_drawForm_Select('wpsg_mod_trustedshops_orderdone', __('Link zur Bewertung', 'wpsg'), array(
44
				<?php echo wpsg_drawForm_Select('wpsg_mod_trustedshops_orderdone', __('Link zur Bewertung', 'wpsg'), array(
48
					'0' => __('Nicht anzeigen', 'wpsg'),
45
					'0' => __('Nicht anzeigen', 'wpsg'),
49
					'1' => __('Immer anzeigen', 'wpsg'),
46
					'1' => __('Immer anzeigen', 'wpsg'),
50
					'2' => __('Nur anzeigen, wenn Kunde bewerten möchte', 'wpsg')
47
					'2' => __('Nur anzeigen, wenn Kunde bewerten möchte', 'wpsg')
Line 54... Line 51...
54
	 								
51
	 								
55
				<br />
52
				<br />
56
				
53
				
57
				<?php echo wpsg_drawForm_Checkbox('wpsg_mod_trustedshops_warranty', __('Trusted Shops Käuferschutz (Garantie)', 'wpsg'), $this->get_option('wpsg_mod_trustedshops_warranty'), array('help' => 'wpsg_mod_trustedshops_warranty')); ?>
54
				<?php echo wpsg_drawForm_Checkbox('wpsg_mod_trustedshops_warranty', __('Trusted Shops Käuferschutz (Garantie)', 'wpsg'), $this->get_option('wpsg_mod_trustedshops_warranty'), array('help' => 'wpsg_mod_trustedshops_warranty')); ?>
58
	 								 
55
	 								 
59
			</div>
56
		</div>
60
			
57
			
61
			<div id="tabcontent3" class="tabcontent">
58
		<div id="tab3" role="tabpanel" class="tab-pane" >
62
			
59
			
63
				<?php echo wpsg_drawForm_Select('wpsg_mod_trustedshops_customermail', __('Link zur Bewertung in Kundenmail nach Bestellabschluss', 'wpsg'), array(
60
				<?php echo wpsg_drawForm_Select('wpsg_mod_trustedshops_customermail', __('Link zur Bewertung in Kundenmail nach Bestellabschluss', 'wpsg'), array(
64
					'0' => __('Nicht anzeigen', 'wpsg'),
61
					'0' => __('Nicht anzeigen', 'wpsg'),
65
					'1' => __('Immer anzeigen', 'wpsg'),
62
					'1' => __('Immer anzeigen', 'wpsg'),
66
					'2' => __('Nur anzeigen, wenn Kunde bewerten möchte', 'wpsg')
63
					'2' => __('Nur anzeigen, wenn Kunde bewerten möchte', 'wpsg')
Line 79... Line 76...
79
					), $this->get_option('wpsg_mod_trustedshops_invoicemail'), array('help' => 'wpsg_mod_trustedshops_invoicemail')); ?>
76
					), $this->get_option('wpsg_mod_trustedshops_invoicemail'), array('help' => 'wpsg_mod_trustedshops_invoicemail')); ?>
80
					<?php echo wpsg_drawForm_Input('wpsg_mod_trustedshops_invoicemailtitle', __('Text des Links', 'wpsg'), $this->get_option('wpsg_mod_trustedshops_invoicemailtitle'), array('help' => 'wpsg_mod_trustedshops_invoicemailtitle')); ?>
77
					<?php echo wpsg_drawForm_Input('wpsg_mod_trustedshops_invoicemailtitle', __('Text des Links', 'wpsg'), $this->get_option('wpsg_mod_trustedshops_invoicemailtitle'), array('help' => 'wpsg_mod_trustedshops_invoicemailtitle')); ?>
81
					
78
					
82
				<?php } ?>
79
				<?php } ?>
83
						
80
						
84
			</div>
81
		</div>
85
			
-
 
86
			<div id="tabcontent4" class="tabcontent">
-
 
87
			
82
			
88
				<div class="wpsg_form_field">
-
 
89
					<div class="wpsg_form_left">
-
 
90
						<label for="wpsg_mod_trustedshops_reminder"><?php echo __('Erinnerung', 'wpsg'); ?>:</label>
-
 
91
					</div>
-
 
92
					<div class="wpsg_form_right">
83
		<div id="tab4" role="tabpanel" class="tab-pane" >
93
					
84
 
-
 
85
            <?php echo wpsg_drawForm_TextStart(); ?>
94
						<input type="hidden" name="wpsg_mod_trustedshops_reminder" value="0">
86
						<input type="hidden" name="wpsg_mod_trustedshops_reminder" value="0">
95
						<input id="wpsg_mod_trustedshops_reminder" type="checkbox" class="checkbox" <?php echo ((wpsg_isSizedInt($this->get_option('wpsg_mod_trustedshops_reminder')))?'checked="checked"':''); ?> tabindex="14" name="wpsg_mod_trustedshops_reminder" value="1">
87
						<input id="wpsg_mod_trustedshops_reminder" type="checkbox" class="checkbox" <?php echo ((wpsg_isSizedInt($this->get_option('wpsg_mod_trustedshops_reminder')))?'checked="checked"':''); ?> tabindex="14" name="wpsg_mod_trustedshops_reminder" value="1">
96
			
88
			
97
						<div id="wpsg_mod_trustedshops_reminder_layer" class="wpsg_form_trustedshops_reminderDays">
89
						<div id="wpsg_mod_trustedshops_reminder_layer" class="wpsg_form_trustedshops_reminderDays">
98
							
90
							
99
							<p><?php echo __('Nach', 'wpsg'); ?></p>
91
							<p><?php echo __('Nach', 'wpsg'); ?></p>
100
							<input id="wpsg_mod_trustedshops_reminderDays" type="text" class="text" tabindex="15" name="wpsg_mod_trustedshops_reminderDays" value="<?php echo $this->get_option('wpsg_mod_trustedshops_reminderDays'); ?>">
92
							<input id="wpsg_mod_trustedshops_reminderDays" type="text" class="text" tabindex="15" name="wpsg_mod_trustedshops_reminderDays" value="<?php echo $this->get_option('wpsg_mod_trustedshops_reminderDays'); ?>">
101
							<p><?php echo __('Tagen', 'wpsg'); ?></p>
93
							<p><?php echo __('Tagen', 'wpsg'); ?></p>
102
						
94
						
103
						</div>
95
						</div>
104
					
96
						
-
 
97
            <?php echo wpsg_drawForm_TextEnd(__('Erinnerung', 'wpsg'), array('noP' => true)); ?>
-
 
98
			
-
 
99
            <?php echo wpsg_drawForm_TextStart(); ?>
-
 
100
					<?php foreach ($this->arStatus as $state_id => $state_label) { ?>
105
					</div>
101
					<?php
-
 
102
					$arr1 = $this->get_option('wpsg_mod_trustedshops_state');
-
 
103
					$chk = ((in_array($state_id, (array)$this->get_option('wpsg_mod_trustedshops_state')))?1:0);
-
 
104
					echo wpsg_drawForm_Checkbox('wpsg_mod_trustedshops_state[]', __($state_label, 'wpsg'),
-
 
105
					$chk, array('help1' => 'wpsg_shippay_mwstland',
106
					<div class="wpsg_clear"></div>
106
								'value' => wpsg_hspc($state_id),
-
 
107
								'noHidden' => true,
-
 
108
								'fullWidth' => true
-
 
109
					));
-
 
110
					?>
107
				</div>
111
					<br />
-
 
112
					<?php } ?>
-
 
113
 
-
 
114
            <?php echo wpsg_drawForm_TextEnd(__('Bestellzustände', 'wpsg'), array('noP' => true)); ?>
-
 
115
 
108
				
116
				
109
				<div class="wpsg_form_field">
-
 
110
					<div class="wpsg_form_left">
-
 
111
						<label for="wpsg_mod_trustedshops_reminder"><?php echo __('Bestellzustände', 'wpsg'); ?>:</label>
-
 
112
					</div>
-
 
113
					<div class="wpsg_form_right">
-
 
114
					
-
 
115
						<?php foreach ($this->arStatus as $state_id => $state_label) { ?>
-
 
116
						<label>
-
 
117
							<input type="checkbox" class="checkbox" name="wpsg_mod_trustedshops_state[]" <?php echo ((in_array($state_id, (array)$this->get_option('wpsg_mod_trustedshops_state')))?'checked="checked"':''); ?> value="<?php echo $state_id; ?>" />
-
 
118
							<?php echo $state_label; ?><br />
-
 
119
						</label>
-
 
120
						<?php } ?>
-
 
121
											
-
 
122
					</div>
-
 
123
					<div class="wpsg_clear"></div>
-
 
124
				</div>
-
 
125
				 				
117
				 				
126
				<?php echo wpsg_drawForm_Input('', __('Letzter Export', 'wpsg'), $this->view['lastExport'], array('text' => true)); ?>
118
				<?php echo wpsg_drawForm_Input('', __('Letzter Export', 'wpsg'), $this->view['lastExport'], array('text' => true)); ?>
127
				
119
				
128
				<br />
120
				<br />
129
				
121
				
Line 142... Line 134...
142
				
134
				
143
				<br />
135
				<br />
144
				
136
				
145
				<a href="https://www.trustedshops.com/tsb2b/sa/ratings/batchRatingRequest.seam"><?php echo __('Trusted Shops Review Collector', 'wpsg'); ?></a>				
137
				<a href="https://www.trustedshops.com/tsb2b/sa/ratings/batchRatingRequest.seam"><?php echo __('Trusted Shops Review Collector', 'wpsg'); ?></a>				
146
				
138
				
147
			</div>
-
 
148
			
-
 
149
		</div>
139
		</div>
-
 
140
			
150
	</div>
141
	</div>
151
</div>
142
</div>
152
 
143
 
153
<script type="text/javascript">/* <![CDATA[ */
144
<script type="text/javascript">/* <![CDATA[ */
154
 
145