Sort icons for templates

This commit is contained in:
SimonFair
2024-01-15 23:38:22 +00:00
parent b7bdde1f18
commit 797e7cddaf

View File

@@ -25,6 +25,7 @@ Markdown="false"
if (is_file($templateslocation)){
$arrAllTemplates["User-templates"] = "";
$ut = json_decode(file_get_contents($templateslocation),true) ;
if (is_array($ut)) ksort($ut,SORT_NATURAL);
$arrAllTemplates = array_merge($arrAllTemplates, $ut);
}