Subversion Repositories wpShopGermany4

Rev

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

Rev 6521 Rev 6522
Line 180... Line 180...
180
                            
180
                            
181
                        </form>
181
                        </form>
182
                        
182
                        
183
                        <br />
183
                        <br />
184
                        
184
                        
185
                        <?php if (wpsg_isSizedArray($wpsg_update_data)) { ?>
-
 
186
                        
-
 
187
                            <?php // Ich zeige hier nur die Aktiven Module an ?>
-
 
188
                            <?php foreach ($wpsg_update_data['modulinfo'] as $modul_key => $modul_info) { if ($modul_info['active'] !== true) unset($wpsg_update_data['modulinfo'][$modul_key]); } ?>
-
 
189
                            
-
 
190
                            <table class="table modultable">
-
 
191
                                <thead>
-
 
192
                                    <tr>
-
 
193
                                        <th><?php echo __('Modulname', 'wpsg'); ?></th>
-
 
194
                                        <th><?php echo __('Version', 'wpsg'); ?></th>
-
 
195
                                        <th><?php echo __('Lizenz', 'wpsg');  ?></th>
-
 
196
                                        <th><?php echo __('verfügbare Version', 'wpsg'); ?></th>
-
 
197
                                    </tr>
-
 
198
                                </thead>
-
 
199
                                <tbody>
-
 
200
                                    <?php foreach ($wpsg_update_data['modulinfo'] as $modul_key => $modul_info) { ?>
-
 
201
                                    <tr style="font-style:normal;" class="success">
-
 
202
                                        <td><?php echo $modul_info['label']; ?></td>
-
 
203
                                        <td>
-
 
204
                                            
-
 
205
                                            <?php if ($this->shop->hasModInstalled($modul_key)) { ?>
-
 
206
                                                <?php echo $this->shop->arAllModule[$modul_key]->version; ?>
-
 
207
                                            <?php } ?>
-
 
208
                                            
-
 
209
                                        </td>								
-
 
210
                                        <td>
-
 
211
                                            
-
 
212
                                            <?php if ($modul_info['free'] === true) { ?>
-
 
213
                                                <?php echo __('kostenlos', 'wpsg'); ?>
-
 
214
                                            <?php } else if ($modul_info['active'] === true) { ?>
-
 
215
                                                <?php echo __('enthalten', 'wpsg'); ?>
-
 
216
                                            <?php } else { ?>
-
 
217
                                                
-
 
218
                                                <?php if (wpsg_isSizedString($modul_info['shop_url'])) { ?>
-
 
219
                                                <a href="<?php echo $modul_info['shop_url']; ?>" target="_blank"><?php echo __('Modulcode erwerben', 'wpsg'); ?></a>
-
 
220
                                                <?php } else { ?>
-
 
221
                                                <a href="https://shop.maennchen1.de" target="_blank"><?php echo __('Modulcode erwerben', 'wpsg'); ?></a>
-
 
222
                                                <?php } ?>
-
 
223
                                                
-
 
224
                                            <?php } ?>
-
 
225
                                            
-
 
226
                                        </td>
-
 
227
                                        <td><?php 
-
 
228
                                            
-
 
229
                                            echo $modul_info['version'];
-
 
230
                                             
-
 
231
                                            if ($this->shop->hasModInstalled($modul_key) && $modul_info['version'] === $this->shop->arAllModule[$modul_key]->version)
-
 
232
                                            {
-
 
233
                                                
-
 
234
                                                echo ' - <strong class="wpsg_message_ok">'.__('aktuell', 'wpsg').'</strong>';
-
 
235
                                                
-
 
236
                                            }
-
 
237
                                            else if (version_compare($modul_info['version'], WPSG_VERSION) > 0) 
-
 
238
                                            {
-
 
239
                                                
-
 
240
                                                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');
185
                        <?php include dirname(__FILE__).'/modulelist.phtml'; ?>
241
                                                
-
 
242
                                            }
-
 
243
                                            else if (version_compare($modul_info['version'], $this->shop->arAllModule[$modul_key]->versio) > 0) 
-
 
244
                                            {
-
 
245
                                                
-
 
246
                                                echo ' - <strong class="wpsg_error">'.__('neue Version verfügbar', 'wpsg').'</strong>';
-
 
247
                                                
-
 
248
                                                if ($modul_info['active'] === true) 
-
 
249
                                                {
-
 
250
                                                
-
 
251
                                                    echo '<br />';
-
 
252
                                                    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);
-
 
253
                                                    
-
 
254
                                                }
-
 
255
                                                
-
 
256
                                            }
-
 
257
                                            
-
 
258
                                        ?></td>
-
 
259
                                    </tr>
-
 
260
                                    <?php } ?>
-
 
261
                                </tbody>
-
 
262
                            </table>
-
 
263
                                                
-
 
264
                        <?php } ?>
-
 
265
                                                                        
186
                                                                        
266
                    <?php } ?>
187
                    <?php } ?>
267
                    
188
                    
268
                </div>
189
                </div>
269
            </div>
190
            </div>