mirror of
https://github.com/unraid/webgui.git
synced 2026-02-18 06:58:47 -06:00
New feature: Favorites
This commit is contained in:
@@ -71,7 +71,7 @@ $path = substr(strtok(_var($_SERVER,'REQUEST_URI'),'?'),1);
|
||||
$task = strtok($path,'/');
|
||||
|
||||
// Add translation for favorites page
|
||||
if ($task=='Favorites') {
|
||||
if ($locale && $task=='Favorites') {
|
||||
foreach(['settings','tools'] as $more) {
|
||||
$text = "$docroot/languages/$locale/$more.txt";
|
||||
if (file_exists($text)) {
|
||||
|
||||
Reference in New Issue
Block a user