diff options
| author | Daniel Schmitzer <noreply@maennchen1.de> | 2016-03-22 13:59:16 +0000 |
|---|---|---|
| committer | Daniel Schmitzer <noreply@maennchen1.de> | 2016-03-22 13:59:16 +0000 |
| commit | 0fc69ce3ad89844dd5fb2f87532e7b6fca55923d (patch) | |
| tree | b89a251b26e0726a80c4c24eb0b726f1bbaeea62 /views/mods/mod_core | |
| parent | c14a7c20ec8c489a37412cebb524e367679f5a60 (diff) | |
- sync
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@5439 0d5edaf7-2b12-4e95-93f4-047927463d4b
Diffstat (limited to 'views/mods/mod_core')
| -rw-r--r-- | views/mods/mod_core/module_index.phtml | 115 |
1 files changed, 58 insertions, 57 deletions
diff --git a/views/mods/mod_core/module_index.phtml b/views/mods/mod_core/module_index.phtml index 5518fea..f5278aa 100644 --- a/views/mods/mod_core/module_index.phtml +++ b/views/mods/mod_core/module_index.phtml @@ -5,73 +5,74 @@ */
?>
-<div class="wpsg_admin_content">
+<div class="wpsg_admin_content form-horizontal">
- <h3><?php echo __('Modulverwaltung', 'wpsg'); ?></h3>
- <p><?php echo __('Aktivieren/Installieren Sie weitere Module oder halten Sie externe Module aktuell.', 'wpsg'); ?></p>
+ <div class="panel panel-default">
+ <div class="panel-heading clearfix">
+ <h3 class="panel-title"><?php echo __('Modulverwaltung', 'wpsg'); ?></h3>
+ </div>
+ <div class="panel-body">
- <div class="wpsg_admin_box">
- <div class="head">
- <div class="title">
- <div class="fulltab">
- <?php echo __('Hier sehen sie verfügbare externe Module', 'wpsg'); ?>
- </div>
- </div>
- </div>
- <div class="content">
+ <p><?php echo __('Aktivieren/Installieren Sie weitere Module oder halten Sie externe Module aktuell.', 'wpsg'); ?></p>
+
<?php if (wpsg_isSizedArray($this->view['arOnlineModule'])) { ?>
- <table class="wpsg_modultable">
- <tr>
- <th class="wpsg_col_name"><?php echo __('Modulname', 'wpsg'); ?></th>
- <th class="wpsg_col_instversion"><?php echo __('installierte Version', 'wpsg'); ?></th>
- <th class="wpsg_col_licence"><?php echo __('Lizenz', 'wpsg'); ?></th>
- <th class="wpsg_col_availableversion"><?php echo __('verfügbare Version', 'wpsg'); ?></th>
- </tr>
+ <table class="wpsg_modultable table">
+ <thead>
+ <tr>
+ <th class="wpsg_col_name"><?php echo __('Modulname', 'wpsg'); ?></th>
+ <th class="wpsg_col_instversion"><?php echo __('installierte Version', 'wpsg'); ?></th>
+ <th class="wpsg_col_licence"><?php echo __('Lizenz', 'wpsg'); ?></th>
+ <th class="wpsg_col_availableversion"><?php echo __('verfügbare Version', 'wpsg'); ?></th>
+ </tr>
+ </thead>
<?php foreach ($this->view['arOnlineModule'] as $modul) { ?>
- <tr>
- <td class="wpsg_col_name"><?php echo $modul['name']; ?></td>
- <td class="wpsg_col_instversion">
-
- <?php echo $modul['version_local']; ?>
-
- </td>
- <td class="wpsg_col_licence">
-
- <?php if ($modul['free'] == '1') { ?>
- <?php echo __('kostenlos', 'wpsg'); ?>
- <?php } else { ?>
-
- <?php if (@in_array($modul['key'], $this->arLizenz['mods'])) { ?>
- <?php echo __('aktiv', 'wpsg'); ?>
- <?php } else { ?>
-
- <?php echo __('Demo', 'wpsg'); ?>
-
- <?php } ?>
+ <tbody>
+ <tr>
+ <td class="wpsg_col_name"><?php echo $modul['name']; ?></td>
+ <td class="wpsg_col_instversion">
+
+ <?php echo $modul['version_local']; ?>
+
+ </td>
+ <td class="wpsg_col_licence">
+
+ <?php if ($modul['free'] == '1') { ?>
+ <?php echo __('kostenlos', 'wpsg'); ?>
+ <?php } else { ?>
+
+ <?php if (@in_array($modul['key'], $this->arLizenz['mods'])) { ?>
+ <?php echo __('aktiv', 'wpsg'); ?>
+ <?php } else { ?>
+
+ <?php echo __('Demo', 'wpsg'); ?>
+
+ <?php } ?>
+
+ <?php } ?>
+
+ </td>
+ <td class="wpsg_col_availableversion">
- <?php } ?>
+ <?php //wpsg_debug($modul); ?>
+ <?php if ($modul['version'] == $modul['version_local']) { ?>
+ <?php echo $modul['version']; ?> (aktuell)
+ <?php } else if (version_compare($modul['shop_version'], WPSG_VERSION) > 0) { ?>
+ <?php echo wpsg_translate(__('neue Version verfügbar (<a href="#1#">wpShopGermany Update</a> notwendig)', 'wpsg'), WPSG_URL_WP.'wp-admin/plugins.php'); ?>
+ <?php } else if (version_compare($modul['version'], $modul['version_local']) > 0) { ?>
+ <?php echo wpsg_translate(__('neue Version verfügbar: <a href="#1#">installiere #2#</a>', 'wpsg'), WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Admin&action=registrierung&noheader=1&do=installModul&modul='.$modul['key'], $modul['version']); ?>
+ <?php } else { ?>
+ <?php echo $modul['version']; ?>
+ <?php } ?>
- </td>
- <td class="wpsg_col_availableversion">
-
- <?php //wpsg_debug($modul); ?>
- <?php if ($modul['version'] == $modul['version_local']) { ?>
- <?php echo $modul['version']; ?> (aktuell)
- <?php } else if (version_compare($modul['shop_version'], WPSG_VERSION) > 0) { ?>
- <?php echo wpsg_translate(__('neue Version verfügbar (<a href="#1#">wpShopGermany Update</a> notwendig)', 'wpsg'), WPSG_URL_WP.'wp-admin/plugins.php'); ?>
- <?php } else if (version_compare($modul['version'], $modul['version_local']) > 0) { ?>
- <?php echo wpsg_translate(__('neue Version verfügbar: <a href="#1#">installiere #2#</a>', 'wpsg'), WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Admin&action=registrierung&noheader=1&do=installModul&modul='.$modul['key'], $modul['version']); ?>
- <?php } else { ?>
- <?php echo $modul['version']; ?>
- <?php } ?>
-
- </td>
- </tr>
+ </td>
+ </tr>
+ </tbody>
<?php } ?>
</table>
<?php } else { ?>
<?php echo __('Module konnten aufgrund fehlender SOAP Unterstützung nicht geladen werden.', 'wpsg'); ?>
- <?php } ?>
+ <?php } ?>
+
</div>
</div>
|
