summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Schmitzer <noreply@maennchen1.de>2019-12-04 06:15:52 +0000
committerDaniel Schmitzer <noreply@maennchen1.de>2019-12-04 06:15:52 +0000
commit6c4a661e24a086f83af7f14e774433e7e249f977 (patch)
tree370a33a703ee52eb016c15cf4599916e31652ea2
parent72b6021e0cf9709bd9e1f8facb4a421a1bb47068 (diff)
- Bugfix: Es wird nicht mehr in der Lizenzverwaltung "Es ist eine neue Version verfügbar" angezeigt wenn noch keine Version des Moduls installiert ist
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@7632 0d5edaf7-2b12-4e95-93f4-047927463d4b
-rw-r--r--views/admin/licence.phtml6
-rw-r--r--views/css/admin.css2
2 files changed, 6 insertions, 2 deletions
diff --git a/views/admin/licence.phtml b/views/admin/licence.phtml
index 351c3ff..5d3768d 100644
--- a/views/admin/licence.phtml
+++ b/views/admin/licence.phtml
@@ -253,8 +253,12 @@
}
else if (version_compare($modul_info['version'], $this->shop->arAllModule[$modul_key]->version) > 0)
{
+
+ if ($this->shop->arAllModule[$modul_key]->version !== null) {
- echo ' - <strong class="wpsg_error">'.__('neue Version verfügbar', 'wpsg').'</strong>';
+ echo ' - <strong class="wpsg_error">'.__('neue Version verfügbar', 'wpsg').'</strong>';
+
+ }
if ($modul_info['active'] === true)
{
diff --git a/views/css/admin.css b/views/css/admin.css
index ac1b113..0332454 100644
--- a/views/css/admin.css
+++ b/views/css/admin.css
@@ -68,7 +68,7 @@
.wp-admin #wpsg-bs select { max-width:100%; padding-right:0; line-height:initial; }
.wp-admin #wpsg-bs .checkbox input { margin-top:3px; width:15px; height:15px; }
-.wp-admin #wpsg-bs .checkbox input:before { margin:1px 0 0 1px; width:10px; height:10px; }
+.branch-5-3.wp-admin #wpsg-bs .checkbox input:before { margin:1px 0 0 1px; width:10px; height:10px; }
/* Allgemeine Klassen */
.wpsg_grey { color:#999999; }