my $format = $form->{"format"} eq "html" ? "html" : "tex";
$form->{"title"} = $form->{"type"} eq "stylesheet" ? $locale->text("Edit the stylesheet") : $locale->text("Edit templates");
my $format = $form->{"format"} eq "html" ? "html" : "tex";
$form->{"title"} = $form->{"type"} eq "stylesheet" ? $locale->text("Edit the stylesheet") : $locale->text("Edit templates");