mikuli.cz

:)
git clone https://git.sr.ht/~ashymad/mikuli.cz
Log | Files | Refs

commit 78458a414ed0a4281ba4f6bd61b1ee3863753441
parent 197f05b5d416360c4e773ad75f0de6fe6eee91cd
Author: markseu <mark2011@mayberg.se>
Date:   Mon,  7 Dec 2020 15:36:28 +0100

Updated core, languages sorted by description

Diffstat:
Msystem/extensions/core.php | 8+++++++-
Msystem/extensions/update-current.ini | 4++--
2 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/system/extensions/core.php b/system/extensions/core.php @@ -2,7 +2,7 @@ // Core extension, https://github.com/datenstrom/yellow-extensions/tree/master/source/core class YellowCore { - const VERSION = "0.8.36"; + const VERSION = "0.8.37"; const RELEASE = "0.8.16"; public $page; // current page public $content; // content files @@ -1791,6 +1791,12 @@ class YellowLanguage { } } } + $callback = function ($a, $b) { + $string1 = isset($a["languageDescription"]) ? $a["languageDescription"] : ""; + $string2 = isset($b["languageDescription"]) ? $b["languageDescription"] : ""; + return strnatcmp($string1, $string2); + }; + $this->settings->uasort($callback); } // Set current language diff --git a/system/extensions/update-current.ini b/system/extensions/update-current.ini @@ -21,11 +21,11 @@ Tag: feature system/extensions/command.php: command.php, create, update Extension: Core -Version: 0.8.36 +Version: 0.8.37 Description: Core functionality of the website. HelpUrl: https://github.com/datenstrom/yellow-extensions/tree/master/source/core DownloadUrl: https://github.com/datenstrom/yellow-extensions/raw/master/zip/core.zip -Published: 2020-11-28 14:32:31 +Published: 2020-12-07 15:28:16 Developer: Datenstrom Tag: feature system/extensions/core.php: core.php, create, update