]> git.mxchange.org Git - friendica.git/commit
Wrap each addon settings form in their own form tag
authorHypolite Petovan <hypolite@mrpetovan.com>
Mon, 28 Jun 2021 02:11:45 +0000 (22:11 -0400)
committerHypolite Petovan <hypolite@mrpetovan.com>
Mon, 28 Jun 2021 03:15:27 +0000 (23:15 -0400)
commitefff254a3a001ba1205cfef41a257d72dc8115a3
tree52add91bb698eda1b9c46b1d2d2ce122419ad39e
parentfaac5b71ce210086826e395283233d1d82892398
Wrap each addon settings form in their own form tag

- The single form tag was preventing a given addon settings to be saved if another addon had an empty required field.
- Instead of concatenating the addon form HTML through Hook::callAll, we loop manually through the hooks, appending the HTML to an array.
mod/settings.php
view/templates/settings/addons.tpl
view/theme/frio/templates/settings/addons.tpl