Config page

All that is left is we carry current config values

FossilOrigin-Name: d91f87afec897d986b251b80428e97355244c4307d440f8aea9c29803f171755
This commit is contained in:
nekobit 2022-08-18 22:34:11 +00:00
parent dfd49db8d3
commit 5f32afa0cd
1 changed files with 16 additions and 2 deletions

View File

@ -9,12 +9,26 @@ use template_helpers 'to_template';
sub general
{
my ($ssn, $data) = @_;
my %vars = (
prefix => '',
ssn => $ssn,
);
to_template(\%vars, \$data->{'config_general.tt'});
}
sub appearance
{
my ($ssn, $data) = @_;
my %vars = (
prefix => '',
ssn => $ssn,
);
to_template(\%vars, \$data->{'config_appearance.tt'});
}
1;