Subversion Repositories wpShopGermany4

Rev

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

Rev 5866 Rev 6475
Line 101... Line 101...
101
	
101
	
102
	<?php echo wpsg_drawForm_AdminboxEnd(); ?>
102
	<?php echo wpsg_drawForm_AdminboxEnd(); ?>
103
</div>
103
</div>
104
<?php } else { ?>
104
<?php } else { ?>
105
 
105
 
-
 
106
	<div class="wpsg_admin_content form-horizontal">
-
 
107
		<div class="panel panel-default">
-
 
108
			<div class="panel-heading clearfix">
-
 
109
				<h3 class="panel-title"><?php echo __('Modulverwaltung', 'wpsg'); ?></h3>
-
 
110
		 	</div>
-
 
111
		 	<div class="panel-body">
-
 
112
	 	
-
 
113
				<?php $wpsg_update_data = wpsg_get_update_data(); ?>
-
 
114
				<?php if (wpsg_isSizedArray($wpsg_update_data)) { ?>
-
 
115
				
-
 
116
					<table class="table">
-
 
117
  						<thead>
-
 
118
							<tr>
-
 
119
								<th><?php echo __('Modulname', 'wpsg'); ?></th>
-
 
120
								<th><?php echo __('installierte Version', 'wpsg'); ?></th>
-
 
121
								<th><?php echo __('Lizenz', 'wpsg');  ?></th>
-
 
122
								<th><?php echo __('verfügbare Version', 'wpsg'); ?></th>
-
 
123
							</tr>
-
 
124
						</thead>
-
 
125
						<tbody>
-
 
126
							<?php foreach ($wpsg_update_data['modulinfo'] as $modul_key => $modul_info) { ?>
-
 
127
							<tr>
-
 
128
								<td><?php echo $modul_info['label']; ?></td>
-
 
129
								<td>
-
 
130
									
106
	<?php if ($this->hasMod('wpsg_mod_core')) { ?>
131
									<?php if ($this->hasModInstalled($modul_key)) { ?>
107
	<?php echo $this->callMod('wpsg_mod_core', 'module_index'); ?>
132
										<?php echo $this->arAllModule[$modul_key]->version; ?>										
108
	<?php } else { ?>
133
									<?php } ?>
109
	
134
									
110
		<div class="wpsg_admin_content">
135
								</td>								
-
 
136
								<td>
111
	
137
									
-
 
138
									<?php if ($modul_info['free'] === true) { ?>
-
 
139
										<?php echo __('kostenlos', 'wpsg'); ?>
-
 
140
									<?php } else if ($modul_info['active'] === true) { ?>
112
			<h3><?php echo __('Modulverwaltung', 'wpsg'); ?></h3>
141
										<?php echo __('enthalten', 'wpsg'); ?>
-
 
142
									<?php } else { ?>
113
			<p><?php echo __('wpShopGermany ist Modular aufgebaut, wählen Sie links das Modul aus, welches Sie konfigurieren möchten. ', 'wpsg'); ?></p>
143
										<a href="<?php echo $modul_info['url_shop']; ?>" target="_blank"><?php echo __('Modulcode hier erwerben', 'wpsg'); ?></a>
-
 
144
									<?php } ?>
-
 
145
									
-
 
146
								</td>
-
 
147
								<td><?php 
114
			
148
																	
115
			<p><?php echo wpsg_translate(
149
									echo $modul_info['version'];
-
 
150
									 
116
				__('<span style="color:red; font-weight:bold;">wpShopGermany Vollversion erwerben und weitere Funktionen freischalten.</span> [ <a target="_blank" href="#1#">Vollversion kaufen</a> ] [ <a target="_blank" href="#2#">Weitere Infos</a> ]', 'wpsg'),
151
									if ($this->hasModInstalled($modul_key) && $modul_info['version'] === $this->arAllModule[$modul_key]->version)
-
 
152
									{
-
 
153
										
-
 
154
										echo ' ('.__('aktuell', 'wpsg').')';
-
 
155
										
-
 
156
									}
117
				'http://shop.maennchen1.de/produkte/wpshopgermany-lizenzkey/',
157
									else if (version_compare($modul_info['version'], WPSG_VERSION) > 0) 
-
 
158
									{
-
 
159
										
-
 
160
										echo ' '.wpsg_translate(__('neue Version verfügbar (<a href="#1#">wpShopGermany Update</a> notwendig)', 'wpsg'), WPSG_URL_WP.'wp-admin/plugins.php');
-
 
161
										
-
 
162
									}
-
 
163
									
118
				'http://wpshopgermany.de/'
164
								?></td>
119
			); ?></p>
165
							</tr>
-
 
166
							<?php } ?>
-
 
167
						</tbody>
-
 
168
					</table>
-
 
169
					
-
 
170
				<?php } else { ?>
120
	
171
				
-
 
172
				<p>
-
 
173
					Lizenz aktivieren
121
		</div>
174
				</p>
122
	
175
					
123
	<?php } ?>	
176
				<?php } ?>
-
 
177
		
-
 
178
			</div>
-
 
179
	 	</div>
-
 
180
	</div>
124
	
181
	
125
<?php } ?>
182
<?php } ?>
126
 
183
 
127
<script type="text/javascript">/* <![CDATA[ */
184
<script type="text/javascript">/* <![CDATA[ */
128
 
185