mirror of
https://github.com/unraid/webgui.git
synced 2026-01-28 04:29:15 -06:00
Merge pull request #673 from bergware/mutli-language
Added 'beta' version to previous OS display
This commit is contained in:
@@ -668,6 +668,7 @@ $(function() {
|
||||
var status = $(this).is(':checked');
|
||||
toggleRows('advanced', status, 'basic');
|
||||
load_contOverview();
|
||||
$("#catSelect").dropdownchecklist("destroy");
|
||||
$("#catSelect").dropdownchecklist({emptyText:'_(Select categories)_...', maxDropHeight:200, width:300, explicitClose:'..._(close)_'});
|
||||
});
|
||||
});
|
||||
@@ -760,7 +761,7 @@ _(Repository)_:
|
||||
<div markdown="1" class="<?=$authoring?>">
|
||||
_(Categories)_:
|
||||
: <input type="hidden" name="contCategory">
|
||||
<select id="catSelect" multiple="multiple" style="display:none" onchange="prepareCategory();">
|
||||
<select id="catSelect" size="1" multiple="multiple" style="display:none" onchange="prepareCategory();">
|
||||
<optgroup label="_(Categories)_">
|
||||
<option value="Backup:">_(Backup)_</option>
|
||||
<option value="Cloud:">_(Cloud)_</option>
|
||||
|
||||
@@ -30,7 +30,7 @@ if (file_exists('/boot/previous/changes.txt')) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
$branch = strpos($version,'rc')===false ? 'Stable' : 'Next';
|
||||
$branch = strpos($version,'rc')!==false ? 'Next' : (strpos($version,'beta')!==false ? 'Beta' : 'Stable');
|
||||
}
|
||||
?>
|
||||
<style>
|
||||
|
||||
@@ -308,7 +308,7 @@ _(IPv6 address)_:
|
||||
|
||||
_(IPv6 default gateway)_:
|
||||
: <input type="text" name="GATEWAY6:0" maxlength="39" value="<?=$ethX["GATEWAY6:0"]?>" pattern="<?=$validIP6?>" title="_(IPv6 address nnnn:xxxx::yyyy)_">
|
||||
<input type="text" name="METRIC6:0" min="0" max="9999" value="<?=$ethX["METRIC6:0"]?>" class="slim"><i class="fa fa-sort-numeric-asc"></i> *_(optional metric (lowest is preferred))_*
|
||||
<input type="text" name="METRIC6:0" min="0" max="9999" value="<?=$ethX["METRIC6:0"]?>" class="slim"><i class="fa fa-sort-numeric-asc"></i> *_(optional metric (lowest is preferred, 0 is no default gateway))_*
|
||||
|
||||
:help137
|
||||
> Greyed out when using automatic IP assignment. Otherwise specify here the IPv6 address of your router.
|
||||
|
||||
@@ -14,7 +14,5 @@
|
||||
$docroot = $docroot ?? $_SERVER['DOCUMENT_ROOT'] ?: "/usr/local/emhttp";
|
||||
|
||||
$lang = $_POST['lang'] ?? '';
|
||||
if ( ! is_file("/boot/config/plugins/dynamix/dynamix.cfg") )
|
||||
copy("$docroot/plugins/dynamix/default.cfg","/boot/config/plugins/dynamix/dynamix.cfg");
|
||||
exec("sed -ri 's/^(locale=\")[^\"]*/\\1$lang/' /boot/config/plugins/dynamix/dynamix.cfg");
|
||||
exec("sed -ri 's/^(locale=\")[^\"]*/\\1$lang/' /boot/config/plugins/dynamix/dynamix.cfg 2>/dev/null");
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user