mirror of
https://github.com/unraid/webgui.git
synced 2026-01-13 21:20:01 -06:00
Multi-language support
Fix regression errors
This commit is contained in:
@@ -77,9 +77,9 @@ function loadlist(id) {
|
||||
$(function() {
|
||||
loadlist();
|
||||
$('#plugin_tree').fileTree({root:'/boot/',filter:'plg'}, function(file) {$('#plugin_file').val(file);});
|
||||
$('.tabs').append("<span id='updateall' class='status vhshift' style='display:none;margin-left:12px'><input type='button' value='_(Update All Plugins)_' onclick='openBox(\"/plugins/dynamix.plugin.manager/scripts/plugin&arg1=updateall\",\"_(Update All Plugins)_\",600,600,true,\"loadlist\",\":return\")'></span>");
|
||||
$('.tabs').append("<span id='updateall' class='status vhshift' style='display:none;margin-left:12px'><input type='button' value='<?=my_lang('Update All Plugins',4)?>' onclick='openBox(\"/plugins/dynamix.plugin.manager/scripts/plugin&arg1=updateall\",\"<?=my_lang('Update All Plugins',4)?>\",600,600,true,\"loadlist\",\":return\")'></span>");
|
||||
<?if ($check):?>
|
||||
$('.tabs').append("<span id='checkall' class='status vhshift'><input type='button' value='_(Check For Updates)_' onclick='openBox(\"/plugins/dynamix.plugin.manager/scripts/plugin&arg1=checkall\",\"_(Plugin Update Check)_\",600,600,true,\"loadlist\",\":return\")' disabled></span>");
|
||||
$('.tabs').append("<span id='checkall' class='status vhshift'><input type='button' value='<?=my_lang('Check For Updates',4)?>' onclick='openBox(\"/plugins/dynamix.plugin.manager/scripts/plugin&arg1=checkall\",\"<?=my_lang('Plugin Update Check',4)?>\",600,600,true,\"loadlist\",\":return\")' disabled></span>");
|
||||
<?endif;?>
|
||||
});
|
||||
</script>
|
||||
|
||||
@@ -85,7 +85,7 @@ function loadlist(id) {
|
||||
$(function() {
|
||||
loadlist();
|
||||
<?if ($check):?>
|
||||
$('.tabs').append("<span class='status vhshift'><input type='button' id='checkos' value="_(Check for Updates)_" onclick='openBox(\"/plugins/dynamix.plugin.manager/scripts/plugin&arg1=checkos\",\"_(System Update Check)_\",600,600,true,\"loadlist\",\":return\")' disabled></span>");
|
||||
$('.tabs').append("<span class='status vhshift'><input type='button' id='checkos' value='<?=my_lang('Check for Updates',4)?>' onclick='openBox(\"/plugins/dynamix.plugin.manager/scripts/plugin&arg1=checkos\",\"<?=my_lang('System Update Check',4)?>\",600,600,true,\"loadlist\",\":return\")' disabled></span>");
|
||||
<?endif;?>
|
||||
});
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user