Multi-language support

This commit is contained in:
bergware
2020-05-06 17:29:59 +02:00
parent 3c2bdead7a
commit c0d4ce8a32
+1 -1
View File
@@ -25,7 +25,7 @@ $keys = parse_ini_file('webGui/include/languages.key',false,INI_SCANNER_RAW);
$head = '<i class="fa fa-fw fa-trash" title="_(Remove the installed language)_" style="cursor:pointer" onclick="remove(&quot;';
$tail = '&quot;)"></i>';
foreach (glob("$plugins/dynamix.*.xml",GLOB_NOSORT) as $xml_file) $installed[] = language('LanguageLocal',$xml_file).$head.str_replace('dynamix.','',basename($xml_file,'.xml')).$tail;
foreach (glob("$plugins/lang-*.xml",GLOB_NOSORT) as $xml_file) $installed[] = language('LanguageLocal',$xml_file).$head.str_replace('lang-','',basename($xml_file,'.xml')).$tail;
?>
<link type="text/css" rel="stylesheet" href="<?autov('/webGui/styles/jquery.switchbutton.css')?>">
<style>