mirror of
https://github.com/unraid/webgui.git
synced 2026-03-06 00:18:57 -06:00
Multi-language support
This commit is contained in:
@@ -17,5 +17,10 @@ Markdown="false"
|
||||
*/
|
||||
?>
|
||||
<?
|
||||
// add vm translations (if needed)
|
||||
if (substr($_SERVER['REQUEST_URI'],0,4) != '/VMs') {
|
||||
$vms = "$docroot/languages/$locale/vms.dot";
|
||||
if (file_exists($vms)) $language = array_merge($language,unserialize(file_get_contents($vms)));
|
||||
}
|
||||
eval('?>'.parse_file("$docroot/plugins/dynamix.vm.manager/include/VMedit.php",false));
|
||||
?>
|
||||
@@ -17,5 +17,10 @@ Markdown="false"
|
||||
*/
|
||||
?>
|
||||
<?
|
||||
// add vm translations (if needed)
|
||||
if (substr($_SERVER['REQUEST_URI'],0,4) != '/VMs') {
|
||||
$vms = "$docroot/languages/$locale/vms.dot";
|
||||
if (file_exists($vms)) $language = array_merge($language,unserialize(file_get_contents($vms)));
|
||||
}
|
||||
eval('?>'.parse_file("$docroot/plugins/dynamix.vm.manager/include/VMedit.php",false));
|
||||
?>
|
||||
Reference in New Issue
Block a user