refactor(admin): move the settings pages to Twig
The system settings, the module permissions and the antiflood settings become
@admin/settings.twig, @admin/modules-access.twig and @admin/antiflood.twig; the
three controllers return ViewResponse and drop the Render dependency.
- none of the three receives the whole johncms config any more: each gets the
values its form actually edits
- the current time of the site was computed in the template with date() and
now arrives as a fact
- the six permission blocks of the modules page were copies of one another and
became a loop over the modules the controller describes
@admin/settings.twig, @admin/modules-access.twig and @admin/antiflood.twig; the
three controllers return ViewResponse and drop the Render dependency.
- none of the three receives the whole johncms config any more: each gets the
values its form actually edits
- the current time of the site was computed in the template with date() and
now arrives as a fact
- the six permission blocks of the modules page were copies of one another and
became a loop over the modules the controller describes