Subversion Repositories wpShopGermany4

Rev

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

Rev 6484 Rev 6488
Line 4... Line 4...
4
     * Template für die Lizenzverwaltung
4
     * Template für die Lizenzverwaltung
5
     */
5
     */
6
 
6
 
7
    $wpsg_update_data = wpsg_get_update_data();
7
    $wpsg_update_data = wpsg_get_update_data();
8
 
8
 
9
    if (!is_array($wpsg_update_data) || !current_user_can('wpsg_lizence')) die();
9
    if (!is_array($wpsg_update_data) || !current_user_can('wpsg_lizence') || !wpsg_isSizedInt($wpsg_update_data['returnCode'])) die();
10
 
10
 
11
?>
11
?>
12
 
12
 
13
<div class="wpsg_admin" id="wpsg-bs">
13
<div class="wpsg_admin" id="wpsg-bs">
14
 
14
 
Line 213... Line 213...
213
                                                <?php echo __('kostenlos', 'wpsg'); ?>
213
                                                <?php echo __('kostenlos', 'wpsg'); ?>
214
                                            <?php } else if ($modul_info['active'] === true) { ?>
214
                                            <?php } else if ($modul_info['active'] === true) { ?>
215
                                                <?php echo __('enthalten', 'wpsg'); ?>
215
                                                <?php echo __('enthalten', 'wpsg'); ?>
216
                                            <?php } else { ?>
216
                                            <?php } else { ?>
217
                                                
217
                                                
218
                                                <?php if (wpsg_isSizedString($modul_info['url_shop'])) { ?>
218
                                                <?php if (wpsg_isSizedString($modul_info['shop_url'])) { ?>
219
                                                <a href="<?php echo $modul_info['url_shop']; ?>" target="_blank"><?php echo __('Modulcode erwerben', 'wpsg'); ?></a>
219
                                                <a href="<?php echo $modul_info['shop_url']; ?>" target="_blank"><?php echo __('Modulcode erwerben', 'wpsg'); ?></a>
220
                                                <?php } else { ?>
220
                                                <?php } else { ?>
221
                                                <a href="https://shop.maennchen1.de" target="_blank"><?php echo __('Modulcode erwerben', 'wpsg'); ?></a>
221
                                                <a href="https://shop.maennchen1.de" target="_blank"><?php echo __('Modulcode erwerben', 'wpsg'); ?></a>
222
                                                <?php } ?>
222
                                                <?php } ?>
223
                                                
223
                                                
224
                                            <?php } ?>
224
                                            <?php } ?>