mirror of
https://github.com/uroni/urbackup_backend.git
synced 2025-10-26 11:36:50 +00:00
Fix web interface for new advanced setting
This commit is contained in:
parent
018243dc88
commit
2adeabdfbc
File diff suppressed because one or more lines are too long
@ -14,7 +14,9 @@ fs.writeFileSync(templates_file, '');
|
||||
|
||||
fs.readdir('.', function(err,files){
|
||||
if(err) throw err;
|
||||
files.forEach(function(file){
|
||||
files.sort(function(a, b) {
|
||||
return a < b ? -1 : 1;
|
||||
}).forEach(function(file){
|
||||
if(getExtension(file)=="htm")
|
||||
{
|
||||
fs.readFile(file, 'utf8', function (err,data) {
|
||||
|
||||
@ -325,7 +325,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{tUse symlinks during incremental file backups}:</td>
|
||||
<td><input type="text" size="10" id="use_incremental_symlinks" value="{use_incremental_symlinks}"/></td>
|
||||
<td><input type="checkbox" id="use_incremental_symlinks" value="false" {use_incremental_symlinks}/></td>
|
||||
</tr>
|
||||
{global_settings_end|s}
|
||||
<tr>
|
||||
|
||||
@ -1349,6 +1349,7 @@ function show_settings2(data)
|
||||
data.settings.backup_database=getCheckboxValue(data.settings.backup_database);
|
||||
data.settings.use_tmpfiles=getCheckboxValue(data.settings.use_tmpfiles);
|
||||
data.settings.use_tmpfiles_images=getCheckboxValue(data.settings.use_tmpfiles_images);
|
||||
data.settings.use_incremental_symlinks=getCheckboxValue(data.settings.use_incremental_symlinks);
|
||||
|
||||
|
||||
data.settings.allow_config_paths=getCheckboxValue(data.settings.allow_config_paths);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user