mirror of
https://github.com/unraid/webgui.git
synced 2026-02-23 02:39:28 -06:00
Sort icons for templates
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user