[enh] New config panel

This commit is contained in:
ljf 2020-11-03 21:38:15 +01:00
parent 471d9abf2b
commit 17fe3b1f26

View file

@ -11,14 +11,18 @@ name = "Main configuration"
ask = "Here you can display a warning to user." ask = "Here you can display a warning to user."
type = "warning" type = "warning"
[main.config_file.outgoing_email] [main.config_file.from_email]
ask = "Outgoing email From" ask = "Outgoing email From"
type = "string" type = "string"
help = "Email from which comes email from this app" help = "Email from which comes email from this app"
pattern = "^[^@]+@[^@]+$"
source = "__FINALPATH__/conf/config.php"
[main.config_file.expiration] [main.config_file.expiration]
ask = "Default expiration" ask = "Default expiration"
type = "date" type = "date"
pattern = "^\d\d\d\d-\d\d-\d\d$"
source = "__FINALPATH__/conf/config.php"
[main.config_file.logo] [main.config_file.logo]
ask = "Outgoing email From" ask = "Outgoing email From"
@ -48,7 +52,7 @@ name = "Main configuration"
[advanced] [advanced]
name = "Advanced configuration" name = "Advanced configuration"
[manual.dns] [advanced.dns]
name = "DNS" name = "DNS"
[manual.dns.dns0] [manual.dns.dns0]