Subversion Repositories wpShopGermany4

Rev

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

Rev 6508 Rev 6522
Line 114... Line 114...
114
						<span class="wpsg_message_demo"><?php echo __('Demo Modus', 'wpsg'); ?></span>
114
						<span class="wpsg_message_demo"><?php echo __('Demo Modus', 'wpsg'); ?></span>
115
					<?php } else { ?> 
115
					<?php } else { ?> 
116
						<span class="wpsg_error"><?php echo __('Nicht aktiv', 'wpsg'); ?></span>
116
						<span class="wpsg_error"><?php echo __('Nicht aktiv', 'wpsg'); ?></span>
117
					<?php } ?>
117
					<?php } ?>
118
					
118
					
-
 
119
					<?php if ($this->bLicence === true) { ?>
119
					<?php if (wpsg_isSizedString($modul_info[$_REQUEST['modul']]['shop_url'])) {  ?>
120
					<?php if (wpsg_isSizedString($modul_info[$_REQUEST['modul']]['shop_url'])) {  ?>
120
					[ <a href="<?php echo $modul_info[$_REQUEST['modul']]['shop_url']; ?>"><?php echo __('Modulcode erwerben', 'wpsg'); ?></a> ]					
121
					[ <a href="<?php echo $modul_info[$_REQUEST['modul']]['shop_url']; ?>"><?php echo __('Modulcode erwerben', 'wpsg'); ?></a> ]					
121
					<?php } else { ?>
122
					<?php } else { ?>
122
					[ <a href="https://shop.maennchen1.de/"><?php echo __('Modulcode erwerben', 'wpsg'); ?></a> ]
123
					[ <a href="https://shop.maennchen1.de/"><?php echo __('Modulcode erwerben', 'wpsg'); ?></a> ]
123
					<?php } ?>
124
					<?php } ?>
Line 126... Line 127...
126
					<?php if (!wpsg_isTrue($modul_info[$_REQUEST['modul']]['demo_active'])) { ?>
127
					<?php if (!wpsg_isTrue($modul_info[$_REQUEST['modul']]['demo_active'])) { ?>
127
					<br />
128
					<br />
128
					
129
					
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
					[ <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
					<?php } ?>
-
 
132
					<?php } else { ?>
-
 
133
					<br /><span class="wpsg_error"><?php echo __('Ohne Lizenz können Sie dieses Modul nicht verwenden.', 'wpsg'); ?></span>
-
 
134
					<?php } ?>
131
						
135
						
132
				<?php } ?>
136
				<?php } ?>
133
					
137
					
134
			<?php } else { ?>
138
			<?php } else { ?>
135
				<span class="wpsg_error"><?php echo __('Unbekannt', 'wpsg'); ?></span>	
139
				<span class="wpsg_error"><?php echo __('Unbekannt', 'wpsg'); ?></span>	
Line 186... Line 190...
186
			<div class="panel-heading clearfix">
190
			<div class="panel-heading clearfix">
187
				<h3 class="panel-title"><?php echo __('Modulverwaltung', 'wpsg'); ?></h3>
191
				<h3 class="panel-title"><?php echo __('Modulverwaltung', 'wpsg'); ?></h3>
188
		 	</div>
192
		 	</div>
189
		 	<div class="panel-body">
193
		 	<div class="panel-body">
190
	 	
194
	 	
-
 
195
				<?php if ($this->bLicence === true) { ?>
191
				<form method="POST" action="<?php echo WPSG_URL_WP ?>wp-admin/admin.php?page=wpsg-Admin&action=registrierung&noheader=1&do=activatemodul">
196
				<form method="POST" action="<?php echo WPSG_URL_WP ?>wp-admin/admin.php?page=wpsg-Admin&action=registrierung&noheader=1&do=activatemodul">
192
						
197
						
193
					<fieldset>
198
					<fieldset>
194
						<legend style="padding-top:0px;"><?php echo __('Modulcode aktivieren', 'wpsg'); ?></legend>
199
						<legend style="padding-top:0px;"><?php echo __('Modulcode aktivieren', 'wpsg'); ?></legend>
195
										
200
										
Line 206... Line 211...
206
							</div>
211
							</div>
207
						</div>
212
						</div>
208
					</fieldset>
213
					</fieldset>
209
					
214
					
210
				</form>
215
				</form>
-
 
216
				<?php } else { ?>
-
 
217
					
-
 
218
				<p><?php echo __('Modulcodes können erst verwendet werden, wenn ihre wpShopGermany Lizenz aktiviert ist.', 'wpsg'); ?>
211
				
219
				
-
 
220
				<?php } ?>			
-
 
221
	
212
				<hr />
222
				<hr />
213
				
223
				
214
				<?php $wpsg_update_data = wpsg_get_update_data(); ?>
224
				<?php include dirname(__FILE__).'/modulelist.phtml'; ?>
215
				<?php if (wpsg_isSizedArray($wpsg_update_data['modulinfo'])) { ?>
-
 
216
				
-
 
217
					<table class="table modultable">
-
 
218
  						<thead>
-
 
219
							<tr>
-
 
220
								<th><?php echo __('Modulname', 'wpsg'); ?></th>
-
 
221
								<th><?php echo __('Version', 'wpsg'); ?></th>
-
 
222
								<th><?php echo __('Lizenz', 'wpsg');  ?></th>
-
 
223
								<th><?php echo __('verfügbare Version', 'wpsg'); ?></th>
-
 
224
							</tr>
-
 
225
						</thead>
-
 
226
						<tbody>
-
 
227
							<?php foreach ($wpsg_update_data['modulinfo'] as $modul_key => $modul_info) { ?>
-
 
228
							<tr style="font-style:normal;" class="
-
 
229
							
-
 
230
								<?php if ($modul_info['free'] === true) { ?>
-
 
231
									<?php echo 'active'; ?>
-
 
232
								<?php } else if ($modul_info['active'] === true) { ?>
-
 
233
									<?php echo 'success'; ?>
-
 
234
								<?php } else { ?>
-
 
235
									<?php echo 'info'; ?>
-
 
236
								<?php } ?>
-
 
237
							
-
 
238
							">
-
 
239
								<td><?php echo $modul_info['label']; ?></td>
-
 
240
								<td>
-
 
241
									
-
 
242
									<?php if ($this->hasModInstalled($modul_key)) { ?>
-
 
243
										<?php echo $this->arAllModule[$modul_key]->version; ?>										
-
 
244
									<?php } ?>
-
 
245
									
-
 
246
								</td>								
-
 
247
								<td>
-
 
248
									
-
 
249
									<?php if ($modul_info['free'] === true) { ?>
-
 
250
										<?php echo __('kostenlos', 'wpsg'); ?>
-
 
251
									<?php } else if ($modul_info['active'] === true) { ?>
-
 
252
										<?php echo __('enthalten', 'wpsg'); ?>
-
 
253
									<?php } else { ?>
-
 
254
										
-
 
255
										<?php if (wpsg_isSizedString($modul_info['shop_url'])) { ?>
-
 
256
										<a href="<?php echo $modul_info['shop_url']; ?>" target="_blank"><?php echo __('Modulcode erwerben', 'wpsg'); ?></a>
-
 
257
										<?php } else { ?>
-
 
258
										<a href="https://shop.maennchen1.de" target="_blank"><?php echo __('Modulcode erwerben', 'wpsg'); ?></a>
-
 
259
										<?php } ?>
-
 
260
										
-
 
261
									<?php } ?>
-
 
262
									
-
 
263
								</td>
-
 
264
								<td><?php 
-
 
265
																	
-
 
266
									echo $modul_info['version'];
-
 
267
									 
-
 
268
									if ($this->hasModInstalled($modul_key) && $modul_info['version'] === $this->arAllModule[$modul_key]->version)
-
 
269
									{
-
 
270
										
-
 
271
										echo ' - <strong class="wpsg_message_ok">'.__('aktuell', 'wpsg').'</strong>';
-
 
272
										
-
 
273
									}
-
 
274
									else if (version_compare($modul_info['version'], WPSG_VERSION) > 0) 
-
 
275
									{
-
 
276
										
-
 
277
										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');
-
 
278
										
-
 
279
									}
-
 
280
									else if (version_compare($modul_info['version'], $this->arAllModule[$modul_key]->versio) > 0) 
-
 
281
									{
-
 
282
										
-
 
283
										echo ' - <strong class="wpsg_error">'.__('neue Version verfügbar', 'wpsg').'</strong>';
-
 
284
										
-
 
285
										if ($modul_info['active'] === true) 
-
 
286
										{
-
 
287
										
-
 
288
											echo '<br />';
-
 
289
											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='.$modul_key);
-
 
290
											
-
 
291
										}
-
 
292
									
-
 
293
									}
-
 
294
									
-
 
295
								?></td>
-
 
296
							</tr>
-
 
297
							<?php } ?>
-
 
298
						</tbody>
-
 
299
					</table>
-
 
300
										
-
 
301
				<?php } else { ?>
-
 
302
				
-
 
303
				<p>
-
 
304
					<?php echo __('Bitte erwerben Sie eine Lizenz für wpShopGermany, damit sie unsere Erweiterungsmodule nutzen können.', 'wpsg'); ?>
-
 
305
				</p>
-
 
306
					
-
 
307
				<?php } ?>
-
 
308
		
225
				 		
309
			</div>
226
			</div>
310
	 	</div>
227
	 	</div>
311
	</div>
228
	</div>	
312
	
229
	
313
<?php } ?>
230
<?php } ?>
314
 
231
 
315
<script type="text/javascript">/* <![CDATA[ */
232
<script type="text/javascript">/* <![CDATA[ */
316
 
233