Subversion Repositories wpShopGermany4

Rev

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

Rev 6491 Rev 6503
Line 42... Line 42...
42
<div class="wpsg_admin_content form-horizontal">
42
<div class="wpsg_admin_content form-horizontal">
43
	<?php echo wpsg_drawForm_AdminboxStart($this->arAllModule[$_REQUEST['modul']]->name); ?>		
43
	<?php echo wpsg_drawForm_AdminboxStart($this->arAllModule[$_REQUEST['modul']]->name); ?>		
44
	<form name="form1" action="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin&amp;action=module&amp;modul=<?php echo $_REQUEST['modul']; ?>&amp;noheader=1" method="post" enctype="multipart/form-data">
44
	<form name="form1" action="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin&amp;action=module&amp;modul=<?php echo $_REQUEST['modul']; ?>&amp;noheader=1" method="post" enctype="multipart/form-data">
45
		
45
		
46
		<!-- <h3>
46
		<!-- <h3>
47
			<?php echo $this->arAllModule[$_REQUEST['modul']]->name; ?>
47
		<?php echo $this->arAllModule[$_REQUEST['modul']]->name; ?>
48
			<?php if (isset($this->arAllModule[$_REQUEST['modul']]->hilfeURL) && $this->arAllModule[$_REQUEST['modul']]->hilfeURL != '') { ?>
48
		<?php if (isset($this->arAllModule[$_REQUEST['modul']]->hilfeURL) && $this->arAllModule[$_REQUEST['modul']]->hilfeURL != '') { ?>
49
			<a target="_blank" href="<?php echo $this->arAllModule[$_REQUEST['modul']]->hilfeURL; ?>" class="wpsg_form_help_notip"></a>	
49
		<a target="_blank" href="<?php echo $this->arAllModule[$_REQUEST['modul']]->hilfeURL; ?>" class="wpsg_form_help_notip"></a>	
50
			<?php } ?>
50
		<?php } ?>
51
		</h3> -->
51
		</h3> -->
52
		
52
		
53
		<p><?php echo $this->arAllModule[$_REQUEST['modul']]->desc; ?></p><br />
53
		<p><?php echo $this->arAllModule[$_REQUEST['modul']]->desc; ?></p><br />
54
		
54
		
-
 
55
		<?php if (@$wpsg_update_data['modulinfo'][$_REQUEST['modul']]['demo_active'] === true || @$wpsg_update_data['modulinfo'][$_REQUEST['modul']]['active'] === true || $wpsg_update_data['modulinfo'][$_REQUEST['modul']]['free'] === true) { ?>
-
 
56
		
55
		<?php $modul_install = $this->get_option($_REQUEST['modul'], $this->view['global']); ?>
57
			<?php $modul_install = $this->get_option($_REQUEST['modul'], $this->view['global']); ?>		
56
		<?php echo wpsg_drawForm_Select('aktiv', __('Modul aktiviert', 'wpsg'), array('0' => __('Nein', 'wpsg'), '1' => __('Ja', 'wpsg')), ((wpsg_isSizedInt($modul_install))?'1':'0')); ?>
58
			<?php echo wpsg_drawForm_Select('aktiv', __('Modul aktiviert', 'wpsg'), array('0' => __('Nein', 'wpsg'), '1' => __('Ja', 'wpsg')), ((wpsg_isSizedInt($modul_install))?'1':'0')); ?>
-
 
59
		
-
 
60
		<?php } ?>
57
		 		 
61
		 		 
58
		<?php if (isset($this->arAllModule[$_REQUEST['modul']]->version)) { ?>
62
		<?php if (isset($this->arAllModule[$_REQUEST['modul']]->version)) { ?>
59
			
63
			
60
		<?php echo wpsg_drawForm_TextStart(); ?>
64
		<?php echo wpsg_drawForm_TextStart(); ?>
61
		
65
		
62
			<?php 
66
			<?php 
63
			
67
			 
64
				echo $this->arAllModule[$_REQUEST['modul']]->version;
68
				echo $this->arAllModule[$_REQUEST['modul']]->version;
65
			
69
			
66
				if (wpsg_isSizedArray($modul_info[$_REQUEST['modul']]))
70
				if (wpsg_isSizedArray($modul_info[$_REQUEST['modul']]))
67
				{
71
				{
68
			
72
			
69
					$modul_info_modul = $modul_info[$_REQUEST['modul']];
73
					$modul_info_modul = $modul_info[$_REQUEST['modul']];
70
				
74
				 
71
					if ($modul_info_modul['version'] === $this->shop->arAllModule[$_REQUEST['modul']]->version)
75
					if ($modul_info_modul['version'] === $this->arAllModule[$_REQUEST['modul']]->version)
72
					{
76
					{
73
						
77
						
74
						echo ' - <strong class="wpsg_message_ok">'.__('aktuell', 'wpsg').'</strong>';
78
						echo ' - <strong class="wpsg_message_ok">'.__('aktuell', 'wpsg').'</strong>';
75
						
79
						
76
					}
80
					}
Line 78... Line 82...
78
					{
82
					{
79
						
83
						
80
						echo ' - <strong class="wpsg_error">'.__('neue Version verfügbar', 'wpsg').'</strong><br />'.wpsg_translate(__('<a href="#1#">wpShopGermany Update</a> notwendig', 'wpsg'), WPSG_URL_WP.'wp-admin/plugins.php');
84
						echo ' - <strong class="wpsg_error">'.__('neue Version verfügbar', 'wpsg').'</strong><br />'.wpsg_translate(__('<a href="#1#">wpShopGermany Update</a> notwendig', 'wpsg'), WPSG_URL_WP.'wp-admin/plugins.php');
81
						
85
						
82
					}
86
					}
83
					else if (version_compare($modul_info_modul['version'], $this->shop->arAllModule[$_REQUEST['modul']]->versio) > 0) 
87
					else if (version_compare($modul_info_modul['version'], $this->arAllModule[$_REQUEST['modul']]->versio) > 0) 
84
					{
88
					{
85
						
89
						
86
						echo ' - <strong class="wpsg_error">'.__('neue Version verfügbar', 'wpsg').'</strong>';
90
						echo ' - <strong class="wpsg_error">'.__('neue Version verfügbar', 'wpsg').'</strong>';
87
						
91
						
88
						if ($modul_info_modul['active'] === true) 
-
 
89
						{
-
 
90
						
-
 
91
							echo '<br />';
92
						echo '<br />';
92
							echo wpsg_translate(__('<a href="#1#">Version installieren</a>.', 'wpsg'), WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Admin&action=registrierung&noheader=1&do=installModul&modul='.$_REQUEST['modul']);
93
						echo wpsg_translate(__('<a href="#1#">Version installieren</a>.', 'wpsg'), WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Admin&action=registrierung&noheader=1&do=installModul&modul='.$_REQUEST['modul']);
93
							
-
 
94
						}
-
 
95
						
94
						
96
					}
95
					}
97
					
96
					
98
				}
97
				}
99
			
98
			
Line 108... Line 107...
108
				<?php if (wpsg_isTrue($modul_info[$_REQUEST['modul']]['free'])) { ?>
107
				<?php if (wpsg_isTrue($modul_info[$_REQUEST['modul']]['free'])) { ?>
109
					<span class="wpsg_message_ok"><?php echo __('Kostenfrei', 'wpsg'); ?></span>
108
					<span class="wpsg_message_ok"><?php echo __('Kostenfrei', 'wpsg'); ?></span>
110
				<?php } else if (wpsg_isTrue($modul_info[$_REQUEST['modul']]['active'])) { ?>
109
				<?php } else if (wpsg_isTrue($modul_info[$_REQUEST['modul']]['active'])) { ?>
111
					<span class="wpsg_message_ok"><?php echo __('Aktiv', 'wpsg'); ?></span>
110
					<span class="wpsg_message_ok"><?php echo __('Aktiv', 'wpsg'); ?></span>
112
				<?php } else { ?>
111
				<?php } else { ?>
-
 
112
					
-
 
113
					<?php if (wpsg_isTrue($modul_info[$_REQUEST['modul']]['demo_active'])) { ?>
-
 
114
						<span class="wpsg_message_demo"><?php echo __('Demo Modus', 'wpsg'); ?></span>
-
 
115
					<?php } else { ?> 
113
					<span class="wpsg_error"><?php echo __('Nicht aktiv', 'wpsg'); ?></span>
116
						<span class="wpsg_error"><?php echo __('Nicht aktiv', 'wpsg'); ?></span>
-
 
117
					<?php } ?>
114
					
118
					
115
					<?php if (wpsg_isSizedString($modul_info[$_REQUEST['modul']]['shop_url'])) {  ?>
119
					<?php if (wpsg_isSizedString($modul_info[$_REQUEST['modul']]['shop_url'])) {  ?>
116
					[ <a href="<?php echo $modul_info[$_REQUEST['modul']]['shop_url']; ?>"><?php echo __('Modulcode erwerben', 'wpsg'); ?></a> ]					
120
					[ <a href="<?php echo $modul_info[$_REQUEST['modul']]['shop_url']; ?>"><?php echo __('Modulcode erwerben', 'wpsg'); ?></a> ]					
117
					<?php } else { ?>
121
					<?php } else { ?>
118
					[ <a href="https://shop.maennchen1.de/"><?php echo __('Modulcode erwerben', 'wpsg'); ?></a> ]
122
					[ <a href="https://shop.maennchen1.de/"><?php echo __('Modulcode erwerben', 'wpsg'); ?></a> ]
119
					<?php } ?>
123
					<?php } ?>
120
					[ <a href="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin&action=registrierung&subaction=modulactivation"><?php echo __('Modulcode eingeben', 'wpsg'); ?></a> ]
124
					[ <a href="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin&action=registrierung&subaction=modulactivation"><?php echo __('Modulcode eingeben', 'wpsg'); ?></a> ]
121
					
125
					
-
 
126
					<?php if (!wpsg_isTrue($modul_info[$_REQUEST['modul']]['demo_active'])) { ?>
-
 
127
					<br />
-
 
128
					
-
 
129
					[ <a href="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin&action=registrierung&noheader=1&do=startDemo&modul=<?php echo $_REQUEST['modul']; ?>" onclick="return confirm('<?php echo __('Sind Sie sich sicher? Das Modul kann 14 Tage ab heute komplett in vollem Umfang getestet werden.', 'wpsg'); ?>');"><?php echo __('Demo Modus starten'); ?></a> ]
-
 
130
					<?php } ?>
-
 
131
						
122
				<?php } ?>
132
				<?php } ?>
123
					
133
					
124
			<?php } else { ?>
134
			<?php } else { ?>
125
				<span class="wpsg_error"><?php echo __('Unbekannt', 'wpsg'); ?></span>	
135
				<span class="wpsg_error"><?php echo __('Unbekannt', 'wpsg'); ?></span>	
126
			<?php } ?>
136
			<?php } ?>
127
						
137
						
128
		<?php echo wpsg_drawForm_TextEnd(__('Lizenz')); ?>
138
		<?php echo wpsg_drawForm_TextEnd(__('Lizenz')); ?>
129
		 	
139
					
130
		<hr />
-
 
131
			
-
 
132
		<?php } ?>
140
		<?php } ?>
133
		
141
		
134
		<?php if (!isset($this->arAllModule[$_REQUEST['modul']]->version) || ((wpsg_isTrue($this->arAllModule[$_REQUEST['modul']]->free) || 1))) { ?>
142
		<?php if (!isset($this->arAllModule[$_REQUEST['modul']]->version) || (@$wpsg_update_data['modulinfo'][$_REQUEST['modul']]['demo_active'] === true || @$wpsg_update_data['modulinfo'][$_REQUEST['modul']]['active'] === true || $wpsg_update_data['modulinfo'][$_REQUEST['modul']]['free'] === true)) { ?>
-
 
143
		
-
 
144
			<hr />
-
 
145
		
135
			<?php if ($this->arAllModule[$_REQUEST['modul']]->inline === true) { ?>
146
			<?php if ($this->arAllModule[$_REQUEST['modul']]->inline === true) { ?>
136
			<p class="submit"><input type="submit" value="<?php echo __('Einstellungen speichern', 'wpsg'); ?>" class="button-primary" id="submit" name="submit"></p>
147
			<p class="submit"><input type="submit" value="<?php echo __('Einstellungen speichern', 'wpsg'); ?>" class="button-primary" id="submit" name="submit"></p>
137
			<?php } ?> 
148
			<?php } ?> 
138
			
149
			
139
			<input type="hidden" name="subaction" value="module" />
150
			<input type="hidden" name="subaction" value="module" />
Line 147... Line 158...
147
			<?php } ?>
158
			<?php } ?>
148
			
159
			
149
			<?php if ($this->arAllModule[$_REQUEST['modul']]->inline !== true) { ?>
160
			<?php if ($this->arAllModule[$_REQUEST['modul']]->inline !== true) { ?>
150
			<p class="submit"><input type="submit" value="<?php echo __('Einstellungen speichern', 'wpsg'); ?>" class="button-primary" id="submit" name="submit"></p>			
161
			<p class="submit"><input type="submit" value="<?php echo __('Einstellungen speichern', 'wpsg'); ?>" class="button-primary" id="submit" name="submit"></p>			
151
			<?php } ?>
162
			<?php } ?>
-
 
163
	
152
		<?php } else { ?>
164
		<?php } else { ?>
-
 
165
	
-
 
166
			<?php if (@$wpsg_update_data['modulinfo'][$_REQUEST['modul']]['demo_active'] === true || @$wpsg_update_data['modulinfo'][$_REQUEST['modul']]['active'] === true || $wpsg_update_data['modulinfo'][$_REQUEST['modul']]['free'] === true) { ?>
153
		<p class="submit"><input type="submit" value="<?php echo __('Einstellungen speichern', 'wpsg'); ?>" class="button-primary" id="submit" name="submit"></p>
167
			<p class="submit"><input type="submit" value="<?php echo __('Einstellungen speichern', 'wpsg'); ?>" class="button-primary" id="submit" name="submit"></p>
-
 
168
			<?php } ?>
-
 
169
			
154
		<?php } ?>
170
		<?php } ?>
155
						
171
						
156
	<?php if ($this->arAllModule[$_REQUEST['modul']]->inline !== true) { ?>
172
	<?php if ($this->arAllModule[$_REQUEST['modul']]->inline !== true) { ?>
157
	</form>
173
	</form>
158
	<?php } ?>
174
	<?php } ?>
Line 283... Line 299...
283
					</table>
299
					</table>
284
										
300
										
285
				<?php } else { ?>
301
				<?php } else { ?>
286
				
302
				
287
				<p>
303
				<p>
288
					Lizenz aktivieren
304
					<?php echo __('Bitte erwerben Sie eine Lizenz für wpShopGermany, damit sie unsere Erweiterungsmodule nutzen können.', 'wpsg'); ?>
289
				</p>
305
				</p>
290
					
306
					
291
				<?php } ?>
307
				<?php } ?>
292
		
308
		
293
			</div>
309
			</div>