commit 14b6f81d119a1a481544c842a4acefef7dbaf027
parent 03d2ed45b67ebad87a0c6938d7b3fb71748ed05e
Author: markseu <mark2011@mayberg.se>
Date: Fri, 14 Oct 2022 16:55:10 +0200
Updated installation files
Diffstat:
3 files changed, 11 insertions(+), 9 deletions(-)
diff --git a/system/extensions/install-language.bin b/system/extensions/install-language.bin
Binary files differ.
diff --git a/system/extensions/update-current.ini b/system/extensions/update-current.ini
@@ -121,11 +121,11 @@ system/themes/stockholm-opensans-light.woff: stockholm-opensans-light.woff, crea
system/themes/stockholm-opensans-regular.woff: stockholm-opensans-regular.woff, create, update, careful
Extension: Update
-Version: 0.8.83
+Version: 0.8.84
Description: Keep your website up to date.
DocumentationUrl: https://github.com/annaesvensson/yellow-update
DownloadUrl: https://github.com/datenstrom/yellow-extensions/raw/main/downloads/update.zip
-Published: 2022-10-12 10:24:08
+Published: 2022-10-14 10:56:05
Developer: Anna Svensson
Tag: feature
system/extensions/update.php: update.php, create, update
diff --git a/system/extensions/update.php b/system/extensions/update.php
@@ -2,7 +2,7 @@
// Update extension, https://github.com/annaesvensson/yellow-update
class YellowUpdate {
- const VERSION = "0.8.83";
+ const VERSION = "0.8.84";
const PRIORITY = "2";
public $yellow; // access to API
public $extensions; // number of extensions
@@ -837,13 +837,15 @@ class YellowUpdate {
return array($fileNameSource, $fileNameDestination);
}
- // Return extension description including developer/designer/translator
+ // Return extension description including responsible developer/designer/translator
public function getExtensionDescription($key, $value) {
- $description = $text = $value->isExisting("description") ? $value->get("description") : "No description available.";
- if ($value->isExisting("developer")) $description = "$text Developed by ".$value["developer"].".";
- if ($value->isExisting("designer")) $description = "$text Designed by ".$value["designer"].".";
- if ($value->isExisting("translator")) $description = "$text Translated by ".$value["translator"].".";
- return $description;
+ $description = $responsible = "";
+ if ($value->isExisting("description")) $description = $value->get("description");
+ if ($value->isExisting("developer")) $responsible = "Developed by ".$value["developer"].".";
+ if ($value->isExisting("designer")) $responsible = "Designed by ".$value["designer"].".";
+ if ($value->isExisting("translator")) $responsible = "Translated by ".$value["translator"].".";
+ if (empty($description)) $description = "No description available.";
+ return "$description $responsible";
}
// Return extension documentation